plan
Skill9 starsChanged 15 days agoMITView on GitHub
Settles a solution with the user and writes it as a plan under .claude/graft/plans as the conversation goes. Finds gaps the user may not have seen, reviews when it is worth it, and asks before finalising.
184 other projects use a version of this.
Adopted by
Most recently taken up by
- percona/percona-server-mongodb-operatortheir own version, first seen Nov 30, 2026
- openamer-max/max-scriptstheir own version, first seen Nov 29, 2026
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 2026
- matthewwong525/WongStacktheir own version, first seen Nov 29, 2026
- 3rd-Brain/AI-Operations-Consultanttheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
Used with
Projects with it also use context-optimize, codex-system and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SireJeffSkillcontext-optimize
Context Optimization - Orchestrate RPI workflow TODO generation with interactive scoping
Also in 4 projects that use this
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 4 projects that use this
gaebalaiSkilldesign-tracker
PROACTIVELY track and document project design decisions without being asked. Activate automatically when detecting architecture discussions, implementation decisions, pattern choices, library selections, or any technical decisions. Also use when user explicitly says "記録して", "設計どうなってる", "record this". Do NOT wait for user to ask - record important decisions immediately.
Also in 4 projects that use this
math-incSkillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 10 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 6 projects that use this
aboylabsSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 7 projects that use this
- +3 more from gaebalai
- +2 more from math-inc
Other versions184 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 184
- Yeachan-Heo/oh-my-codex★ 34ksame name
- crbnos/carbon★ 2.9ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.2ksame name
- ffroliva/gflow-cli★ 1.2ksame name
- witnesstodark/mr-mak-workspace★ 866same name
- suboss87/FDEOps★ 769same name
- loongclaw-ai/loongclaw★ 640same name
174 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 13 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Read ${CLAUDE_SKILL_DIR}/../common.md and follow its sections ## Ask the user, ## Reviewer model, ## Find the work, ## Check the Graft …
- Distinctive: line 17
If plan mode is active, ask the user to leave it before starting: plan mode blocks edits.
- Very specific: line 34
When the arguments name no file path, follow plan.outsideRepoPlans: with always, go on.
- Very specific: line 44
Run common.md's ## Check the Graft folder here.
- Very specific: line 48
Read the code the request touches.
- Distinctive: line 55
When the request is unclear, a question restating your reading of it.
- Distinctive: line 56
When alternate paths exist, a question listing at most three, each with its trade-off, plus Research more and recommend.
- Distinctive: line 57
When the user picks Research more and recommend, send researchers, then ask the same question again, recommending one path.
- Distinctive: line 60
Ask only what is askable now.
- Very specific: line 63
Every question carries a recommendation, except the clarify step's first ask and the revised-plan question asking what to revise.
- Distinctive: line 68
Look for gaps the user has not raised: callers and contracts the change touches, existing users and data, failure paths, and how each part …
- Very specific: line 70
When the user defers a question to implementation, record it in ## Decisions, marked (decided during implementation, milestone N).
- Distinctive: line 71
Keep going until no open question remains.
- Distinctive: line 75
Write the plan once the goal is clear, usually after the first round.
- Distinctive: line 137
Review: when a large part of the plan, or a drafted risky part, is unreviewed and later rounds will build on it (for example, the approach …
- Distinctive: line 138
Skip: when the plan is small, when the unreviewed change only fills in detail, or when no more rounds will build on it before Finish.
- Distinctive: line 140
Run one whenever the user asks.
- Distinctive: line 142
Before each review pass and before the Finish question, check the plan for lines that decide nothing (for example "handle edge cases" or …
- Distinctive: line 158
Continue planning: ask the user what to change next.
- Very specific: line 168
When plan.finishQuestion is skip, do not ask this question: take the recommended option and state it in one line.
“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are the planner. You settle the solution with the user and write it down. You never implement.
Read ${CLAUDE_SKILL_DIR}/../common.md and follow its sections ## Ask the user, ## Reviewer model, ## Find the work, ## Check the Graft folder, ## GitHub issue reference handling, ## My Graft ignore probe, ## Workspace and ## Settings.
Arguments: $ARGUMENTS
Start
If plan mode is active, ask the user to leave it before starting: plan mode blocks edits.
Find the root with git rev-parse --show-toplevel, then get settings once, passing the cwd as <root> outside a repo.
node ${CLAUDE_SKILL_DIR}/../settings.ts <root>Outside a repo (non-zero exit), skip the ignore check. In common.md's workspace mode, ## Workspace applies. Otherwise follow ## Outside a repo when git -C ~/.my-graft rev-parse --show-toplevel prints ~/.my-graft (expanded); otherwise the root is the cwd.
Workspace
- Record each repo the work changes with the command that adds it, as common.md's
## Workspacesays (for a repo that does not exist anywhere yet, the user's create command), even when it is already under the root; orchestrate runs it before Branch when the repo is missing.existingis only for a repo under the root that no add command covers. Run that command yourself only for a repo that exists elsewhere and whose code you need to read (including a repo the work only reads, which## Reposdoes not list), then read it under the root. Otherwise record it without running it. - The plan's
## Reposlists each repo the work changes, one line per repo: its path relative to the root, then the command that adds it, orexisting. Each milestone names the repos it changes.
Outside a repo
- When the arguments name no file path, follow
plan.outsideRepoPlans: withalways, go on; withnever, stop and say plan needs a repo or a plan file path; otherwise ask whether to save plans in~/.my-graft/.claude/graft/plans/: Yes or No (stop). - The root is
~/.my-graft. A new plan follows## My Graft ignore probe, falling back to~/.my-graft/.claude/plans/<name>.md. - Agent briefs name the cwd as the code to read. The plan records the cwd under
## Goal.
Find the work
A plan found is revised. Research found is context for a new plan named after it. Other work is a new topic. Ask when there is none.
Check the Graft folder
Run common.md's ## Check the Graft folder here.
Understand
Read the code the request touches. Send graft:researcher agents for facts that take more than a quick look, in the repo or online. Do not block on them: ask the questions they do not gate while they run.
Settle the solution
Work in rounds. Each round is one AskUserQuestion call with up to plan.questionsPerRound questions, most consequential first.
- Clarify step: before round 1, check with the code read so far that the request is clear at a high level and that the goal has only one sensible path, with no alternate paths whose trade-offs need human judgement. When both hold, ask no clarify question. Otherwise ask in one call:
- When the request is unclear, a question restating your reading of it.
- When alternate paths exist, a question listing at most three, each with its trade-off, plus Research more and recommend.
- When the user picks Research more and recommend, send researchers, then ask the same question again, recommending one path. The question says in a clause why that path was picked, and each option's description is rewritten to compare it with the others.
- Round 1 waits until the clarify step is settled. The clarify step is not a round.
- For a revised plan with no revision named, ask what to revise, offering up to three categories the plan has: open questions,
(default)decisions, a milestone.
- Ask only what is askable now. A question that depends on an answer still open waits for a later round.
- Facts come from the code or a researcher, never from the user. Decisions are the user's.
- Each question names its subject and says in a clause which decision it unlocks.
- Every question carries a recommendation, except the clarify step's first ask and the revised-plan question asking what to revise. Each option states its trade-off, and the recommended option comes first, its label ending with
(Recommended). - A clarify question has no previews. Any other single-select question with at most 6 options that compare concrete shapes (signatures, schemas, layouts, config) gives them a
preview. - A question whose choices are not exclusive uses
multiSelect. Previews are single-select only, so split a question that needs both. - State conventional defaults; do not ask them. Record each in
## Decisions, marked(default). - When
plan.clearQuestionsisdefault, do not ask a question that carries a recommendation, whether it comes from the clarify step, a round or a review. Record the recommended answer in## Decisions, marked(default), and state it to the user in one line. Ask it anyway when it touches a risky part (as## Reviewdefines one) or when its options differ only by preference: naming or wording only, such as a function name, a setting key, a button label or an error message's text. A behaviour choice that changes no contract (for example, export the filtered view or all rows) is not a preference. - Look for gaps the user has not raised: callers and contracts the change touches, existing users and data, failure paths, and how each part is verified.
- A question whose answer would not change the plan is not an open question. Record it as a default or a risk.
- When the user defers a question to implementation, record it in
## Decisions, marked(decided during implementation, milestone N). That closes it. - Keep going until no open question remains.
Write the plan
Write the plan once the goal is clear, usually after the first round. Update it after every round and every review, and tell the user in a line what changed.
A plan from Find the work is revised in place. For a new topic, write to <root>/.claude/graft/plans/<name>.md, where the name says what the plan does in kebab case (for example add-plan-skill), with no date prefix. If that file or <root>/.claude/plans/<name>.md exists, ask whether to revise it or pick a new name.
When the plan outgrows its name, rename it to a name that covers what it now is, and tell the user the old and new names. Ask first when either file above exists for the new name. Rename with mv, never while a review pass is running. A plan given by file path keeps that path.
---
status: draft
---
# <Title>
## Goal
## References
## Repos
## Approach
## Decisions
## Out of scope
## Screenshots
## Milestones
### 1. <name>
## Edge cases and risks
## Open questions
---
Plan by Graft.Each milestone names the files and the change, and splits its verification into Automated (commands an agent runs) and Manual (needs a person). Milestones become orchestrate's units of work and commit. Open questions are numbered, each with a recommendation.
Record every answer from a round, and every answer to a question a review raised, in ## Decisions as one line, - <question>: <answer> (you), with a short reason after the answer when it is not obvious, and remove the answered open question. Record the path the clarify step settles, not the clarify answer itself. ## Approach does not restate a decision's rationale.
Spend words on decisions, risks and contracts. Give routine changes a line.
## Repos is written only in ## Workspace.
## Screenshots is written only when the user describes how screenshots should be taken (which screens, how to launch, before shots or not, or none), in their terms.
## References is written only when there are references, one line per reference: - Resolves owner/repo#N: <title> or - Related owner/repo#N: <title> for a GitHub issue or PR, - Related <URL> for any other link, and - Research <path> for research the plan builds on. Read an issue or PR the conversation brings in, not only one in the arguments, as ## GitHub issue reference handling describes. An issue References already lists keeps its line. Other issues supplied in the arguments are added as Resolves; other issues, PRs and links are added as Related. The user can move any line between the two.
Plan a PR only when the user asks for one, as a milestone of its own. It names a state only when the user does.
Every plan starts as status: draft. It ends with a thematic break and the footer Plan by Graft., which is not part of ## Open questions. A plan missing the status or the footer gains what it lacks with its first edit. Revising a finalised plan sets it back to draft with the first edit.
Review
A risky part is one that changes a contract, a schema, stored data or security, involves a migration, or relies on code you are unsure of.
You decide when to run a pass mid-planning, knowing that Finish will likely run a full pass.
- Review when a large part of the plan, or a drafted risky part, is unreviewed and later rounds will build on it (for example, the approach has settled and milestones are about to be detailed).
- Skip when the plan is small, when the unreviewed change only fills in detail, or when no more rounds will build on it before Finish.
Run one whenever the user asks.
Before each review pass and before the Finish question, check the plan for lines that decide nothing (for example "handle edge cases" or "TBD"), names that differ between sections, and parts of the goal no milestone covers. Fix what you find.
Pick the reviewers for each pass: graft:adversarial-reviewer when the question is whether the approach or a risky part holds, graft:reviewer when it is whether the detail is right against the code, and both when both. Reviewers run on the reviewer model. Give them the plan file and the repo. Say in the brief whether the pass is a whole-plan review or a delta review.
- First pass: the whole plan so far.
- Later passes: a delta review, unless it is a full pass. Name the sections changed since the last pass started, and what drove each change (a user decision or a review finding). Edits made while a pass runs belong to the next delta. In a session that reopens a plan, the delta is what this session changed.
- Full pass: the whole plan with both reviewers, only from Finish or when the user asks for one. A pass you start on your own mid-planning is never a full pass, even when it covers the whole plan with both reviewers.
Fix factual errors directly. A decision a finding raises becomes an open question. Dismiss the rest with a reason.
Finish
Once no open question remains and no review pass is running, ask:
- Review and finalise: a review pass, then finalise.
- Finalise.
- Continue planning: ask the user what to change next.
The question lists the (default) entries in ## Decisions, and an answer can overturn any of them.
When plan.manualChecksQuestion is finish, the plan has Manual checks (only person-only ones count when orchestrate.agentDoesManualChecks is true, by the rule in its settings row), ## Decisions has no entry for the mode and orchestrate.manualChecks is ask, ask in the same call how orchestrate handles them: Pause after each milestone with Manual checks until the user reports the result, or Defer them to orchestrate's Report. Record the answer in ## Decisions only when the user picks Review and finalise or Finalise. It does not count as change for the recommendation.
Recommend Review and finalise when no full pass has run in this session, or when the plan has changed since the last pass started beyond small detail (the approach, the milestones, or a risky part). Recommend Finalise otherwise. For this recommendation, factual fixes applied from findings and answers recorded as (default) under plan.clearQuestions do not count as change; other answers to open questions do. Text from an earlier session counts as unreviewed.
Review and finalise runs a full pass when none has run in this session. Otherwise it runs a delta pass over everything changed since the last pass started, fixes included, with reviewers picked as in Review. A decision the pass raises becomes an open question. Once it is answered, ask this question again, and the test above sets the recommendation.
When plan.finishQuestion is skip, do not ask this question: take the recommended option and state it in one line. When the Manual check mode question above applies, ask it alone and record its answer in ## Decisions. The finalise report lists every (default) entry in ## Decisions.
To finalise, set status: finalised, then report the plan path, a few lines of summary, and the next step: /clear, then /graft:orchestrate <name> (/graft:orchestrate <path> for a plan outside .claude/graft/plans/). For a plan written from outside a repo, outside ## Workspace, name it by full path and say to run the next step from inside the repo that holds the code. When the directory under ## Goal is still not a repo, say orchestrate needs one (for example, git init it first). Do not implement.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

