一键导入
create-goals
Turn a freeform idea, brief, or discussion into a durable sequential goal plan under .agent/goals/ for later execution by slop-janitor goals run.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn a freeform idea, brief, or discussion into a durable sequential goal plan under .agent/goals/ for later execution by slop-janitor goals run.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute an approved .agent/goals plan through slop-janitor's goal runner, defaulting to .agent/goals/active when no explicit plan path is provided.
Create a long-horizon meta-plan from a user brief, PRD, RFC, or dictated discussion. Use when the user wants to capture a multi-slice project in a durable parent artifact before creating child ExecPlans.
Create an ExecPlan from a locked refactor decision, PRD, RFC, or detailed problem statement, following the repo's PLANS.md. Use when the user asks for an exec plan, execution plan, or ExecPlan, or wants a decided refactor turned into a step-by-step plan.
Review the latest implemented work item or completed ExecPlan with fresh eyes, fix obvious issues immediately, rerun verification, and record the result. Prefer the new `.agent/work/` workflow, but preserve backward-compatible support for older `.agent/done/` ExecPlans.
Read an existing ExecPlan, deeply analyze every referenced file and code path, and rewrite the plan with concrete, code-grounded improvements. Prefer work-item plans under `.agent/work/`, while preserving backward-compatible support for older singleton plan files.
Improves an existing ExecPlan with a two-wave subagent workflow: first specialized reviewers audit factual accuracy, adjacent code, design quality, validation, and self-containment, then closure reviewers hunt residual gaps after a provisional rewrite before the parent produces the final plan. Use when the user asks to improve an execplan with subagents, audit a plan using parallel reviewers, strengthen an execplan via delegation, or says "execplan-improve-subagents".
| name | create-goals |
| description | Turn a freeform idea, brief, or discussion into a durable sequential goal plan under .agent/goals/ for later execution by slop-janitor goals run. |
Create a minimal, ordered goal plan from the current conversation. This skill is interactive planning only. Do not implement code, run tests, or start executing the goals.
Turn the user's idea into a durable plan under .agent/goals/<id-slug>/:
brief.mdgoals.jsonledger.jsonlAlso point .agent/goals/active at the plan directory so the user can run or
invoke the approved plan without retyping its path.
The artifact is the source of truth. Codex thread goals are only the execution
context used later by slop-janitor goals run.
.agent/goals/<id-slug>/.brief.md as stable human-readable context.goals.json with an ordered goals array.ledger.jsonl with a plan_created event..agent/goals/active as a symlink to <id-slug>.goals.json must be a JSON object:
{
"id": "2026-05-03-my-goal-plan",
"title": "My goal plan",
"status": "active",
"active_goal_id": "goal-1",
"created_at": "2026-05-03T12:00:00Z",
"updated_at": "2026-05-03T12:00:00Z",
"goals": [
{
"id": "goal-1",
"title": "First goal",
"objective": "Concrete objective for Codex to pursue.",
"rationale": "Why this goal comes first.",
"scope": ["Included work"],
"non_goals": ["Explicitly excluded work"],
"stop_condition": "Concrete condition that ends this goal.",
"acceptance_criteria": ["Observable success criterion"],
"validation": ["Exact command, artifact, or inspection expected"],
"depends_on": [],
"status": "ready",
"result_summary": null,
"evidence": [],
"risks": ["Known risk"],
"assumptions": ["Planning assumption"]
}
]
}
Allowed plan statuses: active, blocked, completed, abandoned.
Allowed goal statuses: ready, active, blocked, completed, failed,
skipped.
Set active_goal_id to the first executable goal. Keep dependencies simple:
prefer ordered goals and use depends_on only for real blockers.
Use a relative symlink for the active pointer:
ln -sfn <id-slug> .agent/goals/active
If the platform cannot create symlinks, stop and tell the user to pass the
explicit plan path to slop-janitor goals run .agent/goals/<id-slug>.
Keep brief.md compact:
complete-goals before the user approves the artifacts