MVPlanner
One prioritised plan that you and every agent work from.
Agents are good at doing the next thing and bad at remembering what was agreed. Give a swarm a big feature and you get drift: work nobody asked for, quiet gaps where a Must should be, and agents treading on each other. MVPlanner keeps the plan in one place every agent can reach, and a Claude Code plugin makes agents use it:
- Claim before editing. Each agent claims a task before it changes code, so two agents never take the same work. A claim with no activity for 2 hours can be taken over by another agent, and the task log records the takeover.
- Propose, don't drift. New ideas become proposed tasks for a human to accept, rather than code.
- Defer on purpose. Keeping something minimal is fine, as long as it's recorded:
task_defer creates a task and the code gets an MVP(T-42) or TODO(T-43) marker.
- Know when you're done. Priorities are MoSCoW, relative to each parent, and roll up into "done all we Must / Should / Could".
Install the Claude Code plugin
/plugin install mvplanner --marketplace sirashton/MVPlanner
On Claude Code versions before 2.1.275, add the marketplace first with /plugin marketplace add sirashton/MVPlanner, then /plugin install mvplanner@mvplanner.
The plugin needs Node.js 22.18 or later on the machine that runs Claude Code. It ships pre-built, so there is nothing to npm install.
Then set a repository up, once, from a checkout that can push to it. In Claude Code, say "set this repo up for MVPlanner" (or run /mvplanner:setup), or run it yourself:
mvplan setup --name "My project" # or: mvplan setup --from plan.json
setup pushes .claude/settings.json, a short section of CLAUDE.md and a .github/workflows/mvplanner.yml check to the default branch, then creates the live plan on the mvplanner/plan branch. In a brand-new empty repo the default branch goes first, so GitHub makes main the default and not the plan branch. It ends by checking everything works, with the one fix for anything that doesn't, and prints the cloud setup-script line and how to open the plan page. It is safe to run again, and mvplan doctor runs the checks on their own.
With those files, Claude Code offers the plugin to everyone who opens the repo, an agent that starts without it stops and says so instead of working blind, and a pull request fails the check unless it names a task (such as T-12, in its title, branch or description) that is claimed or complete, leaves plan.json alone, and every MVP() or TODO() marker names an open task.
The repo settings also turn on auto-update for the MVPlanner marketplace, which Claude Code leaves off for third-party marketplaces. Running sessions pick up an update with /reload-plugins; new sessions load it by themselves. To update by hand: claude plugin marketplace update mvplanner && claude plugin update mvplanner@mvplanner.
Cloud sessions on claude.ai/code don't install plugins from a repo's settings. Add this to the cloud environment's setup script instead:
claude plugin marketplace add sirashton/MVPlanner && claude plugin install mvplanner@mvplanner
mvplan is on Claude's PATH while the plugin is enabled. Outside Claude Code, run npm link in a clone of this repo to get mvplan on your PATH.
Where the plan lives
The live plan is plan.json on a dedicated mvplanner/plan branch of the repository's remote. Every tool call fetches it, applies its change and pushes, retrying if another agent got there first. That makes one plan visible to every worktree, every cloud session and every Claude Code project with access to the repo, even though agents in different projects can't message each other. The working tree is never touched, and the branch is never merged.
For a single machine you can set the backend to file instead. The plan is then plan.json in the main checkout, shared by all of its worktrees.
Rules agents are given at the start of every session and subagent:
- The live plan is wherever the tools say. A
plan.json in your checkout may be stale: never read, edit or commit it.
- Read and change the plan only through the MVPlanner tools.
- Claim one task before editing code, and work only on that task.
- Propose new work with
task_propose. Defer with task_defer and a marker.
- Record progress with
task_update before finishing.
- If the tools can't find the plan, stop and report it.
What the plugin contains