Planning with Files
Keeps task_plan.md, findings.md, and progress.md on disk so the agent never loses its goal or progress across long, multi-step work.
AutomationIntermediate★ 27,074⑂ 2,254AI score 10/10Last updated: Sep 22, 2026
What it does
- Creates and maintains
task_plan.md(phases and decisions),findings.md(research), andprogress.md(session log) inside your project directory. - Uses lifecycle hooks (UserPromptSubmit, PreToolUse, PostToolUse, Stop, PreCompact) to re-inject plan context, so state survives compaction and session restarts.
- Enforces hard rules: save findings after every 2 view/search operations, re-read the plan before decisions, log every error, and escalate to the user after 3 failed attempts.
- Ships helper scripts:
init-session.sh,check-complete.sh,set-active-plan.sh --list, andsession-catchup.py --metadata/--replayfor state recovery.
Who it's for
- Anyone running research, refactor, or build tasks that need 5+ tool calls.
- Developers frustrated by the agent forgetting the original goal once context fills up.
- Teams splitting work across sessions or multiple workers (one orchestrator plus worktrees).
Example uses
- Large codebase migration: build a phased plan, flip each phase
in_progress → complete, and accumulate an error table so failures aren't repeated. - Competitive research: after every two web lookups, dump key takeaways into
findings.mdso screenshot/PDF context isn't lost. - Resuming days later: run
set-active-plan.sh --list, pin thePLAN_ID, read the three planning files, and continue exactly where you stopped.
· · · 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/.codex/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 .codex/skills/planning-with-files folder from the GitHub repo OthmanAdi/planning-with-files into my ~/.claude/skills/othmanadi-planning-with-files-2/. 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/.codex/skills/planning-with-files ~/.claude/skills/ && rm -rf /tmp/pwf⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo to a temp folder:
git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/pwf - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/pwf/.codex/skills/planning-with-files ~/.claude/skills/ - (If you also use Codex, copy the same folder into
~/.codex/skills/.) - Make scripts executable:
chmod +x ~/.claude/skills/planning-with-files/scripts/*.sh - Verify Python is available with
python3 --version(needed bysession-catchup.py). - If you installed to a non-standard path, add
export PWF_SCRIPT_DIR=~/.claude/skills/planning-with-files/scriptsto your shell config. - Restart Claude Code, go to your project root, and ask it to "track this task with planning files" to confirm the hooks fire.
View source on GitHub ↗License: MIT