fetch-plan
Skill2 starsChanged 7 months agoMITView on GitHub
Retrieve saved plan folders from `.ai/planning`, let the user choose one, then load its planning documents and summarise implementation status. Use when user asks to fetch, reopen, resume, continue, or inspect an existing plan.
In this repository23 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- .copilot/copilot-instructions.mdCopilot instructions
- ahaSkill
- explain-prSkill
- generate-pr-descriptionSkill
- grill-meSkill
- improve-a-planSkill
- improve-codebaseSkill
- persistSkill
- planning-modeSkill
- planningSkill
- research-modeSkill
- review-prSkill
- rust-bevy-standardsSkill
- rust-bevy-test-conventionsSkill
- rust-standardsSkill
- tddSkill
- unslopSkill
- update-agentsSkill
- update-planSkill
- update-skillsSkill
- write-a-skillSkill
- wtfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 12 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use this skill to reopen an existing plan created with the planning-mode/planning skill's folder structure.
- Very specific: line 24
If you don't find anything, try running ls "{repo root}/.ai/planning/" via Bash to list the plan folders since Glob fails to match …
- Very specific: line 34
If no folders exist, tell the user no saved plans were found and suggest creating one with the planning-mode or planning skill.
- Distinctive: line 36
If only a single folder exist, skip "Phase 2: Ask the user to choose" and consider this plan to be the one the user intends to select, then …
- Distinctive: line 45
If the input is a number, resolve it against the numbered list
- Distinctive: line 46
If the input is text, try exact folder-name match first
- Distinctive: line 47
If no exact match exists, allow a single unambiguous case-insensitive partial match
- Distinctive: line 48
If the input is invalid or ambiguous, explain why and ask again
- Distinctive: line 49
Do not read any plan documents before a valid selection is resolved
- Distinctive: line 53
After the user selects a plan, read the available planning documents from that folder.
- Distinctive: line 55
Read in this order:
- Very specific: line 62
Only read files that exist.
- Distinctive: line 74
Prefer plain labels such as:
- Distinctive: line 86
call out missing files or uncertainty explicitly
- Distinctive: line 91
After summarising status, prompt the user for the next step.
- Distinctive: line 97
If the user chooses a follow-on action, continue from the selected plan rather than re-listing plans.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fetch a Saved Plan
Use this skill to reopen an existing plan created with the planning-mode/planning skill's folder structure.
Storage layout
- Plans live under
{repo root}/.ai/planning/ - Each plan folder is named
{yyyy-mm-dd} {task name} - A selected plan may contain:
plan.mdprogress.mdfindings.mdquestions.md
Phase 1: List plans only
- Find
{repo root}/.ai/planning/- If you don't find anything, try running
ls "{repo root}/.ai/planning/"via Bash to list the plan folders since Glob fails to match directories on Windows
- If you don't find anything, try running
- List plan folders only; do not read any files inside them yet
- Sort folders newest first
- Show the folder names exactly as stored, in a numbered list
Example:
2026-03-20 refactor-auth-flow2026-03-18 add-retry-metrics
If no folders exist, tell the user no saved plans were found and suggest creating one with the planning-mode or planning skill.
If only a single folder exist, skip "Phase 2: Ask the user to choose" and consider this plan to be the one the user intends to select, then proceed to "Phase 3: Load the selected plan" and load this plan.
Phase 2: Ask the user to choose
Prompt the user to reply with either:
- the list number, or
- the folder name
Selection rules:
- If the input is a number, resolve it against the numbered list
- If the input is text, try exact folder-name match first
- If no exact match exists, allow a single unambiguous case-insensitive partial match
- If the input is invalid or ambiguous, explain why and ask again
- Do not read any plan documents before a valid selection is resolved
Phase 3: Load the selected plan
After the user selects a plan, read the available planning documents from that folder.
Read in this order:
plan.mdprogress.md(if it exists)findings.mdquestions.md- Any other files in the folder, if relevant
Only read files that exist. If plan.md is missing, say the plan is incomplete and continue with any other available docs.
Phase 4: Report implementation status
Summarise the plan's implementation status using only the loaded docs.
Base the status on:
plan.mdphase statuses and current phaseprogress.mdlatest actions and test results (only for multi-phase plans)findings.mdblockers, issues, and decisionsquestions.mdunresolved questions or missing user answers
Prefer plain labels such as:
IncompleteNot startedIn progressBlockedCompleteUnknown
When reporting back:
- name the selected plan folder
- state the best-fit implementation status
- briefly justify it with concrete evidence from the docs
- call out missing files or uncertainty explicitly
- mention any open questions or blockers
Phase 5: Ask how to proceed
After summarising status, prompt the user for the next step. Offer concise options such as:
- continue implementation
- review blockers and open questions
- improve or update the plan (only if incomplete)
- give a fuller summary of progress so far
If the user chooses a follow-on action, continue from the selected plan rather than re-listing plans.
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.

