plan
Skill2 starsChanged 2 months agoMITView on GitHub
Create a detailed plan with exploration before execution
184 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use heartmula, webhook-subscriptions 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.
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 9 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 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 5 projects that use this
john-data-chenSkilltouchdesigner-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 6 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 3 projects that use this
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
- +3 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.8ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- suboss87/FDEOps★ 940same name
- codewithmukesh/dotnet-claude-kit★ 808same name
- witnesstodark/mr-mak-workspace★ 718same 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.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- remote/CLAUDE.mdCLAUDE.md
- auditSkill
- decision-boardSkill
- deepthinkSkill
- doublecheckSkill
- filesSkill
- handoffSkill
- hpcSkill
- loadSkill
- taskSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If unclear, use AskUserQuestion to clarify before proceeding.
- Distinctive: line 46
Read/verify key files and materials identified — verify, don't assume
- Distinctive: line 52
Before proposing a new document:
- Distinctive: line 54
Check project conventions and existing authoritative docs, plans, source comments, tests, TODOs, and issues first.
- Distinctive: line 56
Prefer updating an existing authoritative artifact when it can serve the same purpose.
- Distinctive: line 57
Do not create a new artifact merely to restate the plan or record work performed.
- Very specific: line 61
Create a plan file named PLAN-<task-slug>.md (e.g., PLAN-add-user-auth.md) in the project root, unless the user or project instructions …
- Distinctive: line 65
If you are Fable, your usage is limited, so send normal implementation work to Opus sub-agents unless a task is so small that delegating it …
- Distinctive: line 71
Every phase states its goal, context, constraints, ownership, governing decisions and acceptance checks.
- Distinctive: line 155
Add sections as needed: Prerequisites, Risks, Rollback, Testing Strategy, etc.
- Distinctive: line 190
Ask them to review and edit if needed, and wait for explicit confirmation.
“Common” is measured: kept by at least 6 in 10 of the 167 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 planning, not executing. Explore and analyze first; probing is part of that — run scripts, tests, or quick experiments where they resolve a real uncertainty about the task. Don't start on the task itself until the user confirms the plan.
Phase 1: Task Understanding
State your understanding of the task: $ARGUMENTS
If unclear, use AskUserQuestion to clarify before proceeding.
Assess complexity to calibrate planning depth:
- Simple: Single-focus task, few components → lighter exploration, concise plan
- Moderate: Multiple components or unknowns → targeted exploration, structured plan
- Complex: Cross-cutting concerns, many dependencies → thorough exploration, detailed plan
Phase 2: Exploration
Explore the project to understand what exists and what the task involves. Scale exploration to task complexity.
For simple tasks: You may explore directly without subagents.
For moderate/complex tasks: Spawn Explore agents in parallel (Agent tool, subagent_type='Explore'), each focused on a relevant aspect:
- Structure Explorer: Project organization, key components, how things connect
- Prior Work Explorer: Existing similar work, patterns, or approaches to build on
- Context Explorer: Related materials, dependencies, constraints
- Domain Explorer: Subject matter, conventions, standards relevant to the task
- Docs Explorer: Documentation (READMEs, guides, API docs, comments) — what exists in or adjacent to the task area, what will need updating, and what doesn't exist yet but should
(For code-heavy tasks: Architecture, Feature, Dependency, Test explorers may be more appropriate)
Choose exploration agents by Agent Selection in the global CLAUDE.md, and pass the model explicitly: Sonnet (model: sonnet) when the job is to find or identify something, Opus (model: opus) when the findings must be summarized well. Instruct them to:
- Return hypotheses, not conclusions
- Provide full file paths for relevant files
- Identify locations, not deep analysis
- Be thorough but efficient - scouts, not implementers
Phase 3: Synthesis
After exploration:
- Read/verify key files and materials identified — verify, don't assume
- Confirm or refute hypotheses
- Build a mental model of the current state and what the task requires
- Identify existing documentation that must be updated, and whether any new document has a distinct durable purpose
- Decide the execution shape — what you will do yourself, what to delegate and to which model (see Phase 4) — and record it per phase when writing the plan
Before proposing a new document:
- Identify the durable audience or question it will serve and the information it will uniquely own.
- Check project conventions and existing authoritative docs, plans, source comments, tests, TODOs, and issues first.
- Prefer updating an existing authoritative artifact when it can serve the same purpose.
- Do not create a new artifact merely to restate the plan or record work performed.
Phase 4: Plan Creation
Create a plan file named PLAN-<task-slug>.md (e.g., PLAN-add-user-auth.md) in the project root, unless the user or project instructions (CLAUDE.md, AGENTS.md) specify a different location. The task slug should be lowercase, hyphen-separated, and concise (3-5 words max).
Name each phase's executor, its model and role, chosen by Agent Selection in the global CLAUDE.md.
If you are Fable, your usage is limited, so send normal implementation work to Opus sub-agents unless a task is so small that delegating it costs more than doing it. Keep for yourself what needs frontier judgment — design, creative or scientific thinking, cross-cutting integration — but once you have worked out the design, Opus can implement it if the phase spells it out and its acceptance checks would catch an implementation mistake Opus wouldn't notice. The user can override the split.
Every phase states its goal, context, constraints, ownership, governing decisions and acceptance checks. Include concrete steps, file paths, commands and expected results where uncertainty, reproducibility or operational risk warrants them. Leave routine details to the executor's judgment and explain how to investigate evidence that contradicts a plan assumption. Seek input when that investigation requires a material change beyond the authorized scope.
The phase text is the durable core of a delegated brief; add current tree state, relevant conventions and return format at dispatch. Precision that matters belongs in the plan, not in a spawn-time brief: the plan is what gets reviewed in Phase 5 and what survives a crashed session.
Scale the plan to complexity:
For simple tasks:
# Plan: [Task Title]
## Goal
[What we're accomplishing]
## Approach
1. [Step]
2. [Step]
3. [Step]
## Documentation
- [ ] [Docs to update; a new doc only if it uniquely owns something — remove section if genuinely none]
## Verification
- [ ] [How to confirm success]Simple plans should contain enough context and acceptance checks for their executor to execute or resume.
For moderate/complex tasks:
# Plan: [Task Title]
Created: [Date]
Status: PENDING APPROVAL
## Summary
[2-3 sentences on what will be accomplished]
## Scope
- **In scope**: [What will be done]
- **Out of scope**: [What won't be done]
## Phases
### Phase 1: [Name]
**Executor**: [Model and role, e.g. Fable (orchestrator) | Opus sub-agent | Astra via Codex]
**Goal**: [What this achieves]
**Work**:
- [Item] - [Details: files/components involved, constraints and acceptance criteria]
- [Item] - [Details]
**Steps** (where task-critical detail is needed):
1. [Concrete step: file, command, expected result]
2. [Step]
**Verification**:
- [ ] [How to verify]
### Phase 2: [Name]
[Same structure]
## Documentation
What existing documentation must be updated and, only when it has a distinct durable role, what new document must be created. For each new artifact, state what it uniquely owns and why an existing artifact cannot own it.
Include documentation as steps in the relevant phase above, or as a dedicated phase if substantial. Remove this section only if the task genuinely has no documentation impact.
## Decisions
Choices made while drafting that a reasonable person could have made differently and that would be
costly to reverse once executed. Write each one down as you make it — do not reconstruct this
section afterwards. Everything below that bar stays a plain statement in the plan.
- **[What was chosen]** — [why]. Rejected: [alternative] ([its appeal, and why it lost]).
## Open Questions
- [Unresolved questions for the user]
---
**Please review. Edit directly if needed, then confirm to proceed.**Add sections as needed: Prerequisites, Risks, Rollback, Testing Strategy, etc. A simple plan that turns on one material choice should carry a Decisions section too.
Phase 5: Plan Review
Run /doublecheck on the plan file before presenting it — always, including for simple plans.
Past instances judged it "not worth it" and shipped flawed plans; the review is cheap next to the
execution it protects. A new plan file is untracked, so the diff /doublecheck injects is empty:
pass the plan file's path as the argument, followed by the focus — completeness, correctness,
feasibility, internal consistency, and whether each phase is precise enough for its stated executor.
Fix any issues found.
Phase 6: User Confirmation
Present the plan in the conversation — do not make the user reconstruct it from the file. A plan reads as a series of settled statements, which hides the fact that choices were made at all; your job here is to expose the choices so approval means something. Scale this to complexity: a simple plan needs the summary plus anything genuinely open, and nothing more.
- Summarize the plan in plain language. Assume a technical reader who knows the project broadly but may not recall the details, or was never in them. Say what will change and why — not a phase-by-phase recital. Be direct; skip jargon unless a term genuinely carries meaning no plain phrasing does. Include the execution split — what you keep and what goes to sub-agents, with their selected models — so the user can override it.
- Present the decisions from the plan's Decisions section: what was chosen, why, and what was rejected along with its tradeoffs. Present the calls you made; skip the ones the user already made or settled with you in conversation — don't re-litigate their own choices back at them.
- Present the open questions. Give each enough context to be understood cold, the viable options with their tradeoffs, and your recommended default — so the user can accept the set as a whole or override just the ones they care about, rather than adjudicating every fork. Use AskUserQuestion for any that genuinely block.
- Share the doublecheck findings (and any fixes applied)
- Say where the plan file lives. If the SendUserFile tool is available (Remote Control or web
sessions), also send it with
display: 'render'. - Ask them to review and edit if needed, and wait for explicit confirmation. Do not begin work until confirmed.
Phase 7: Execute
Execution is tracked with /task against the plan file. Once confirmed:
- Re-read the plan file — the user or the doublecheck may have edited it — and note any changes.
- Recommend where to execute. If planning left context light, continue in this session: the conversation holds rationale the file doesn't, which helps an orchestrator. If exploration and writing consumed substantial context, recommend a fresh session. Before recommending it, move into the plan any rationale that so far lives only in this conversation, and fill any gaps in context or task-critical detail the next executor would need, telling the user about any substantial change. The user decides.
- Invoke
/taskon the plan file here — or, for a fresh session, end with a fenced text block the user can paste verbatim as the new session's first message: the/taskinvocation on the plan file, plus the orientation files to read first (devlog, README, design notes — whatever helped you orient), skipping anything loaded automatically such as CLAUDE.md and the files it pulls in (e.g., AGENTS.md).
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.

