From plan mode to tracked execution — every step committed, every reset survivable
Adds a plan execution lifecycle to your AI companion, enabling it to capture plans into trackable files, execute each task with checkpoint commits, and resume after any context reset — bridging the gap between planning and doing.
- Plan capture — copies plan mode output into a trackable
project-plan.mdwith checkbox format - Checkbox execution — converts plan steps into executable
[ ]todos grouped by phase - Progress tracking — completed tasks are marked
[x], blocked tasks marked[~] - Per-task commit discipline — chains with Auto-Commit to commit after each completed todo
- Resume capability — survives context resets by reading the plan file and picking up at next
[ ] - Plan rotation — when plan file exceeds 1,000 lines, archives old and starts fresh
The problem: Plan mode produces a detailed plan, but execution happens in a separate context. If the AI's context resets mid-execution, the plan is lost and you have to explain everything again.
Work solves this by making the plan file the single source of truth. It captures the plan into a trackable format, executes each item with checkpoint commits, and when context resets — the AI reads the file and picks up exactly where it left off.
The key principle: the plan file IS the recovery mechanism.
Starting a plan:
You: "copy plan"
→ AI scans for latest plan file from plan mode
→ Converts plan steps to checkboxes, preserves diagrams
→ Writes to Project Resources/project-plan.md
→ Begins executing:
Task 1 done → Auto-Commit fires → [x] marked
Task 2 done → Auto-Commit fires → [x] marked
Task 3 done → Auto-Commit fires → [x] marked...
After a context reset:
You: "resume plan"
→ AI reads project-plan.md
→ Reports: "7 of 12 items done. Next: implement user authentication"
→ Continues executing from exactly where it left off
No re-explaining, no lost progress, no repeated work.
The plan file uses a simple, parseable markdown structure:
# Project Plan - MyApp
Created: 2026-02-27
## Architecture
[Preserved diagrams from original plan]
## Implementation Plan
### Phase 1: Database Setup
- [x] Create user migration
- [x] Create product migration
- [ ] Add seed data
### Phase 2: API Endpoints
- [ ] User CRUD endpoints
- [~] Payment integration (blocked: waiting for API keys)| Symbol | Meaning | What Happens |
|---|---|---|
[ ] |
Pending | Not yet started — next in queue |
[x] |
Completed | Done and committed (via Auto-Commit) |
[~] |
Blocked | Flagged, skipped — AI continues to next item |
The core cycle for all three commands:
For each [ ] todo item:
1. Execute the task (write code, create files)
2. Auto-Commit fires (if installed) → structured commit
3. Mark [x] in the plan file
4. Checkpoint save every 5 items
5. Move to next [ ] item
Every completed task gets its own commit — no work piles up, no progress is lost.
When context resets (auto-compact, new session, crash):
- User says
"resume plan" - AI reads
project-plan.md - Counts completed
[x]vs pending[ ]items - Reads Architecture section for technical context
- Continues from the next
[ ]item
The file stores everything needed to recover — no user explanation required.
"Load work-plan"
- Asks for your plan skill name (default: "work-plan" — customize to match your AI)
- Asks for plan storage location (default: "Project Resources")
- Asks for plan source path (where your AI saves plan files)
- Asks for plan file line limit (default: 1000 lines)
- Creates SKILL.md in your plugin system (or as manual protocol)
- Creates
plan-format.mdin your plan location folder as permanent format reference - Updates
master-memory.mdwith plan execution commands - Self-deletes this feature folder after successful integration
After running the integration protocol:
- Your AI can capture plans into trackable checkbox format
- Three commands manage the full plan lifecycle: copy, append, resume
- Progress survives any context reset through the plan file
- Each completed task triggers a commit (when paired with Auto-Commit)
- Format template is permanently available for reference
Post-Installation Structure:
[project]/
├── [Plan Location]/
│ ├── project-plan.md # Active plan file (created on first use)
│ └── plan-format.md # Permanent plan format reference
└── plugins/
└── [plugin-name]/
└── skills/
└── [skill-name]/
└── SKILL.md # Auto-triggered plan execution skill
- Never lose plan progress — every completed task is committed or checkpointed
- Survives context resets — resume from exactly the right task after any interruption
- Complete execution history — git log shows plan progression commit by commit
- Clean separation — plan file is AI's working reference, git history is the permanent record
- Scales to large plans — automatic line-limit rotation keeps files manageable
- Works independently — no other features required (but pairs perfectly with Auto-Commit)
When both Auto-Commit and Work are installed, Work automatically chains — each completed todo triggers a structured commit with full context. Your git history maps directly to your project plan, commit by commit.
Without Auto-Commit, Work still tracks progress in the plan file and marks checkboxes — commits are just done manually.
| Command | What It Does |
|---|---|
copy plan |
Copy latest plan into execution format (fresh start) |
append plan |
Add new plan steps to existing plan |
resume plan |
Resume execution after context reset |
- Core memory system installed (
master-memory.mdexists) - Skill Plugin System recommended for auto-triggering
- Auto-Commit System optional but recommended for per-task commit discipline
Requires Claude Code (Anthropic's CLI tool) with the Skill Plugin System for auto-triggering. The plan file itself is platform-agnostic — it's plain markdown that works on any system. On other AI platforms, the SKILL.md can be loaded as a manual protocol.
Based on proven plan execution systems in production AI companions (daily plan tracking and recovery)