back to home

OthmanAdi / planning-with-files

Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.

14,261 stars
1,321 forks
4 issues
PythonShellPowerShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing OthmanAdi/planning-with-files in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/OthmanAdi/planning-with-files)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Planning with Files

Work like Manus — the AI agent company Meta acquired for $2 billion.

Closed Issues Closed PRs

💬 A Note from the Author

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.

🌍 See What the Community Built
ForkAuthorFeatures
devis@st01csInterview-first workflow, /devis:intv and /devis:impl commands, guaranteed activation
multi-manus-planning@kmichelsMulti-project support, SessionStart git sync
plan-cascade@TaoidleMulti-level task orchestration, parallel execution, multi-agent collaboration
agentfund-skill@RioTheGreat-aiCrowdfunding for AI agents with milestone-based escrow on Base

Built something? Open an issue to get listed!

📦 Releases & Session Recovery

Current Version: v2.15.1

VersionHighlights
v2.15.1Session catchup false-positive fix (thanks @gydx6!)
v2.15.0/plan:status command, OpenCode compatibility fix
v2.14.0Pi Agent support, OpenClaw docs update, Codex path fix
v2.11.0/plan command for easier autocomplete
v2.10.0Kiro steering files support
v2.7.0Gemini CLI support
v2.2.0Session recovery, Windows PowerShell, OS-aware hooks

View all releases · CHANGELOG

🧪 Experimental: Isolated parallel planning (.planning/{uuid}/ folders) is being tested on experimental/isolated-planning. Try it and share feedback!


Session Recovery

When your context fills up and you run /clear, this skill automatically recovers your previous session.

How it works:

  1. Checks for previous session data in ~/.claude/projects/
  2. Finds when planning files were last updated
  3. Extracts conversation that happened after (potentially lost context)
  4. Shows a catchup report so you can sync

Pro tip: Disable auto-compact to maximize context before clearing:

{ "autoCompact": false }
🛠️ Supported IDEs (14 Platforms)
IDEStatusInstallation GuideFormat
Claude Code✅ Full SupportInstallationPlugin + SKILL.md
Gemini CLI✅ Full SupportGemini SetupAgent Skills
OpenClaw✅ Full SupportOpenClaw SetupWorkspace/Local Skills
Kiro✅ Full SupportKiro SetupSteering Files
Cursor✅ Full SupportCursor SetupSkills + Hooks
Continue✅ Full SupportContinue SetupSkills + Prompt files
Kilocode✅ Full SupportKilocode SetupSkills
OpenCode✅ Full SupportOpenCode SetupPersonal/Project Skill
Codex✅ Full SupportCodex SetupPersonal Skill
FactoryAI Droid✅ Full SupportFactory SetupWorkspace/Personal Skill
Antigravity✅ Full SupportAntigravity SetupWorkspace/Personal Skill
CodeBuddy✅ Full SupportCodeBuddy SetupWorkspace/Personal Skill
AdaL CLI (Sylph AI)✅ Full SupportAdaL SetupPersonal/Project Skills
Pi Agent✅ Full SupportPi Agent SetupAgent Skills

Note: If your IDE uses the legacy Rules system instead of Skills, see the legacy-rules-support branch.


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.

License: MIT Claude Code Plugin Claude Code Skill Cursor Skills Kilocode Skills Gemini CLI OpenClaw Kiro AdaL CLI Pi Agent Version SkillCheck Validated

Quick Install

In Claude Code, run:

/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files

That's it! Now use one of these commands in Claude Code:

CommandAutocompleteDescription
/planning-with-files:planType /planStart planning session (v2.11.0+)
/planning-with-files:statusType /plan:statusShow planning progress at a glance (v2.15.0+)
/planning-with-files:startType /planningOriginal start command

Alternative: If you want /planning-with-files (without prefix), copy skills to your local folder:

macOS/Linux:

cp -r ~/.claude/plugins/cache/planning-with-files/planning-with-files/*/skills/planning-with-files ~/.claude/skills/

Windows (PowerShell):

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.

Why This Skill?

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

The Problem

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

The Solution: 3-File Pattern

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

The Core Principle

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

→ Anything important gets written to disk.

The Manus Principles

PrincipleImplementation
Filesystem as memoryStore in files, not context
Attention manipulationRe-read plan before decisions (hooks)
Error persistenceLog failures in plan file
Goal trackingCheckboxes show progress
Completion verificationStop hook checks all phases

Usage

Once installed, the AI agent will:

  1. Ask for your task if no description is provided
  2. Create task_plan.md, findings.md, and progress.md in your project directory
  3. Re-read plan before major decisions (via PreToolUse hook)
  4. Remind you to update status after file writes (via PostToolUse hook)
  5. Store findings in findings.md instead of stuffing context
  6. Log errors for future reference
  7. Verify completion before stopping (via Stop hook)

Invoke with:

  • /planning-with-files:plan - Type /plan to find in autocomplete (v2.11.0+)
  • /planning-with-files:start - Type /planning to find in autocomplete
  • /planning-with-files - Only if you copied skills to ~/.claude/skills/

See docs/quickstart.md for the full 5-step guide.

Key Rules

  1. Create Plan First — Never start without task_plan.md
  2. The 2-Action Rule — Save findings after every 2 view/browser operations
  3. Log ALL Errors — They help avoid repetition
  4. Never Repeat Failures — Track attempts, mutate approach

When to Use

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

File Structure

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 + hooks
│   ├── hooks.json           # Hook configuration
│   ├── hooks/               # Hook scripts (bash + PowerShell)
│   └── skills/
├── .kilocode/               # Kilo Code skills
│   └── skills/
├── .openclaw/               # OpenClaw skills
│   └── skills/
├── .adal/                   # AdaL CLI / Sylph AI skills
│   └── skills/
├── .pi/                     # Pi Agent skills
│   └── skills/
│       └── planning-with-files/
├── CHANGELOG.md
├── LICENSE
└── README.md

Documentation

DocumentDescription
Installation GuideAll installation methods (plugin, manual, Cursor, Windows)
Quick Start5-step guide to using the pattern
Workflow DiagramVisual diagram of how files and hooks interact
TroubleshootingCommon issues and solutions
Gemini CLI SetupGoogle Gemini CLI integration guide
OpenClaw SetupOpenClaw integration guide
Kiro SetupKiro steering files integration
Cursor SetupCursor IDE-specific instructions
Continue SetupContinue integration guide (skills + slash prompt)
Windows SetupWindows-specific notes
Kilo Code SupportKilo Code integration guide
Codex SetupCodex IDE installation and usage
OpenCode SetupOpenCode IDE installation, oh-my-opencode config
FactoryAI Droid SetupFactoryAI Droid integration guide
Antigravity SetupAntigravity IDE integration guide
CodeBuddy SetupCodeBuddy IDE integration guide
AdaL CLI SetupAdaL CLI / Sylph AI integration guide
Pi Agent SetupPi Agent integration guide

Contributors

Acknowledgments

  • 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

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

License

MIT License — feel free to use, modify, and distribute.


Author: Ahmad Othman Ammar Adi

Star History

Star History Chart