據 AlphaMoat 統計,截至 2026-09,planning-with-files 累計下載 1,589 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,709 位,在「AI 智慧體」分類(969 個)中排名第 915 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 37 | 1317 | - | - |
| SkillHub ↗ | 106 | 1589 | - | — |
各平台的計數口徑不同,統計時間不一致。
主文建議將任務目標、階段、研究發現和進度寫入檔案,以便跨階段或跨會話恢復。其初始化指令碼會處理任務描述文字;隨附卡片指出,不安全的模板替換可能把特製任務文字變成本地命令執行。因此應先審閱指令碼,只在可信工作區使用,並避免把不可信輸入傳入尚未安全處理的初始化流程。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 1589 | — | - |
| 2026-08 | 1327 | +10.2% | - |
| 2026-07 | 1204 | +20.8% | - |
| 2026-06 | 997 | +13.3% | - |
| 2026-05 | 880 | — | - |
| 2026-03 | 548 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
name: planning-with-files
description: "This skill should be used when the user asks to start a complex task, research project, multi-step implementation, or any task expected to require more than 5 tool calls. Triggers: 'plan this', 'start planning', 'help me build', 'research and implement', 'complex task', '/plan'."
metadata: { "openclaw": { "emoji": "📋", "version": "1.0.0", "author": "shannon/openclaw-port" } }
---
# Planning with Files
Manus-style persistent markdown planning. Filesystem = long-term memory. Context window = working RAM.
## Core Principle
```
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important MUST be written to disk.
```
## When to Use
- Multi-step tasks (3+ phases or 5+ tool calls)
- Research + implementation tasks
- Tasks that span multiple sessions
- Any task where goal-drift is a risk
Skip for: single-file edits, quick lookups, simple questions.
## Session Start Protocol
**ALWAYS do this first — no exceptions:**
1. Run the init script to create the three planning files:
```
exec: bash {baseDir}/scripts/init-session.sh "<task description>"
```
2. Fill in the `## Goal` section in `task_plan.md` with the full task description.
3. Break the task into 3–7 phases and add them under `## Phases`.
4. Confirm files exist before proceeding.
If exec is not available, create the three files manually using the templates in `{baseDir}/templates/`.
## The Three Files
### task_plan.md — Goal tracker (MOST IMPORTANT)
- Created at session start, never deleted
- Re-read before every major decision
- Update when: phase completes, decision made, error encountered
### findings.md — Knowledge store
- Research results, discoveries, technical decisions
- **2-Action Rule**: after every 2 view/search/fetch operations → update findings.md immediately
### progress.md — Session log
- Actions taken, test results, errors encountered
- Append-only; never rewrite history
## Work Loop
```
BEFORE every major action:
→ Re-read task_plan.md (keeps goal in attention)
EVERY 2 view/search/fetch operations:
→ Save key findings to findings.md NOW
AFTER completing a phase:
→ Update phase status in task_plan.md to "complete"
→ Append phase summary to progress.md
WHEN an error occurs:
→ Log it in task_plan.md under ## Errors table
→ Never repeat the same failing action
BEFORE stopping:
→ Run: exec bash {baseDir}/scripts/check-complete.sh
→ Only stop if all phases show "complete"
```
## File Update Rules
| Trigger | File to update | Section |
|---------|---------------|---------|
| Start task | task_plan.md | Goal + Phases |
| 2nd research op | findings.md | Key Findings |
| Make decision | findings.md | Technical Decisions |
| Phase done | task_plan.md | Phase status → complete |
| Phase done | progress.md | Phase summary |
| Error | task_plan.md | Errors table |
| Test result | progress.md | Test Results |
## Error Recovery Protocol
```
ATTEMPT 1: Diagnose & Fix
→ Read error carefully → identify root cause → targeted fix
ATTEMPT 2: Alternative Approach
→ Same error? Try different tool/library/method
→ NEVER repeat the exact same failing action
ATTEMPT 3: Broader Rethink
→ Question assumptions → search for solutions → update plan
AFTER 3 FAILURES:
→ Escalate to user: explain what was tried, share the error, ask for guidance
```
## Completion Verification
Before telling the user the task is done:
1. Run `exec bash {baseDir}/scripts/check-complete.sh`
2. If any phase is NOT "complete" → continue working
3. Only deliver result when all phases are checked off
## Session Recovery
If context was cleared (e.g., `/clear`), resume by:
1. Reading `task_plan.md` to restore goal and phase status
2. Reading `progress.md` to see what was done
3. Reading `findings.md` to restore research context
4. Continuing from the first incomplete phase
## Key Principles
- **Plan is Required**: Never start a complex task without `task_plan.md`
- **Files are Memory**: Context is volatile. Filesystem is permanent. Write important things down.
- **Never Repeat Failures**: Track what was tried. Mutate the approach.
- **Error Recovery = Agentic Behavior**: How you handle failures defines task quality.
- **Re-read Before Deciding**: Attention manipulation — keep the goal visible.
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。