据 AlphaMoat 统计,截至 2026-09,planning-with-files 累计下载 1,589 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,709 位,在「AI 智能体」分类(969 个)中排名第 915 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 37 | 1,317 | - | - |
| SkillHub ↗ | 106 | 1,589 | - | — |
各平台的计数口径不同,统计时间不一致。
主文建议将任务目标、阶段、研究发现和进度写入文件,以便跨阶段或跨会话恢复。其初始化脚本会处理任务描述文本;随附卡片指出,不安全的模板替换可能把特制任务文本变成本地命令执行。因此应先审阅脚本,只在可信工作区使用,并避免把不可信输入传入尚未安全处理的初始化流程。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 1,589 | — | - |
| 2026-08 | 1,327 | +10.2% | - |
| 2026-07 | 1,204 | +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 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。