fetch-plan

fetch-plan is a skill for Claude Code, Codex from kimgoetzke/coding-agent-configs. It costs 49 tokens per session (779 once invoked), scanned A, original, MIT.

A tool for reopening saved software plans from a repository's .ai/planning folder and showing their implementation status.

In plain words
What is it for?
Use it to choose a saved plan, load its planning documents, and summarise what has been completed.
Why use it?
It helps you find and resume an earlier plan instead of starting the planning work again.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kimgoetzke/coding-agent-configs/fetch-plan
Any agent
npx skills add kimgoetzke/coding-agent-configs --skill fetch-plan
Clone the repo
git clone --depth 1 https://github.com/kimgoetzke/coding-agent-configs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fetch-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/fetch-plan.svg)](https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/fetch-plan)
Your own site
<a href="https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/fetch-plan"><img src="https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/fetch-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00049 $0.00779
Opus 5 $0.00024 $0.00390
Sonnet 5 $0.00010 $0.00156
Haiku 4.5 $0.00005 $0.00078

Measured 4d ago against content hash 33270510dba9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fetch-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fetch-plan/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.md
    • progress.md
    • findings.md
    • questions.md

Phase 1: List plans only

  1. 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
  2. List plan folders only; do not read any files inside them yet
  3. Sort folders newest first
  4. Show the folder names exactly as stored, in a numbered list

Example:

  1. 2026-03-20 refactor auth flow
  2. 2026-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.

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:

  1. plan.md
  2. progress.md (if it exists)
  3. findings.md
  4. questions.md
  5. 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.md phase statuses and current phase
  • progress.md latest actions and test results (only for multi-phase plans)
  • findings.md blockers, issues, and decisions
  • questions.md unresolved questions or missing user answers

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 96 lines · 49 tokens per session scan A 33270510dba9

Subscribe to this mod's changes

fetch-plan is a skill published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 14d ago), licensed MIT. It adds 49 tokens to every session and 779 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

codebase-memory

Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions…

narumiruna/pi-extensions · 98 tokens

using-pi-subagents

Operate pi-subagents jobs safely, including direct-work decisions, least-privilege tool selection, thinking-level selection, delegation, bidirectional messaging, parallel starts, timeout selection, waiting, cancellation, result handling, verification, and writer isolation.

narumiruna/pi-extensions · 54 tokens

skill-creator

Create or update Agent Skills (SKILL.md plus optional scripts, references, or assets). Use when someone asks to design a new Agent Skill, refine an existing one, or structure skills for Pi discovery, packaging, or other Agent Skills-compatible clients.

tmustier/pi-extensions · 54 tokens

pi-ralph-wiggum

Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.

tmustier/pi-extensions · 49 tokens

accordion-context-folding

Read this skill if you see {# FOLDED} markers in your context (e.g. {#3f9a2c FOLDED}), or if earlier parts of your context look summarized. Accordion is a desktop tool that may compact older context blocks to keep you under a token budget. The unfold tool restores a folded block (open from your next turn); the recall…

a-Fig/Accordion · 102 tokens

accordion-context-recall

Read this skill when you need to read the full content of a folded context block RIGHT NOW as a tool result — without opening it in your standing context. Use recall(codes) when you only need a value once and do not want to permanently restore the block. Accordion may fold older parts of your context to keep token…

a-Fig/Accordion · 89 tokens