Planning with Files
Keeps task_plan.md, findings.md and progress.md on disk so multi-step work survives /clear, compaction and context loss.
What it does
Brings Manus-style "working memory on disk" to Claude Code. Before any complex task, it creates and maintains three files in your project directory:
task_plan.md— phases, status, next step, decisions journalfindings.md— everything discovered during researchprogress.md— session log, test results, errors
UserPromptSubmit / PreToolUse / PreCompact / Stop hooks re-inject the plan into context automatically, and session-catchup.py recovers state after /clear or compaction. It also ships battle-tested rules (save findings every 2 view/search operations, 3-strike error protocol, 5-question reboot test), parallel plans under .planning/<date-slug>/, SHA-256 plan attestation, opt-in autonomous/gated modes with a completion gate, and a parallel-write guard that warns when another session clobbers progress.
Who it's for
- Anyone running refactors, migrations or research that span many steps and tool calls
- People tired of losing the thread when context fills up or after
/clear - Developers juggling several tasks in one repo who want isolated plans
- Users running long autonomous agent loops that need a termination oracle and runaway guards
Examples
- "Migrate the legacy auth module to OAuth" → a 6-phase plan lands in
task_plan.md; even after/clear, the next turn re-reads the plan and resumes exactly where it stopped. - Two workstreams in one repo:
./scripts/init-session.sh "Backend Refactor"and"Incident Investigation", then switch withset-active-plan.shor pin a terminal viaPLAN_ID. - Overnight build pipeline:
init-session.sh --gated "Build Pipeline"turns on the Stop gate so the agent won't quit with an in_progress phase, while the block cap and stall detector prevent infinite loops.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/OthmanAdi/planning-with-files/HEAD/skills/planning-with-files/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/planning-with-files folder from the GitHub repo OthmanAdi/planning-with-files into my ~/.claude/skills/othmanadi-planning-with-files-11/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/planning-with-files && mkdir -p ~/.claude/skills && cp -r /tmp/planning-with-files/skills/planning-with-files ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo to a temp folder:
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/planning-with-files - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r /tmp/planning-with-files/skills/planning-with-files ~/.claude/skills/ - (Recommended) To also get the
/plan-goaland/plan-loopslash commands, install via the plugin route instead: run/plugin marketplace add OthmanAdi/planning-with-filesin Claude Code, then/plugin install. - Restart Claude Code so the hooks register.
- Open a project and ask "plan this out step by step" —
task_plan.mdwill be created in the project root. - If the hooks seem quiet, run
sh ~/.claude/skills/planning-with-files/scripts/plan-doctor.shfor a self-check. Note thatsession-catchup.pyrequires python3.