Agent skill

Goal Setter

by yunshu0909 in yunshu0909/yunshu_skillshub

把模糊诉求收敛成另一个 AI 能自主执行且可验收的 goal contract(scope / non-goals / success criteria / verification / stop conditions)。本 skill 只写目标契约,绝不替用户执行任务。触发硬条件:这份 goal 是要交给别人跑的——subagent、Codex、另一个 AI 会话或另一个人。用于写…

MITAuto-check passedProduct & Project Management

Install Goal Setter

skills CLI
$ npx skills add yunshu0909/yunshu_skillshub --skill goal-setter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yunshu0909/yunshu_skillshub goal-setter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yunshu0909/yunshu_skillshub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/goal-setter .claude/skills/goal-setter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
goal-setter
GitHub stars
768
Token cost
~642 tokens
SKILL.md length
104 words
Files
2
Skills in repo
25
Repo updated
First seen
Licence
MIT

At a glance

把模糊诉求收敛成另一个 AI 能自主执行且可验收的 goal contract(scope / non-goals / success criteria / verification / stop conditions)。本 skill 只写目标契约,绝不替用户执行任务。触发硬条件:这份 goal 是要交给别人跑的——subagent、Codex、另一个 AI 会话或另一个人。用于写…

  • Works in 4 steps: 先理解诉求和环境 → 推荐式追问 → 按风险选择输出形态 → …
  • Tasks that involve PRD writing
  • SKILL.md covers 工作流, 高风险任务规则, 弱验证任务规则 and 交付格式
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Goal Setter is an agent skill from yunshu0909/yunshu_skillshub. 把模糊诉求收敛成另一个 AI 能自主执行且可验收的 goal contract(scope / non-goals / success criteria / verification / stop conditions)。本 skill 只写目标契约,绝不替用户执行任务。触发硬条件:这份 goal 是要交给别人跑的——subagent、Codex、另一个 AI 会话或另一个人。用于写 goal、优化 goal、改 handoff prompt,或把"今天做完、尽量优化、帮我研究并执行"这类请求变成执行方不会乱猜、不会越界的任务契约。不适用于:自己团队的需求管理和版本拆解(用 issue-pool——它产出的是给人开工的 task,不是给 AI 的契约)、整页界面方案(用 page-solution-design)、PRD/验收标准/测试用例文档(用 prd-test-writer)、框架计划和版本路线(用 issue-pool)、以及用户其实是想让你直接把这件事做了的情况——那就直接做,不要走本 skill 把活变成一份文档。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Product & Project Management, covering PRD writing and Subagents. The repository describes itself as: 云舒精选的 Claude Code Skills 集合,提升开发和产品管理效率. The licence is MIT.

When your agent uses it

  • Tasks that involve PRD writing
  • Tasks that involve Subagents

Example prompts

  • “今天做完、尽量优化、帮我研究并执行”
  • “/goal-setter”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 先理解诉求和环境
  2. 推荐式追问
  3. 按风险选择输出形态
  4. 写 goal contract

What it can do on your machine

Read from SKILL.md and the folder at commit da0d31f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Goal Setter loads about 642 tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 104 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~123
When it runs · the whole SKILL.md, loaded when a task matches
~642

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yunshu0909/yunshu_skillshub at commit da0d31f, republished under its MIT licence (© yunshu0909). 104 words, ~642 tokens.

Download SKILL.mdSave it as .claude/skills/goal-setter/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
goal-setter
description
把模糊诉求收敛成另一个 AI 能自主执行且可验收的 goal contract(scope / non-goals / success criteria / verification / stop conditions)。本 skill 只写目标契约,**绝不替用户执行任务**。触发硬条件:这份 goal 是要交给别人跑的——subagent、Codex、另一个 AI 会话或另一个人。用于写 goal、优化 goal、改 handoff prompt,或把"今天做完、尽量优化、帮我研究并执行"这类请求变成执行方不会乱猜、不会越界的任务契约。不适用于:自己团队的需求管理和版本拆解(用 issue-pool——它产出的是给人开工的 task,不是给 AI 的契约)、整页界面方案(用 page-solution-design)、PRD/验收标准/测试用例文档(用 prd-test-writer)、框架计划和版本路线(用 issue-pool)、以及用户其实是想让你**直接把这件事做了**的情况——那就直接做,不要走本 skill 把活变成一份文档。
metadata.status
active
metadata.status_updated_at
2026-10-06

