planning-with-files

Keep plans in files instead of context, so progress survives a cleared conversation.

planning-with-files is for multi-day work: it writes the plan into files (task_plan / findings / progress) so progress is traceable and handover is possible. It does not judge direction — use criteria-audit for that.

Planning & executionagents 2MIT downloadable Scan upstream repo ↗

Upstream:OthmanAdi/planning-with-files · ★ 28272 · last commit 2026-11-25 (3d)

What it is

planning-with-files makes the agent write the plan into a file (e.g. task_plan.md) instead of leaving it in chat. Progress, blockers and next steps survive into the next session.

Core workflow

StageContent
Triggertasks needing 5+ tool calls, multi-session or interruption-prone
Inputgoal plus the project directory
Stepsrestore task_plan.md, progress.md, findings.md → update after each step → verify at completion
Outputthree files: plan, findings, progress (inside the project)
Boundaryunnecessary for simple tasks; decides nothing for you; no network upload

Getting started

  1. Have the agent write goal / steps / acceptance criteria first;
  2. Update the file after each step, not at the end;
  3. Keep it at the project root and tell each new session to read it.

Traits

  • Files as working memory: plan, findings and progress are separate and survive sessions;
  • starts with git diff --stat to catch changes not yet recorded;
  • has a 3-strike error protocol (diagnose → change approach → rethink → escalate);
  • supports named plans and parallel sessions (PLAN_ID, PWF_PLAN_ROOT);
  • ships hooks that inject plan context at session start.

Who it is for and who it is not for

Good fitPoor fit
Tasks longer than a day with interruptions;; Handoffs between people or agents;; Audits of “why was it sequenced this way”.Small tasks that finish in one conversation (the file slows you down);; Pure exploration with no defined steps yet.

How it differs

NeedUse
Trackable multi-step workplanning-with-files
Decide whether to do itcriteria-audit
One-off breakdownjust ask the agent for steps

Source-level risks

RiskSourceImpact
plan content treated as instructionshooks inject task_plan.mdprompt-injection surface from plan text
reads local session recordssession-catchup.py --metadata/--replayprivacy: same-project session data
writes files into the repo“Where Files Go”repo pollution; add to .gitignore
parallel session collisionsPLAN_ID / .active_planwrong plan may be read

Example: input and output

Input

Break 'launch a bilingual blog' into an executable two-week plan.

Output

Writes task_plan.md (phases / tasks / dependencies / acceptance), findings.md (decisions and why), progress.md (weekly status); updates as work lands.

Check: every task has acceptance criteria; progress shows where it's stuck.

FAQ

How is this different from a to-do list?

It records why decisions were made and how far things got, not just what to do next.

Where do the files live?

In the project directory, versioned with the code or docs.

Is it worth it solo?

Yes for anything longer than two days — it prevents forgotten context and repeated debates.

Common tasks

CategoryPlanning & execution
Version2026-10-20
Agent supportClaude Code, Generic (reads SKILL.md)
OSmacOS / Linux / Windows
Dependenciesnone
Environmentfile read/write
Scriptsnone
LicenseMIT
SourceOthmanAdi/planning-with-files ↗
Verification✓ verified
Get itDownload zip
SHA256: 8adb2a77c7b9f96b0ae4f63975c4a443b2933825e3ba4067658714c4b7a3c979 · 0.1 MB

"Generic (agents that read SKILL.md)" means any agent that discovers and loads SKILL.md; support level (auto-discovery, manual config, script execution) varies by agent.

Install
unzip planning-with-files-2026-10-20.zip -d ~/.claude/skills/

Skills directory example: ~/.claude/skills/ for Claude Code; other agents use wherever SKILL.md is discovered.

Comparison: which one?