Agent SkillsGalaxy-Dawn/claude-scholar › planning-with-files

planning-with-files

GitHub

提供基于持久化文件的复杂任务规划技能,通过创建计划、笔记和交付物文件来管理多步骤工作,确保进度追踪与上下文持久化。

skills/planning-with-files/SKILL.md Galaxy-Dawn/claude-scholar

触发场景

需要多步协作的复杂任务 需跨阶段跟踪进度 需持久化存储研究结果

安装

npx skills add Galaxy-Dawn/claude-scholar --skill planning-with-files -g -y
更多选项

不安装直接使用

npx skills use Galaxy-Dawn/claude-scholar@planning-with-files

指定 Agent (Claude Code)

npx skills add Galaxy-Dawn/claude-scholar --skill planning-with-files -a claude-code -g -y

安装 repo 全部 skill

npx skills add Galaxy-Dawn/claude-scholar --all -g -y

预览 repo 内 skill

npx skills add Galaxy-Dawn/claude-scholar --list

SKILL.md

Frontmatter
{
    "name": "planning-with-files",
    "version": "0.1.0",
    "description": "Use this by default for non-trivial multi-step work that needs persistent planning, progress tracking, or durable notes on disk. Trigger when a task will likely span multiple tool calls, research steps, verification loops, or enough context that the plan should not live only in transient chat memory."
}

Planning with Files

Work like Manus: use persistent markdown files as your working memory on disk.

This is not just an optional planning style. It should be the default persistence layer for complex Codex work.

Use it proactively when:

  • the task will likely take more than a few tool calls
  • progress needs to be tracked across phases
  • findings or evidence must be preserved while working
  • the task may branch, pause, or resume later
  • relying on chat context alone would be fragile

Quick Start

Before ANY complex task:

  1. Create task_plan.md in the working directory
  2. Define phases with checkboxes
  3. Update after each phase - mark [x] and change status
  4. Read before deciding - refresh goals in attention window

The 3-File Pattern

For every non-trivial task, create THREE files:

File Purpose When to Update
task_plan.md Track phases and progress After each phase
notes.md Store findings and research During research
[deliverable].md Final output At completion

Core Workflow

Loop 1: Create task_plan.md with goal and phases
Loop 2: Research → save to notes.md → update task_plan.md
Loop 3: Read notes.md → create deliverable → update task_plan.md
Loop 4: Deliver final output

The Loop in Detail

Before each major action:

Read task_plan.md  # Refresh goals in attention window

After each phase:

Edit task_plan.md  # Mark [x], update status

When storing information:

Write notes.md     # Don't stuff context, store in file

task_plan.md Template

Create this file FIRST for any complex task:

# Task Plan: [Brief Description]

## Goal
[One sentence describing the end state]

## Phases
- [ ] Phase 1: Plan and setup
- [ ] Phase 2: Research/gather information
- [ ] Phase 3: Execute/build
- [ ] Phase 4: Review and deliver

## Key Questions
1. [Question to answer]
2. [Question to answer]

## Decisions Made
- [Decision]: [Rationale]

## Errors Encountered
- [Error]: [Resolution]

## Status
**Currently in Phase X** - [What I'm doing now]

notes.md Template

For research and findings:

# Notes: [Topic]

## Sources

### Source 1: [Name]
- URL: [link]
- Key points:
  - [Finding]
  - [Finding]

## Synthesized Findings

### [Category]
- [Finding]
- [Finding]

Critical Rules

1. ALWAYS Create Plan First

Never start a complex task without task_plan.md. This is non-negotiable.

2. Read Before Decide

Before any major decision, read the plan file. This keeps goals in your attention window.

3. Update After Act

After completing any phase, immediately update the plan file:

  • Mark completed phases with [x]
  • Update the Status section
  • Log any errors encountered

4. Store, Don't Stuff

Large outputs go to files, not context. Keep only paths in working memory.

5. Log All Errors

Every error goes in the "Errors Encountered" section. This builds knowledge for future tasks.

When to Use This Pattern

Use 3-file pattern for:

  • Multi-step tasks (3+ steps)
  • Research tasks
  • Building/creating something
  • Tasks spanning multiple tool calls
  • Anything requiring organization

Skip for:

  • Simple questions
  • Single-file edits
  • Quick lookups

Anti-Patterns to Avoid

Don't Do Instead
Use TodoWrite for persistence Create task_plan.md file
State goals once and forget Re-read plan before each decision
Hide errors and retry Log errors to plan file
Stuff everything in context Store large content in files
Start executing immediately Create plan file FIRST

Advanced Patterns

See reference.md for:

  • Attention manipulation techniques
  • Error recovery patterns
  • Context optimization from Manus

See examples.md for:

  • Real task examples
  • Complex workflow patterns

版本历史

  • 2f7766f 当前 2026-07-25 09:09

同 Skill 集合

skills/agent-identifier/SKILL.md
skills/architecture-design/SKILL.md
skills/bug-detective/SKILL.md
skills/citation-verification/SKILL.md
skills/code-review-excellence/SKILL.md
skills/command-development/SKILL.md
skills/daily-coding/SKILL.md
skills/daily-paper-generator/SKILL.md
skills/doc-coauthoring/SKILL.md
skills/expression-skill/SKILL.md
skills/frontend-design/SKILL.md
skills/git-workflow/SKILL.md
skills/kaggle-learner/SKILL.md
skills/latex-conference-template-organizer/SKILL.md
skills/mcp-integration/SKILL.md
skills/ml-paper-writing/SKILL.md
skills/nature-polishing/SKILL.md
skills/nature-response/SKILL.md
skills/nature-writing/SKILL.md
skills/obsidian-kb-artifacts/SKILL.md
skills/obsidian-literature-workflow/SKILL.md
skills/obsidian-project-kb-core/SKILL.md
skills/obsidian-source-ingestion/SKILL.md
skills/paper-self-review/SKILL.md
skills/plugin-structure/SKILL.md
skills/post-acceptance/SKILL.md
skills/publication-chart-skill/SKILL.md
skills/research-ideation/SKILL.md
skills/results-analysis/SKILL.md
skills/results-report/SKILL.md
skills/review-response/SKILL.md
skills/skill-development/SKILL.md
skills/skill-improver/SKILL.md
skills/skill-quality-reviewer/SKILL.md
skills/ui-ux-pro-max/SKILL.md
skills/uv-package-manager/SKILL.md
skills/verification-loop/SKILL.md
skills/web-design-reviewer/SKILL.md
skills/webapp-testing/SKILL.md
skills/zotero-obsidian-bridge/SKILL.md
skills/hook-development/SKILL.md
skills/nature-data/SKILL.md
skills/writing-anti-ai/SKILL.md
skills/defuddle/SKILL.md

元信息

文件数
0
版本
6ed46da
Hash
6b527bee
收录时间
2026-07-25 09:09

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 21:34
浙ICP备14020137号-1 $访客地图$