Goal Setter

目标是把用户的真实诉求变成另一个 AI 可以直接执行的 goal contract。不要替用户执行任务;只负责收敛目标、边界、验收和停止条件。

核心判断:好 goal 不是更长,而是让执行 agent 少猜、少越界、可证明完成。

工作流

1. 先理解诉求和环境

先读取用户给出的路径、材料、仓库上下文、现有文档或对话事实。不要问能从环境发现的问题。

快速判断任务类型:

  • 低风险:信息整理、小范围代码修改、明确测试命令、无账号/生产/隐私/外部成本。
  • 高风险:生产、部署、真实账号、付费 API、密钥、隐私数据、线上配置、不可逆操作。
  • 弱验证:周报、研究、SEO、增长、PRD、内容总结、策略建议、没有天然测试命令的任务。
  • 探索型:用户还不确定目标,只描述了模糊愿望或问题。

如果用户给了时间词,如“今天”“明天”“尽快”“先上一版”,把它转成明确交付边界和验收时间点,不要保留模糊表达。

2. 推荐式追问

每轮最多问 1-3 个高影响问题。优先问会改变 scope、权限、验收或停止条件的问题。

提问规则:

  • 给出推荐默认,不把空白选择丢给用户。
  • 用户说“你定”“都行”时,采用保守默认,并在最终 goal 的 Assumptions 中写明。
  • 不问实现细节能从代码或材料中发现的问题。
  • 不为低风险任务过度追问;能安全默认就直接产出。

常见高影响问题:

  • 最终交付物是什么:代码改动、报告、PRD、测试结果、上线方案,还是可复制 prompt。
  • AI 是否允许改文件、跑测试、联网、调用真实账号、部署或使用付费 API。
  • 什么证据算完成:测试通过、截图、diff、报告、数据表、人工确认项。
  • 哪些事情明确不做:上线、真 key、真实用户数据、范围外重构、商业承诺。
3. 按风险选择输出形态

低风险任务用短格式:

markdown
Goal:
Scope:
Done When:
Verification:

标准或高风险任务用完整格式:

markdown
Objective:
Context:
Scope:
Non-goals:
Autonomy & Permissions:
Constraints:
Success Criteria:
Verification Evidence:
Stop Conditions:
Deliverables:
Assumptions:

不要机械套完整模板。只有当风险、模糊度或验收难度需要时才展开。

4. 写 goal contract

最终输出必须能直接复制给另一个 AI 执行。使用命令式、具体、可验收的语言。

必须写清:

  • 本轮要完成什么。
  • 本轮不做什么。
  • AI 能自主做哪些动作。
  • 哪些动作必须停下来问用户。
  • 完成后要交付什么证据。

避免这些坏写法:

  • “尽量优化”“研究一下然后执行”“效果好一点”“上线一版看看结果”。
  • 没有路径、没有范围、没有验收、没有权限边界。
  • 把用户价值判断和 AI 执行细节混在一起。

高风险任务规则

如果涉及生产、部署、真实账号、真实 key、付费 API、用户数据、财务、法律、医疗或不可逆操作,必须在 goal 中写明:

  • 不使用真实密钥、真实用户数据或真实付费 API,除非用户明确授权。
  • 不部署、不改生产、不改真实配置,除非用户明确授权。
  • 可以使用隔离副本、mock、fixture、dry-run、测试账号或本地环境。
  • 遇到账号、权限、密钥、生产配置、数据删除、外部费用或合规风险时停止并询问用户。
  • 验收证据必须避免泄露密钥、token、隐私数据和内部凭据。

弱验证任务规则

如果任务没有天然测试命令,必须补足事实和验收规则:

  • 标明事实来源:会议、任务、风险、文档、代码、用户材料、网页来源等。
  • 不编造未提供的成果、数字、负责人、日期、承诺或外部结论。
  • 模糊信息必须进入“待确认”或明确标为假设。
  • 输出必须包含可检查证据,如来源标注、覆盖清单、对照表、审阅 checklist 或验收标准。

