Planning with Files
Gives Claude persistent on-disk working memory — task_plan.md, findings.md, progress.md — so long multi-step work survives context loss and compaction.
AutomationIntermediate★ 27,074⑂ 2,254AI score 10/10Last updated: Sep 22, 2026
What it does
- Creates and maintains
task_plan.md(phases, decisions),findings.md(research), andprogress.md(session log) inside your project directory. - Enforces the "context = RAM, filesystem = disk" pattern: anything important gets written out before it's lost.
- Registers lifecycle hooks (UserPromptSubmit, PreToolUse, PostToolUse, Stop, PreCompact) that inject the selected plan context and preserve state across compaction.
- Ships helper scripts:
init-session.sh,check-complete.sh,set-active-plan.sh --list, andsession-catchup.py --metadata/--replayfor same-project session aggregation. - Encodes operating rules: save findings every 2 view/search operations, re-read the plan before decisions, log every error, and escalate after 3 failed attempts.
Who it's for
- Anyone running research, refactors, or build-outs that span 5+ tool calls.
- Users frustrated by an agent that forgets the goal mid-session or repeats the same failing action.
- Teams running parallel tasks who need each plan pinned via
PLAN_IDor separate worktrees.
Example uses
- "Audit the auth flow across this repo" →
init-session.sh "auth-audit"creates the plan dir; discoveries land infindings.mdevery couple of lookups. - A long migration hits context compaction — the PreCompact hook plus re-reading
task_plan.mdrestores exactly which phase is in progress. - A build keeps failing — the 3-strike protocol forces a different approach and records each attempt in the error table so nothing is retried blindly.
· · · 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/.cursor/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 .cursor/skills/planning-with-files folder from the GitHub repo OthmanAdi/planning-with-files into my ~/.claude/skills/othmanadi-planning-with-files-4/. 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/pwf && mkdir -p ~/.claude/skills && cp -r /tmp/pwf/.cursor/skills/planning-with-files ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Clone the repo:
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/pwf - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r /tmp/pwf/.cursor/skills/planning-with-files ~/.claude/skills/ - Make scripts executable:
chmod +x ~/.claude/skills/planning-with-files/scripts/*.sh - Confirm Python is available (
python3 --version) forsession-catchup.py. - If you installed to a non-standard path, export the override:
export PWF_SCRIPT_DIR=~/.claude/skills/planning-with-files/scripts - Restart Claude Code, open your project root, and ask it to "create a plan file for this task" — verify
task_plan.mdappears in the project, not the skill folder. - Sanity-check the listing command:
sh ~/.claude/skills/planning-with-files/scripts/set-active-plan.sh --list
View source on GitHub ↗License: MIT