Work like Manus — the AI agent company Meta acquired for $2 billion.
To everyone who starred, forked, and shared this skill — thank you. This project blew up in less than 24 hours, and the support from the community has been incredible.
If this skill helps you work smarter, that's all I wanted.
A Claude Code plugin that transforms your workflow to use persistent markdown files for planning, progress tracking, and knowledge storage — the exact pattern that made Manus worth billions.
# Install the plugin
claude plugins install OthmanAdi/planning-with-filesThat's it! Now use one of these commands in Claude Code:
| Command | Autocomplete | Description |
|---|---|---|
/planning-with-files:plan |
Type /plan |
Shorter command (v2.11.0+) |
/planning-with-files:start |
Type /planning |
Original command |
Alternative: If you want /planning-with-files (without prefix), copy skills to your local folder:
# Optional: Copy skills for /planning-with-files command
cp -r ~/.claude/plugins/cache/planning-with-files/planning-with-files/*/skills/planning-with-files ~/.claude/skills/Windows (PowerShell):
# Install the plugin
claude plugins install OthmanAdi/planning-with-files
# Optional: Copy skills for /planning-with-files command
Copy-Item -Recurse -Path "$env:USERPROFILE\.claude\plugins\cache\planning-with-files\planning-with-files\*\skills\planning-with-files" -Destination "$env:USERPROFILE\.claude\skills\"See docs/installation.md for all installation methods.
| IDE | Status | Installation Guide | Format |
|---|---|---|---|
| Claude Code | ✅ Full Support | Installation | Plugin + SKILL.md |
| Gemini CLI | ✅ Full Support | Gemini Setup | Agent Skills |
| Moltbot | ✅ Full Support | Moltbot Setup | Workspace/Local Skills |
| Kiro | ✅ Full Support | Kiro Setup | Steering Files |
| Cursor | ✅ Full Support | Cursor Setup | Skills |
| Continue | ✅ Full Support | Continue Setup | Skills + Prompt files |
| Kilocode | ✅ Full Support | Kilocode Setup | Skills |
| OpenCode | ✅ Full Support | OpenCode Setup | Personal/Project Skill |
| Codex | ✅ Full Support | Codex Setup | Personal Skill |
| FactoryAI Droid | ✅ Full Support | Factory Setup | Workspace/Personal Skill |
| Antigravity | ✅ Full Support | Antigravity Setup | Workspace/Personal Skill |
| CodeBuddy | ✅ Full Support | CodeBuddy Setup | Workspace/Personal Skill |
| AdaL CLI (Sylph AI) | ✅ Full Support | AdaL Setup | Personal/Project Skills |
Note: If your IDE uses the legacy Rules system instead of Skills, see the
legacy-rules-supportbranch.
| Document | Description |
|---|---|
| Installation Guide | All installation methods (plugin, manual, Cursor, Windows) |
| Quick Start | 5-step guide to using the pattern |
| Workflow Diagram | Visual diagram of how files and hooks interact |
| Troubleshooting | Common issues and solutions |
| Gemini CLI Setup | Google Gemini CLI integration guide |
| Moltbot Setup | Moltbot integration guide |
| Kiro Setup | Kiro steering files integration |
| Cursor Setup | Cursor IDE-specific instructions |
| Continue Setup | Continue integration guide (skills + slash prompt) |
| Windows Setup | Windows-specific notes |
| Kilo Code Support | Kilo Code integration guide |
| Codex Setup | Codex IDE installation and usage |
| OpenCode Setup | OpenCode IDE installation, oh-my-opencode config |
| FactoryAI Droid Setup | FactoryAI Droid integration guide |
| Antigravity Setup | Antigravity IDE integration guide |
| CodeBuddy Setup | CodeBuddy IDE integration guide |
| AdaL CLI Setup | AdaL CLI / Sylph AI integration guide |
| Version | Features | Install |
|---|---|---|
| v2.13.0 (current) | Moltbot rebrand (formerly Clawd CLI) | claude plugins install OthmanAdi/planning-with-files |
| v2.12.0 | AdaL CLI / Sylph AI support | See releases |
| v2.11.0 | /plan command for easier autocomplete |
See releases |
| v2.10.0 | Kiro steering files support | See releases |
| v2.9.0 | Moltbot (formerly Clawd CLI) support | See releases |
| v2.8.0 | Continue IDE support, POSIX sh compatibility fix | See releases |
| v2.7.1 | Dynamic Python detection fix | See releases |
| v2.7.0 | Gemini CLI support | See releases |
| v2.6.0 | Start command (/planning-with-files:start), path resolution fix |
See releases |
| v2.5.0 | Fixed autocomplete - SKILL.md matches Anthropic format | See releases |
| v2.3.0 | Codex & OpenCode IDE support | See releases |
| v2.2.2 | Restored skill activation language | See releases |
| v2.2.1 | Session recovery after /clear, enhanced PreToolUse hook | See releases |
| v2.2.0 | Kilo Code IDE support, Windows PowerShell support, OS-aware hooks | See releases |
| v2.1.2 | Fix template cache issue (Issue #18) | See releases |
| v2.1.0 | Claude Code v2.1 compatible, PostToolUse hook, user-invocable | See releases |
| v2.0.x | Hooks, templates, scripts | See releases |
| v1.0.0 (legacy) | Core 3-file pattern | git clone -b legacy |
See CHANGELOG.md for details.
On December 29, 2025, Meta acquired Manus for $2 billion. In just 8 months, Manus went from launch to $100M+ revenue. Their secret? Context engineering.
"Markdown is my 'working memory' on disk. Since I process information iteratively and my active context has limits, Markdown files serve as scratch pads for notes, checkpoints for progress, building blocks for final deliverables." — Manus AI
Claude Code (and most AI agents) suffer from:
- Volatile memory — TodoWrite tool disappears on context reset
- Goal drift — After 50+ tool calls, original goals get forgotten
- Hidden errors — Failures aren't tracked, so the same mistakes repeat
- Context stuffing — Everything crammed into context instead of stored
For every complex task, create THREE files:
task_plan.md → Track phases and progress
findings.md → Store research and findings
progress.md → Session log and test results
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important gets written to disk.
Once installed, Claude will automatically:
- Create
task_plan.mdbefore starting complex tasks - Re-read plan before major decisions (via PreToolUse hook)
- Remind you to update status after file writes (via PostToolUse hook)
- Store findings in
findings.mdinstead of stuffing context - Log errors for future reference
- Verify completion before stopping (via Stop hook)
Or invoke manually:
/planning-with-files:plan- Type/planto find in autocomplete (v2.11.0+)/planning-with-files:start- Type/planningto find in autocomplete/planning-with-files- Only if you copied skills to~/.claude/skills/
See docs/quickstart.md for the full 5-step guide.
When your context window fills up and you run /clear, this skill automatically recovers unsynced work from your previous session.
For the best experience, we recommend:
- Disable auto-compact in Claude Code settings (use full context window)
- Start a fresh session in your project
- Run
/planning-with-fileswhen ready to work on a complex task - Work until context fills up (Claude will warn you)
- Run
/clearto start fresh - Run
/planning-with-filesagain — it will automatically recover where you left off
When you invoke /planning-with-files, the skill:
- Checks for previous session data (stored in
~/.claude/projects/) - Finds the last time planning files were updated
- Extracts conversation that happened after (potentially lost context)
- Shows a catchup report so you can sync planning files
This means even if context filled up before you could update your planning files, the skill will recover that context in your next session.
To use the full context window without automatic compaction:
# In your Claude Code settings or .claude/settings.json
{
"autoCompact": false
}This lets you maximize context usage before manually clearing with /clear.
- Create Plan First — Never start without
task_plan.md - The 2-Action Rule — Save findings after every 2 view/browser operations
- Log ALL Errors — They help avoid repetition
- Never Repeat Failures — Track attempts, mutate approach
planning-with-files/
├── commands/ # Plugin commands
│ ├── plan.md # /planning-with-files:plan command (v2.11.0+)
│ └── start.md # /planning-with-files:start command
├── templates/ # Root-level templates (for CLAUDE_PLUGIN_ROOT)
├── scripts/ # Root-level scripts (for CLAUDE_PLUGIN_ROOT)
├── docs/ # Documentation
│ ├── installation.md
│ ├── quickstart.md
│ ├── workflow.md
│ ├── troubleshooting.md
│ ├── gemini.md # Gemini CLI setup
│ ├── cursor.md
│ ├── windows.md
│ ├── kilocode.md
│ ├── codex.md
│ └── opencode.md
├── planning-with-files/ # Plugin skill folder
│ ├── SKILL.md
│ ├── templates/
│ └── scripts/
├── skills/ # Legacy skill folder
│ └── planning-with-files/
│ ├── SKILL.md
│ ├── examples.md
│ ├── reference.md
│ ├── templates/
│ └── scripts/
│ ├── init-session.sh
│ ├── check-complete.sh
│ ├── init-session.ps1 # Windows PowerShell
│ └── check-complete.ps1 # Windows PowerShell
├── .gemini/ # Gemini CLI skills
│ └── skills/
│ └── planning-with-files/
├── .codex/ # Codex IDE skills
│ └── skills/
├── .opencode/ # OpenCode IDE skills
│ └── skills/
├── .claude-plugin/ # Plugin manifest
├── .cursor/ # Cursor skills
│ └── skills/
├── .kilocode/ # Kilo Code skills
│ └── skills/
├── .adal/ # AdaL CLI / Sylph AI skills
│ └── skills/
├── CHANGELOG.md
├── LICENSE
└── README.md
| Principle | Implementation |
|---|---|
| Filesystem as memory | Store in files, not context |
| Attention manipulation | Re-read plan before decisions (hooks) |
| Error persistence | Log failures in plan file |
| Goal tracking | Checkboxes show progress |
| Completion verification | Stop hook checks all phases |
Use this pattern for:
- Multi-step tasks (3+ steps)
- Research tasks
- Building/creating projects
- Tasks spanning many tool calls
Skip for:
- Simple questions
- Single-file edits
- Quick lookups
This skill also supports Kilo Code AI through the .kilocode/rules/ directory.
The .kilocode/rules/planning-with-files.md file contains all the planning guidelines formatted for Kilo Code's rules system, providing the same Manus-style planning workflow for Kilo Code users.
Windows users: The skill now includes PowerShell scripts (init-session.ps1 and check-complete.ps1) for native Windows support.
See docs/kilocode.md for detailed Kilo Code integration guide.
| Fork | Author | Features |
|---|---|---|
| devis | @st01cs | Interview-first workflow, /devis:intv and /devis:impl commands, guaranteed activation |
| multi-manus-planning | @kmichels | Multi-project support, SessionStart git sync |
Built something? Open an issue to get listed!
- Manus AI — For pioneering context engineering patterns
- Anthropic — For Claude Code, Agent Skills, and the Plugin system
- Lance Martin — For the detailed Manus architecture analysis
- Based on Context Engineering for AI Agents
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
MIT License — feel free to use, modify, and distribute.
Author: Ahmad Othman Ammar Adi