交付格式

默认先给最终 goal,再给极短说明。不要输出长篇过程分析。

推荐结构:

markdown
下面是可以直接交给 AI 执行的 goal:

[goal contract]

我采用的默认假设:
- ...

如果用户明确要求“只要 goal”,只输出 goal contract。

如果用户要求比较多个版本,输出:

  • 一句话版。
  • 结构化版。
  • 推荐使用哪一个和原因。

© yunshu0909, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in agent/goal-setter of yunshu0909/yunshu_skillshub.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit da0d31f

Compare with similar skills

Goal Setter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Goal Setter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Goal Setter this skillyunshu0909/yunshu_skillshub768—~642Automated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Reviewfossasia/eventyay-interpretation1.6k35 repos~996Automated safety check: PassApache-2.0
Graphsmallnest/goal-workflow291—~3.9kAutomated safety check: PassMIT
Enrichmenteser/stack128—~642Automated safety check: PassCustom licence
Utility Pm Criticproduct-on-purpose/pm-skills716—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Review

    fossasia/eventyay-interpretation

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match…

    1.6k GitHub starsUsed in 35 repos~996 tokens
    Product & Project ManagementAuto-check passed
  • Graph

    smallnest/goal-workflow

    Graph engineering for parallel task execution: convert a task, PRD, SPEC, or issue set into a dependency graph (DAG), layer it into supersteps, then implement each independent node concurrently with…

    291 GitHub stars~3.9k tokensUpdated 27 days ago
    Product & Project ManagementAuto-check passed
  • Enrichment

    eser/stack

    Interviews the user about a plan, decision or idea in rounds, level by level down a decision tree, until both share one understanding; facts are researched by sub-agents, decisions stay with the user.

    128 GitHub stars~642 tokensUpdated 7 days ago
    Product & Project ManagementAuto-check passed
  • Utility Pm Critic

    product-on-purpose/pm-skills

    Run adversarial review on a PM artifact via the pm-critic sub-agent.

    716 GitHub stars~1.5k tokensUpdated 3 days ago
    Product & Project ManagementAuto-check passed
  • Cxas Agent Foundry

    GoogleCloudPlatform/cxas-scrapi

    End-to-end GECX/CXAS/CES conversational agent lifecycle -- build agents from requirements (PRD-to-agent), create and run evals (goldens, simulations, tool tests, callback tests), debug failures, and…

    107 GitHub stars~2.4k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from yunshu0909/yunshu_skillshub

