OthmanAdi/planning-with-files is a planning system that stores an AI coding agent's task plan, findings, and progress in project files so the work can be recovered after context resets, crashes, or compaction. It is for long-running coding tasks across many agent tools, including Claude Code, Codex CLI, and Cursor. The catalogue entries are the project's commands, hooks, skills, plugin, and instruction for maintaining those planning files.
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.
npx agentmods add commands/othmanadi/planning-with-files/pwfgit clone --depth 1 https://github.com/OthmanAdi/planning-with-filesWrote 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/othmanadi/planning-with-files/pwf)<a href="https://agentmods.dev/commands/othmanadi/planning-with-files/pwf"><img src="https://agentmods.dev/badge/commands/othmanadi/planning-with-files/pwf.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.00033 | $0.00225 |
| Opus 5 | $0.00016 | $0.00112 |
| Sonnet 5 | $0.00007 | $0.00045 |
| Haiku 4.5 | $0.00003 | $0.00022 |
Grade A, and why
pwf 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 2d 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
Start the planning-with-files workflow for this project.
Arguments given: "$ARGUMENTS"
- Call the
pwf_inittool. Map the arguments:--gatedsets mode "gated",--autonomoussets mode "autonomous",--template analyticssets template "analytics"; every remaining word forms the plan name. A name creates an isolated.planning/YYYY-MM-DD-<slug>/plan and makes it the active plan; no name uses the project root. - Read the created
task_plan.md,findings.mdandprogress.mdfrom the directory the tool reports, then fill in the goal, the next step and the phases for the task at hand before any other work. - Follow the planning-with-files skill from then on: update
progress.mdafter every action, log errors in the plan, and mark phases complete as they finish.
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.
- 2d ago Changed · -4 lines · +1 tokens per session 33509744478e
- 6d ago First seen · 15 lines · 32 tokens per session scan A 93d8a3c49cf2
pwf is a command published in the GitHub repository OthmanAdi/planning-with-files (26,648 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 225 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-30.
Other commands, from other repositories
genshijin-compress
Markdown・テキストファイルを原始人形式へ安全圧縮.
enum-udp
UDP scan + service follow-up — top ports first, full sweep only when justified.
claude-recall
Update project context using the local LLM (Qwen2.5 0.5B).
review
Submit a story for verification (In Progress → In Review, no PR yet).
standup
Alias of /board — the async sprint snapshot.
wp-cleanup
Find and clean up unused PHP code, Composer dependencies, imports, and dead code in WordPress projects.