본문으로 건너뛰기
cccskills
무료GitHub에 공개

planning-with-files

Implements file-based planning for complex multi-step tasks. Creates task_plan.md, findings.md, and progress.md as persistent working memory. Use when starting tasks requiring >5 tool calls, multi-phase projects, research, or any work where losing track of goals and progress would be costly.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated스타 521(GitHub 521 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(4)

  • SKILL.md5.7 KB
  • references/examples.md2.7 KB
  • references/principles.md2.8 KB
  • references/templates.md2.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Planning with Files

Use persistent markdown files as working memory on disk.

Quick Start

  1. Create planning files -- use /plan or create manually from templates
  2. Create task_plan.md with goal, phases, and key questions
  3. Create findings.md for research and decisions
  4. Create progress.md for session logging
  5. Re-read the plan before decisions -- refreshes goals in attention
  6. Update after each phase -- mark status, log errors

When to Use

  • Multi-step tasks (3+ phases)
  • Research projects requiring many searches
  • Building or creating projects with multiple files
  • Tasks spanning many tool calls (>10)
  • Any work where losing track of goals would be costly
  • Tasks that may span multiple sessions

When NOT to Use

  • Simple questions or quick lookups
  • Single-file edits with obvious scope
  • Tasks completable in under 5 tool calls
  • Conversational exchanges without implementation

Core Pattern

Context Window = RAM (volatile, limited)
Filesystem     = Disk (persistent, unlimited)

Anything important gets written to disk.

After many tool calls, the original goal drifts out of the attention window. Reading task_plan.md brings it back. This is the single most important pattern in file-based planning.

File Purposes

FilePurposeWhen to Update
task_plan.mdPhases, progress, decisionsAfter each phase completes
findings.mdResearch, discoveries, decisionsAfter ANY discovery
progress.mdSession log, test resultsThroughout the session

All three files go in the project root, not the plugin directory.

Critical Rules

1. Create Plan First

Never start a complex task without task_plan.md. This is non-negotiable. The plan is your persistent memory.

2. The 2-Action Rule

After every 2 search, browse, or read operations, immediately save key findings to findings.md. Multimodal content (images, browser results, PDF contents) does not persist in context -- capture it as text before it is lost.

3. Read Before Decide

Before any major decision, re-read task_plan.md. This pushes goals and context back into the recent attention window, counteracting the "lost in the middle" effect that occurs after ~50 tool calls.

[Original goal -- far away in context, forgotten]
...many tool calls...
[Recently read task_plan.md -- gets ATTENTION]
→ Now make the decision with goals fresh in context

4. Update After Act

After completing any phase:

  • Mark phase status: in_progress -> complete
  • Log any errors encountered in the Errors table
  • Note files created or modified in progress.md

5. Log ALL Errors

Every error goes in task_plan.md. Include the attempt number and resolution. This builds knowledge and prevents repeating failures.

## Errors Encountered
| Error | Attempt | Resolution |
|-------|---------|------------|
| FileNotFoundError | 1 | Created default config |
| API timeout | 2 | Added retry logic |

6. Never Repeat Failures

If an action failed, the next action must be different. Track what you tried and mutate the approach.

if action_failed:
    next_action != same_action

3-Strike Error Protocol

ATTEMPT 1: Diagnose & Fix
  -> Read error carefully
  -> Identify root cause
  -> Apply targeted fix

ATTEMPT 2: Alternative Approach
  -> Same error? Try a different method
  -> Different tool? Different library?
  -> NEVER repeat the exact same failing action

ATTEMPT 3: Broader Rethink
  -> Question assumptions
  -> Search for solutions
  -> Consider updating the plan

AFTER 3 FAILURES: Escalate to User
  -> Explain what you tried (with attempt log)
  -> Share the specific error
  -> Ask for guidance

Read vs Write Decision Matrix

SituationActionReason
Just wrote a fileDon't read itContent still in context
Viewed image/PDFWrite findings NOWMultimodal content doesn't persist
Browser returned dataWrite to fileScreenshots don't persist
Starting new phaseRead plan/findingsRe-orient if context is stale
Error occurredRead relevant fileNeed current state to fix
Resuming after gapRead all planning filesRecover full state

5-Question Reboot Test

If you can answer these from your planning files, context is solid:

QuestionAnswer Source
Where am I?Current phase in task_plan.md
Where am I going?Remaining phases
What's the goal?Goal statement in plan
What have I learned?findings.md
What have I done?progress.md

Anti-Patterns

Don'tDo Instead
State goals once and forgetRe-read plan before decisions
Hide errors and retry silentlyLog every error to plan file
Stuff everything in contextStore large content in files
Start executing immediatelyCreate plan file FIRST
Repeat failed actionsTrack attempts, mutate approach
Create files in plugin directoryCreate files in project root

References

  • Templates -- starter templates for all three planning files
  • Principles -- context engineering principles behind this approach
  • Examples -- concrete examples and error recovery patterns

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Expert guidance for ffuf web fuzzing during authorized penetration testing. Covers directory discovery, subdomain enumeration, parameter fuzzing, authenticated fuzzing with raw requests, auto-calibration, and result analysis. Use when running ffuf scans, analyzing ffuf output, or building fuzzing strategies for web targets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

Reverse engineers binaries using Ghidra's headless analyzer. Use when decompiling executables, extracting functions, strings, symbols, or analyzing call graphs from compiled binaries without the Ghidra GUI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

grilling

무료

Interviews the user relentlessly about a plan, decision, or idea until every branch of the decision tree is resolved. Use when the user wants to stress-test their thinking, sharpen a plan or design before acting, or uses any 'grill' trigger phrase (e.g. "grill me on this").

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

handoff

무료

Compacts the current conversation into a handoff document so a fresh agent can continue the work in a new session.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

humanizer

무료

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases. 30c5c8d (Update humanizer plugin to upstream v2.2.0)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

Researches a topic from the last 30 days on Reddit, X, and the web. Surfaces real community discussions with engagement metrics and synthesizes findings into actionable insights. Use when the user wants to know what people are saying about a topic right now.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

trailofbits/skills-curated5212026년 7월 15일 업데이트

trailofbits의 스킬 모두 보기

이 스킬의 문제 신고