planning-with-files
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Planning with Files
Work like Manus: Use persistent markdown files as your "working memory on disk."
FIRST: Restore Project State
Before continuing, resolve the plan this task owns:
- Use the installed
scripts/resolve-plan-dir.sh(or.ps1) with the task'sPLAN_IDandPWF_PLAN_ROOT. Readtask_plan.md,progress.md, andfindings.mdfrom that one selected directory. A roottask_plan.mdmust not override a selected.planning/<id>/plan. - If an explicit selector is rejected, or session isolation is armed with multiple plans and no
PLAN_ID, stop plan recovery and correct the pin. Do not fall back to another task. Use the legacy project-root files only when no selector or named plan applies. - Run
git diff --statto see code changes that may not yet be recorded in the planning files.
All planning filenames below refer to this selected directory, even when the shell runs elsewhere. For parallel tasks, pin each host before starting it or use separate worktrees. A worker joining an existing task uses its assigned plan; it must not create or overwrite a competing root plan.
Automatic recovery stops there. Bare session-catchup.py and lifecycle hooks do not inspect agent session stores. Only when the user explicitly asks to consult local session history, choose one of these modes: