New advertisers: 50% off your first month with code FIRSTMONTHSee slots
othmanadi avatar

Planning With Files Zht

Structured planning files on disk keep multi-step agent work on track across context limits and session resets.

skills.sh installs
8K
GitHub stars
28.2K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the task_plan.md, findings.md, and progress.md workflow, with plan files kept in the selected project task directory rather than the skill folder
  • Includes templates, init-session.sh for new plans, and check-complete.sh --validate to check phase format before implementation
  • Enforces a two-action save rule, read-before-decide, and a three-failure escalation protocol to prevent repeated errors
  • Designed for research or multi-step work exceeding five tool calls; session catchup reads only project plan files unless explicitly opted into metadata or replay

Install

$ npx -y skills add othmanadi/planning-with-files --skill planning-with-files-zht -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

檔案規劃系統

像 Manus 一樣工作:用持久化的 Markdown 檔案作為你的「磁碟工作記憶」。

第一步:恢復專案狀態

繼續之前,先解析此任務所屬的計畫目錄:

  1. 使用已安裝的 scripts/resolve-plan-dir.sh(或 .ps1),配合主機的 PLAN_ID 與 PWF_PLAN_ROOT,從這一個選定目錄讀取 task_plan.md、progress.md 和 findings.md。
  2. 若明確選擇器被拒絕,或工作階段隔離已啟用且有多個計畫卻沒有 PLAN_ID,請修正釘選,不要退回另一項任務。只有沒有適用的選擇器或具名計畫時,才使用專案根目錄的舊檔案。
  3. 執行 git diff --stat,查看尚未記錄的程式碼變更。

下列所有規劃檔案名稱都指向這個選定目錄。平行任務時,請在啟動每個主機前釘選它,或使用獨立 worktree;在子程序中匯出變數不會改變主機環境。一位協調者擁有共享計畫與摘要,工作者使用指派的檔案或帳本。

自動恢復到此為止。未指定模式的 session-catchup.py 與生命週期鉤子不會檢查代理工作階段儲存區。只有在使用者明確要求查閱本機工作階段歷史時,才能選擇下列模式:

# Linux/macOS
SKILL_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/skills/planning-with-files-zht}"
# 只顯示同一專案的項目數,不輸出逐字稿摘錄
$(command -v python3 || command -v python) "${SKILL_DIR}/scripts/session-catchup.py" --metadata "$(pwd)"

# 明確要求的限量重播,以 nonce 框定同一專案的摘錄
$(command -v python3 || command -v python) "${SKILL_DIR}/scripts/session-catchup.py" --replay "$(pwd)"
# Windows PowerShell
& (Get-Command python -ErrorAction SilentlyContinue).Source "$env:USERPROFILE\.claude\skills\planning-with-files-zht\scripts\session-catchup.py" --metadata (Get-Location)
# 只有在使用者明確同意後,才能將 --metadata 改為 --replay。

Details

Repository
github.com/othmanadi/planning-with-files
Categories
Agent Workflow & Planning, Memory & Context
First seen
Apr 16, 2026

More from othmanadi/planning-with-files

All 7

Similar to Planning With Files Zht

More Agent Workflow & Planning