Individual skill
planning-with-files
Persistent file-based planning for multi-step AI-agent work. Keeps task_plan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and emits aggregate counts only; --replay may emit bounded nonce-framed excerpts. Optional gated mode can request continuation only when the host supports it and never runs commands declared in Markdown. The skill has no network upload path. Use for research or work needing 5+ tool calls.
.pi/skills/planning-with-files/SKILL.md
Source commit 2362ca385ad74f061aa0e7b73f56543a4b7e6df2
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 28,008
- Repository last updated
- Nov 10, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- manus Repository topic
- agent-skills Repository topic
- planning Repository topic
- autonomous-agents Repository topic
- codex Repository topic
- cursor Repository topic
- multi-agent-systems Repository topic
- research Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 110,781 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesSKILL.mdcore · 41,800 bytesexamples.mddoc · 4,518 bytesextensions/planning-with-files/README.mddoc · 3,002 bytesextensions/planning-with-files/__tests__/attestation.test.tsruns · 8,970 bytesextensions/planning-with-files/__tests__/plan-anchor.test.tsruns · 10,937 bytesextensions/planning-with-files/__tests__/runtime.test.tsruns · 37,156 bytesextensions/planning-with-files/attestation.tsruns · 1,371 bytesextensions/planning-with-files/constants.tsruns · 1,525 bytesextensions/planning-with-files/index.tsruns · 211 bytesextensions/planning-with-files/package-lock.jsonasset · 123,406 bytesextensions/planning-with-files/package.jsonruns · 337 bytesextensions/planning-with-files/plan.tsruns · 12,831 bytesextensions/planning-with-files/runtime.tsruns · 30,631 bytespackage.jsonruns · 1,545 bytesplan-inventory.mddoc · 9,565 bytesreference.mddoc · 8,455 bytesscripts/attest-plan.ps1runs · 26,917 bytesscripts/attest-plan.shruns · 14,701 bytesscripts/check-complete.ps1runs · 12,857 bytesscripts/check-complete.shruns · 13,730 bytesscripts/gate-stop.shruns · 1,452 bytesscripts/init-session.ps1runs · 19,396 bytesscripts/init-session.shruns · 15,800 bytesscripts/inject-plan.pyruns · 67,801 bytesscripts/inject-plan.shruns · 63,169 bytesscripts/ledger-append.ps1runs · 6,877 bytesscripts/ledger-append.shruns · 12,190 bytesscripts/ledger-summary.ps1runs · 5,368 bytesscripts/ledger-summary.shruns · 6,705 bytesscripts/phase-status.ps1runs · 10,457 bytesscripts/phase-status.shruns · 7,567 bytesscripts/plan-doctor.shruns · 9,248 bytesscripts/resolve-plan-dir.ps1runs · 11,785 bytesscripts/resolve-plan-dir.shruns · 15,717 bytesscripts/session-catchup.pyruns · 37,323 bytesscripts/set-active-plan.ps1runs · 43,697 bytesscripts/set-active-plan.shruns · 39,513 bytesscripts/skill-hook.shruns · 19,809 bytesscripts/verify-shell-line-endings.mjsruns · 1,350 bytestemplates/analytics_findings.mddoc · 1,803 bytestemplates/analytics_task_plan.mddoc · 2,581 bytestemplates/findings.mddoc · 1,161 bytestemplates/loop.mddoc · 2,143 bytestemplates/progress.mddoc · 1,547 bytestemplates/task_plan.mddoc · 2,257 bytes
Read excerpt
# 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:
1. Use the installed `scripts/resolve-plan-dir.sh` (or `.ps1`) with the task's `PLAN_ID` and `PWF_PLAN_ROOT`. Read `task_plan.md`, `progress.md`, and `findings.md` from that one selected directory. A root `task_plan.md` must not override a selected `.planning/<id>/` plan.
2. If an explicit selector is rejected, or multiple named plans exist without `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.
3. Run `git diff --stat` to 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.