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 instructions/othmanadi/planning-with-files/agents-mdgit 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/instructions/othmanadi/planning-with-files/agents-md)<a href="https://agentmods.dev/instructions/othmanadi/planning-with-files/agents-md"><img src="https://agentmods.dev/badge/instructions/othmanadi/planning-with-files/agents-md.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 | $0.02236 | $0.02236 |
| Opus 5 | $0.01118 | $0.01118 |
| Sonnet 5 | $0.00447 | $0.00447 |
| Haiku 4.5 | $0.00224 | $0.00224 |
Grade A, and why
planning-with-files AGENTS.md 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — planning-with-files agent reference card
This file is the canonical, session-portable reference for how every agent working in this repo must handle commits, releases, version bumps, CHANGELOG entries, and issue/PR communication.
Commit rules
- Author: OthmanAdi only for release/maintenance commits. NEVER add
Co-Authored-By:trailers. - Format: Conventional Commits —
fix:,feat:,release:,docs:prefixes. - One release commit on top of the contributor commit(s), never a squash of the contributor's work.
git merge --squashrewrites the committer as whoever runs the local commit, which reassigns the contributor's authorship to OthmanAdi — this happened once (v2.40.1 cycle) and is exactly what this rule exists to prevent. Squashing is fine only for collapsing your OWN WIP commits before pushing. - No
--no-verify. No force push to master except tag ref updates. - Contributors are credited in CHANGELOG
### ThanksandCONTRIBUTORS.md, never in commit trailers.
Release checklist (12 steps)
gh issue view Nandgh pr view N— read both in full.- Verify the bug is real: find the exact file/line, grep for the pattern, confirm reporter is correct.
python -m pytest tests/ -q— all tests pass before touching anything.- Merge preserving contributor authorship:
git fetch origin pull/N/head:pr-N && git cherry-pick <pr-head-sha>, orgh pr merge --rebase. Do NOT usegit merge --squash— it collapses the contributor's commit and reassigns theAuthor:field to whoever runs the local commit, destroying their credit ingit log. - CHANGELOG — new version entry at top,
### Fixed/### Added/### Changed, sachlich, no em-dashes. - CONTRIBUTORS.md — add reporter/contributor, bump "Total Contributors: N+", update "Last updated" date.
- Version bump across all 19 tracked targets plus the local ClawHub staging target when present (see table below). Then run
python scripts/build-clawhub-upload.pyandpython scripts/build-clawhub-upload.py --verify; verification must report that the complete staging folder matches the canonical tracked inventory. - README — update version badge and add row to releases table.
git commit,git tag vX.Y.Z,git push origin master,git push origin vX.Y.Z.gh release create vX.Y.Z --title "vX.Y.Z - <short description>" --notes "<release notes>".- Post comment on PR and/or issue via
gh issue comment N --body "..."(run through /humanizer first). gh issue close Nif applicable.
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.
- 3d ago Changed · +42 tokens per session c6aeaa9d7fec
- 5d ago First seen · 162 lines · 2,194 tokens per session scan A cae4bfdd4e06
planning-with-files AGENTS.md is an instructions file published in the GitHub repository OthmanAdi/planning-with-files (26,631 stars, last pushed 2d ago), licensed MIT. It adds 2,236 tokens to every session, about $0.0112 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 instructions, from other repositories
relay AGENTS.md
AGENTS.md instructions for AgentWorkforce/relay, covering git workflow rules, never push directly to main, correct workflow, ... do work .. and stop here - let user merge.
agentistics AGENTS.md
AGENTS.md instructions for blpsoares/agentistics, covering before starting implementation work, opening a pr, merging: squash a feature, merge a release, documentation and scope discipline.
team-of-agents CLAUDE.md
Instructions for pranav8494/team-of-agents, covering claude.md, project rules for ai assistants and git commits.
bro-skills CLAUDE.md
Claude Code instructions for wedabro/bro-skills, covering bro-skills, 1. supreme order, 2. bro-skills protocol, 3. language & code and 4. safety.
octowiz CLAUDE.md
Instructions for raelli/octowiz, covering octowiz, releasing & deploying, commands, agent skills and issue tracker.
teguma AGENTS.md
AGENTS.md instructions for Doyajin174/teguma, covering teguma 운영환경, 핵심 원칙, 브랜치·워크트리 규약, 커밋 규약 (conventional commits) and 1. 리뷰 절차.