Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
{"SessionStart":[{"hooks":[{"type":"command","command":"echo '[planning-with-files] Ready. Auto-activates for complex tasks, or invoke manually with /planning-with-files'"}]}],"PreToolUse":[{"matcher":"Write|Edit|Bash","hooks":[{"type":"command","command":"cat task_plan.md 2>/dev/null | head -30 || true"}]}],"PostToolUse":[{"matcher":"Write|Edit","hooks":[{"type":"command","command":"echo '[planning-with-files] File updated. If this completes a phase, update task_plan.md status.'"}]}],"Stop":[{"hooks":[{"type":"command","command":"${CLAUDE_PLUGIN_ROOT}/scripts/check-complete.sh"}]}]}
Planning with Files
Work like Manus: Use persistent markdown files as your "working memory on disk."
Important: Where Files Go
When using this skill:
Templates are stored in the skill directory at ${CLAUDE_PLUGIN_ROOT}/templates/
Your planning files (task_plan.md, findings.md, progress.md) should be created in your project directory — the folder where you're working
Location
What Goes There
Skill directory (${CLAUDE_PLUGIN_ROOT}/)
Templates, scripts, reference docs
Your project directory
task_plan.md, findings.md, progress.md
This ensures your planning files live alongside your code, not buried in the skill installation folder.
ATTEMPT 1: Diagnose & Fix
→ Read error carefully
→ Identify root cause
→ Apply targeted fix
ATTEMPT 2: Alternative Approach
→ Same error? Try different method
→ Different tool? Different library?
→ NEVER repeat 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
→ Share the specific error
→ Ask for guidance
Read vs Write Decision Matrix
Situation
Action
Reason
Just wrote a file
DON'T read
Content still in context
Viewed image/PDF
Write findings NOW
Multimodal → text before lost
Browser returned data
Write to file
Screenshots don't persist
Starting new phase
Read plan/findings
Re-orient if context stale
Error occurred
Read relevant file
Need current state to fix
Resuming after gap
Read all planning files
Recover state
The 5-Question Reboot Test
If you can answer these, your context management is solid: