Codex Goal Decomposer
/install codex-goal-decomposer
Goal Decomposer
Turn one big goal into a short sequence of smaller goals that are concrete enough for goal mode to handle well.
Core rule
Do not send one vague multi-day objective into goal mode if it can be split into clearer checkpoints.
Workflow
- Read the user's real objective.
- Restate the final desired outcome in one sentence.
- Split it into 3-7 smaller goals.
- Prefer goals that are roughly 20-120 minutes of focused work.
- Keep each goal to one main deliverable or checkpoint.
- Preserve dependencies and execution order.
- For each smaller goal, define:
- title
- why it exists
- scope / constraints
- done condition
- validation method
- the exact
/goal ...command to start it
- If the original request is still too vague, ask for the one missing decision that blocks useful decomposition.
- If the task is too small for goal mode, say so and recommend normal execution instead.
Heuristics
A good sub-goal should have:
- one clear outcome
- a visible checkpoint
- a concrete validation step
- an obvious stop condition
Avoid sub-goals like:
- "keep improving the app"
- "clean up the codebase"
- "make it production ready"
Prefer sub-goals like:
- "make the project build cleanly on Node 22"
- "replace the old auth helper and pass auth tests"
- "write README setup steps and verify them on a fresh clone"
Output format
Use this structure unless the user requests another format.
Final objective
One sentence.
Recommended sub-goals
For each goal, include:
- Goal title
- Why: ...
- Scope: ...
- Done when: ...
- Validate with: ...
- Command:
/goal ...
Suggested execution order
Use a numbered list.
Notes
- Mention risky or ambiguous goals.
- Call out any goal that should be split again before execution.
- Say when a normal one-turn task is better than goal mode.
Goal command style
Write /goal commands so they include:
- the objective
- what to read first
- what not to change when relevant
- how to validate
- the stopping condition
Keep each command compact but specific.
Good pattern:
/goal Update the README setup section for this repo. Read README.md and package.json first. Do not change application code. Validate by checking the documented commands against the repo files. Stop when the README has accurate install, run, and example usage steps.
Boundaries
- Do not claim goal mode can handle arbitrary open-ended work well.
- Do not produce a giant backlog; produce the next useful chain.
- If the user wants execution too, first decompose, then recommend starting with the first sub-goal.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install codex-goal-decomposer - 安装完成后,直接呼叫该 Skill 的名称或使用
/codex-goal-decomposer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Codex Goal Decomposer 是什么?
Break a large, fuzzy, or long-running objective into smaller goal-mode tasks with clear scope, stop conditions, and validation steps. Use when the user wants... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。
如何安装 Codex Goal Decomposer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install codex-goal-decomposer」即可一键安装,无需额外配置。
Codex Goal Decomposer 是免费的吗?
是的,Codex Goal Decomposer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Codex Goal Decomposer 支持哪些平台?
Codex Goal Decomposer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Codex Goal Decomposer?
由 Song Seung Hu(@hanjo92)开发并维护,当前版本 v0.1.0。