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.
git clone --depth 1 https://github.com/naimkatiman/continuous-improvementWrote 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.
[](https://agentmods.dev/commands/naimkatiman/continuous-improvement/planning-with-files)<a href="https://agentmods.dev/commands/naimkatiman/continuous-improvement/planning-with-files"><img src="https://agentmods.dev/badge/commands/naimkatiman/continuous-improvement/planning-with-files.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00426 |
| Opus 5 | $0.00011 | $0.00213 |
| Sonnet 5 | $0.00004 | $0.00085 |
| Haiku 4.5 | $0.00002 | $0.00043 |
Grade A, and why
planning-with-files 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 7d 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.
What it actually says
/planning-with-files
Use this workflow only when the user explicitly wants persistent, file-based planning. It is opt-in.
Project Root
- Run
git rev-parse --show-toplevel 2>/dev/null - If that fails, use the current working directory
- Create and read planning files in that root only
The planning files are:
task_plan.mdfindings.mdprogress.md
init
If the files do not exist, create them in the project root.
task_plan.md must include:
## Goal## Status## Phases## Key Questions## Decisions Made## Errors Encountered
Default phases:
ResearchPlanExecuteVerifyReflect
Never overwrite existing planning files unless the user explicitly asks you to reset or replace them.
status
Read all three files and summarize:
- Current status from
task_plan.md - Checked vs unchecked phases
- Whether
findings.mdhas real notes yet - Whether
progress.mdhas real session or verification entries yet
If the files do not exist, say so and offer to initialize them.
checkpoint
After a meaningful work chunk:
- Update
progress.mdwith what happened, commands run, and verification notes - Add new discoveries or sources to
findings.md - Update
task_plan.mdprogress, decisions, and errors
Do not hide failures. Log them in ## Errors Encountered.
recover
When resuming after context loss or a new session:
- Re-read
task_plan.md,findings.md, andprogress.mdbefore making major decisions - Restate the current goal, phase, open questions, and latest verification state
- Continue from the recorded plan instead of rebuilding context from memory
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.
- 7d ago First seen · 67 lines · 22 tokens per session scan A 6438e9b5bdb6
planning-with-files is a command published in the GitHub repository naimkatiman/continuous-improvement (7 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 426 once invoked, about $0.0001 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.
Other commands, from other repositories
ap-swarm
Run a MultiAgentRuntime swarm in file mode — local journal at .runtime/conversation.md, no network.
reflect-meta
Show meta-learning statistics and pattern performance.
reflect-promote
Promote learnings from skills to global CLAUDE.md.
reflect-stats
Show cross-skill learning statistics.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.