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...
Manus-style persistent markdown planning. Filesystem = long-term memory. Context window = working RAM.
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important MUST be written to disk.
Skip for: single-file edits, quick lookups, simple questions.
ALWAYS do this first — no exceptions:
exec: bash {baseDir}/scripts/init-session.sh "<task description>"
## Goal section in task_plan.md with the full task description.## Phases.If exec is not available, create the three files manually using the templates in {baseDir}/templates/.
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"
| 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 |
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
Before telling the user the task is done:
exec bash {baseDir}/scripts/check-complete.shIf context was cleared (e.g., /clear), resume by:
task_plan.md to restore goal and phase statusprogress.md to see what was donefindings.md to restore research contexttask_plan.mdZIP package — ready to use