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.
.opencode/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)
- 27,973
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: opencode
- 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
SKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesSKILL.mdcore · 15,802 bytesexamples.mddoc · 4,518 bytesplan-inventory.mddoc · 9,565 bytesreference.mddoc · 8,455 bytesscripts/check-complete.ps1runs · 1,866 bytesscripts/check-complete.shruns · 1,804 bytesscripts/gate-stop.shruns · 1,452 bytesscripts/init-session.ps1runs · 2,542 bytesscripts/init-session.shruns · 2,332 bytesscripts/inject-plan.pyruns · 67,801 bytesscripts/inject-plan.shruns · 63,169 bytesscripts/ledger-summary.shruns · 6,705 bytesscripts/resolve-plan-dir.shruns · 15,717 bytesscripts/session-catchup.pyruns · 32,827 bytesscripts/set-active-plan.ps1runs · 43,697 bytesscripts/set-active-plan.shruns · 39,513 bytesscripts/skill-hook.shruns · 19,809 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. Use the installed `scripts/resolve-plan-dir.sh` (or `.ps1`) with the host's `PLAN_ID` and `PWF_PLAN_ROOT`, then read `task_plan.md`, `progress.md`, and `findings.md` from that selected directory. If an explicit selector is rejected, or multiple named plans exist without `PLAN_ID`, correct the pin and do not fall back to another task. Run `git diff --stat` for code changes not yet recorded there. All planning filenames below mean that selected directory. For parallel tasks, pin each host before it starts or use separate worktrees; a child process export does not change its host. One orchestrator owns a shared plan and summaries, while workers use assigned files or ledgers.
```bash
# Linux/macOS (auto-detects python3 or python)
SKILL_DIR=""; for c in ~/.agents/skills/planning-with-files ~/.config/opencode/skills/planning-with-files ~/.claude/skills/planning-with-files .agents/skills/planning-with-files .opencode/skills/planning-with-files; do [ -f "$c/scripts/session-catchup.py" ] && { SKILL_DIR="$c"; break; }; done
$(command -v python3 || command -v python) "${SKILL_DIR}/scripts/session-catchup.py" --metadata "$(pwd)"
```