planning-with-files

Creates persistent markdown planning files to track phases, findings, and progress across complex tasks.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill planning-with-files-cramer-69
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: planning-with-files
Source: https://github.com/Cramer-69/skills-repository-3af2d1c7/tree/main/packages/planning-with-files/planning-with-files
Command: npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill planning-with-files-cramer-69

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Long multi-step tasks cause AI agents to lose track of goals after many tool calls, since context windows are volatile and limited. This Skill implements Manus-style file-based planning, using markdown files on disk as persistent working memory so goals, decisions, and errors survive context resets and /clear events. ## Core Features & Use Cases - Three-File Planning Pattern: Creates task_plan.md for phase tracking, findings.md for research and decisions, and progress.md for session logs in your project directory. - Automatic Session Recovery: The session-catchup.py script detects unsynced context from previous sessions and recommends how to restore state after /clear. - Completion Enforcement Hooks: PreToolUse, PostToolUse, and Stop hooks re-inject the plan into context and block stopping until all phases are marked complete. - Use Case: When starting a research project or feature build requiring more than 5 tool calls, the agent writes a phased plan first, logs every error, and re-reads the plan before major decisions to avoid the lost-in-the-middle effect. ## Quick Start Ask the agent to plan this complex task using planning files before writing any code.

Frequently Asked Questions about planning-with-files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep an AI agent on track during long multi-step tasks?▼

Write the plan to persistent markdown files like task_plan.md and re-read them before major decisions. This keeps goals inside the model's recent attention window even after dozens of tool calls, preventing the lost-in-the-middle effect.

What is Manus-style file-based planning for AI agents?▼

It is a context engineering pattern where the filesystem acts as external memory while the context window acts as RAM. The agent maintains task_plan.md, findings.md, and progress.md files, updating them after each phase and logging every error encountered.

How do I recover agent context after clearing the conversation?▼

Run the session-catchup.py script with your project path to detect unsynced context from the previous session. Then run git diff --stat, read the existing planning files, and update them based on the catchup report before continuing.

When should I not use file-based task planning?▼

Skip it for simple questions, single-file edits, and quick lookups that need fewer than a handful of tool calls. The pattern is designed for multi-step tasks, research, and project builds where organization overhead pays off.

Where are the planning files created by this skill stored?▼

Planning files go in your project root directory, not the skill installation folder. Only templates, scripts, and reference docs live in the skill directory under ~/.claude/skills, ~/.codex/skills, or ~/.cursor/skills.