Planning with Files
Skill : A reusable method: instructions, procedures, sometimes scripts or templates · requires claude-code
A skill that makes the agent keep its plan, findings and progress in three Markdown files, to survive context loss.
On a long task, the agent forgets: compaction, a new session, a clear command. Planning with Files moves the working memory into the project. One file holds the plan and its checkboxes, another the research and decisions, a third the log. Hooks re-inject the active plan at every turn and restore the current phase after an interruption. An optional mode keeps the agent from stopping while a phase is still open. The method is simple, readable and checkable by a human. Files from a finished task are not archived: the next one overwrites them. The announced gains are measured by the project.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
On a long task, a coding agent eventually loses the thread: the context gets compacted, the session restarts, or you type /clear. Planning with Files tackles this by moving the working memory out of the conversation and into your project.
In practice, the skill maintains three Markdown files: task_plan.md holds the phases and their checkboxes, findings.md the research notes and decisions, and progress.md the session log and test results. At each message a hook re-injects the relevant context of the active plan, and after a /clear or a new session the agent re-reads these files to resume at the current phase. An optional mode can also hold the agent back until the plan is complete.
It is aimed at people who hand an agent work that lasts several hours or several sessions, and who want a plan that is readable and checkable by hand. It works with Claude Code, Codex, Cursor, Gemini CLI, OpenCode and other agents that follow the Agent Skills standard.
It adds little to short requests, where a plan on disk brings nothing. It is also not meant to recall facts from past sessions: the project distinguishes it from agent memory tools, which it can run alongside. Files are not archived automatically when a task ends.
What it offers
- ·Three Markdown files in the project (task_plan.md, findings.md, progress.md) hold the plan, the findings and the progress log.
- ·A hook re-injects selected context from the active plan at each message, to limit drift as the conversation grows.
- ·After a /clear, a compaction or a new session, the agent re-reads the project files and resumes at the current phase.
- ·An optional stop-gate mode keeps the agent from stopping until the plan reports complete.
- ·Parallel tasks each get a .planning/YYYY-MM-DD-slug directory with the same three files, selected via .active_plan.
- ·A finished plan can be set aside with set-active-plan.sh --archive, which previews the move first and applies it with --yes.
- ·Native integrations exist for Claude Code, Codex CLI, OpenCode and other hosts, plus a generic route through the Agent Skills standard.
- ·Translated variants of the skill are offered in Arabic, German, Spanish and Chinese (Simplified and Traditional).
In practice
- Price
- Free
- Commercial use
- Commercial use: yes
- Available on
- claude-code, codex, cursor, any-agent, gemini-cli, opencode
- Host
- claude-code
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Data stays local
- Maintenance
- Active
- Last release
- 28 November 2026
Links and repository checked on 30 November 2026 · added on 30 November 2026
How to install Planning with Files
npx skills add OthmanAdi/planning-with-files --skill planning-with-files -g