All 25 skills in this repo
  • Dual Agent Collaboration

    yunshu0909/yunshu_skillshub

    让 Codex 与 Claude Code 通过本机 CLI 组成“主执行者 + 独立审查者”的对称协作闭环。用于用户要求两个模型一起完成、交叉校核、独立审查、修到 ACK,或任务涉及产品需求收敛、复杂方案、跨模块开发、迁移、安全、重要重构和高质量交付时;无论从 Codex 还是 Claude Code 启动,都由当前模型主持,并完整调用另一方完成需求挑战、方案门禁、实现冷审和最终验收。

    768 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Image Assistant

    yunshu0909/yunshu_skillshub

    配图助手 - 把文章/模块内容转成统一风格、少字高可读的 16:9 信息图提示词;先定“需要几张图+每张讲什么”,再压缩文案与隐喻,最后输出可直接复制的生图提示词并迭代。

    768 GitHub starsUsed in 1 repo~536 tokens
    Auto-check passed
  • Page Solution Design

    yunshu0909/yunshu_skillshub

    和用户一起敲定一个前端页面的整页方案(三层法:先定这页给用户什么,再定含哪几样怎么排,最后才是长什么样),最后打成一个定稿包(含高保真全状态与交互流程图)交给开发。触发:用户对一个页面说「想重做 / 重新设计 / 整页不对 / 太满 / 说不清具体改哪」,或「我们讨论一下这页怎么设计」。覆盖三种情形:① 已有页面整页重做;②「替换」——新方案占用同一个入口(同一路由 /…

    768 GitHub stars~2.7k tokensUpdated 5 days ago
    Auto-check passed
  • Backend Logic Design

    yunshu0909/yunshu_skillshub

    和用户一起把一个功能「看不见的部分」敲定:数据存哪、谁写谁读、怎么加载、怎么保存、默认值和升级、核心执行规则、出问题时怎么办、旧东西怎么迁。每条规则带编号、案例和状态(已定 / 方案里有但你没拍板 / 待你定 / AI 定),用户只回答带案例的新选择题、过目没拍过板的规则;给用户看的是按「你会问的问题」分组的问答卡片(最绕的逻辑配可点的模拟器);最后请另一家模型只读查边界,问题闭环后封成后端逻辑…

    768 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed
  • Article Study

    yunshu0909/yunshu_skillshub

    带用户精读一篇文章/文档并真正学透(不是出摘要)。五步:抽干货 → 切讲次 → 每讲跑「学-考-讲」循环 → 对号入座 → 实操+测验+讲错题+蒸馏。每讲产出 HTML 课件 + 笔记落盘;讲完必考一次,用户复述后必须挑不精确处拧紧;抽象概念上可交互演示(能点能跑);全程用用户自己的业务场景当案例;学完出多题型自动判分测验卷,最后把收获蒸馏回用户的工具。核心触发条件是用户要的是"学会"而不是"要…

    768 GitHub stars~964 tokensUpdated 5 days ago
    Auto-check passed
  • Issue Pool

    yunshu0909/yunshu_skillshub

    Issue 池全生命周期管理(开发范式 v1 规划段)。核心是一条 issue 驱动的流程:用户随手丢想法,你把糊的 issue 变成能开工的 task——产出的是“问题定义”,不是“解决方案实现”;载体就是仓库根的 ISSUES.md。五个动作:记、并、拆、转、pending。规划规模只区分 single-task(一个版本能交付)与 roadmap(需要多批滚动),不得使用…

    768 GitHub stars~996 tokensUpdated 5 days ago
    Auto-check passed

Questions about Goal Setter

What does Goal Setter do?

把模糊诉求收敛成另一个 AI 能自主执行且可验收的 goal contract(scope / non-goals / success criteria / verification / stop conditions)。本 skill 只写目标契约,绝不替用户执行任务。触发硬条件:这份 goal 是要交给别人跑的——subagent、Codex、另一个 AI 会话或另一个人。用于写…. Goal Setter is an agent skill from yunshu0909/yunshu_skillshub.

When should I use Goal Setter?

Goal Setter fits situations like: tasks that involve PRD writing; tasks that involve Subagents.

How do I install Goal Setter in Claude Code?

Run `npx skills add yunshu0909/yunshu_skillshub --skill goal-setter -a claude-code`. Or copy the skill folder (agent/goal-setter in yunshu0909/yunshu_skillshub) into .claude/skills/goal-setter in your project. Claude Code loads it when a task matches its description.

How do I install Goal Setter in Codex?

Run `npx skills add yunshu0909/yunshu_skillshub --skill goal-setter -a codex`. Or copy the skill folder (agent/goal-setter in yunshu0909/yunshu_skillshub) into .agents/skills/goal-setter in your project. Codex loads it when a task matches its description.

Can I use Goal Setter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yunshu0909/yunshu_skillshub --skill goal-setter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/goal-setter, .gemini/skills/goal-setter, .github/skills/goal-setter and .opencode/skills/goal-setter in your project.

What does Goal Setter need to run?

SKILL.md names no scripts, command-line tools or credentials: Goal Setter is instructions for the agent only.

Does Goal Setter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Goal Setter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Goal Setter use?

Goal Setter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Goal Setter use?

About 642 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Goal Setter?

Skills that share tags, products or a category with Goal Setter: CCPM Project Management (automazeio/ccpm, 8.4k stars), Review (fossasia/eventyay-interpretation, 1.6k stars), Graph (smallnest/goal-workflow, 291 stars) and Enrichment (eser/stack, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Goal Setter?

yunshu0909 (a GitHub user) maintains it in yunshu0909/yunshu_skillshub, which has 768 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.

Source: yunshu0909/yunshu_skillshub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.