yingcd

planning-with-files

AIエージェントv1.0.0
作者:yingcd更新日 2026-05-11planning-with-files-from-github@clawhub_yingcd/planning-with-files-from-github
タスク自動化マルチエージェント協調ワークフロー編成

AlphaMoatによると、2026-09時点でplanning-with-filesのダウンロード数は1,589、スター数は0で、AIスキル全体5,078件中4,709位、AIエージェントでは969件中915位です。

インストール数
106
ダウンロード数
1589
スター数
-
総合順位
#4,709
全体の上位 93% · AIエージェントの上位 95%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗371317--
SkillHub ↗1061589-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文では、目標、フェーズ、調査結果、進捗をファイルに記録し、フェーズ間やセッション間で作業を再開できるよう勧めています。初期化スクリプトはタスク説明文を処理します。付属カードは、安全でないテンプレート置換により細工された説明がローカルコマンド実行につながる可能性を警告しています。スクリプトを先に確認し、信頼できるワークスペースだけで使い、安全なデータ処理が確認できない初期化処理へ未信頼の入力を渡さないでください。

資料公開日 2026-10-29

できること

  • 複数段階の作業に目標、調査、進捗の記録を作る
  • 各フェーズの完了時にタスク状態を更新する
  • 初期化処理によるタスク文の扱いを確認する

使う場面

  • 作業が複数の段階やセッションにまたがるとき
  • 進捗を保存して目標の逸脱を防ぎたいとき
  • スクリプトを確認し、信頼できるワークスペースだけで使えるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

このプロジェクトを計画する前に初期化処理のタスク文の扱いを確認する
未信頼の文を実行せず、フェーズ一覧と進捗記録を作る
保存すべき発見事項と計画ファイルに残すべきでない機密情報を区別する

月次の推移

ダウンロード数1589
465106916722026-03 · ダウンロード数 5482026-05 · ダウンロード数 8802026-06 · ダウンロード数 9972026-07 · ダウンロード数 12042026-08 · ダウンロード数 13272026-09 · ダウンロード数 158926-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-091589—-
2026-081327+10.2%-
2026-071204+20.8%-
2026-06997+13.3%-
2026-05880—-
2026-03548—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.3 KB・ClawHub v1.0.0
---
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.
すべて表示(全 130 行)
## 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.

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。