Cursor (PM) plans. Claude Code (Worker) builds. Two AIs, one seamless workflow.
This plugin enables a 2-agent development workflow where Cursor handles planning, task breakdown, and review, while Claude Code handles implementation, testing, and staging deployment. Solo mode (Claude Code only) is also available as a fallback.
You: "I want to build a blog app"
↓ Cursor (PM) creates a plan
Cursor: "Tasks organized. Handing off to Claude Code."
↓ You copy & paste to Claude Code
Claude Code (Worker): "Implemented! Ready for review."
↓ You copy & paste back to Cursor
Cursor: "Review passed. Let's deploy."
The Plan → Build → Review cycle, powered by two specialized AIs.
/install cursor-cc-plugins/setup-2agentThis creates:
./
├── AGENTS.md # Development flow overview (shared)
├── CLAUDE.md # Claude Code specific settings
├── Plans.md # Task management (shared)
├── .cursor-cc-version # Version tracking
├── .cursor/
│ └── commands/ # Cursor PM commands
│ ├── start-session.md
│ ├── handoff-to-claude.md
│ ├── review-cc-work.md
│ ├── plan-with-cc.md
│ └── project-overview.md
└── .claude/
├── rules/ # Workflow rules (v0.4.0+)
│ ├── workflow.md
│ └── coding-standards.md
└── memory/ # Session memory
├── session-log.md
├── decisions.md
└── patterns.md
Open Cursor and describe what you want to build:
You → Cursor: "I want to build an e-commerce site"
Cursor: "Great! Let me break this down into tasks..."
When implementation is needed, Cursor outputs a task for Claude Code.
┌─────────────────┐ ┌─────────────────┐
│ Cursor (PM) │ │ Claude Code │
│ │ │ (Worker) │
│ • Plan │ Plans.md (shared) │ • Implement │
│ • Review │ ◄──────────────────► │ • Test │
│ • Prod deploy │ │ • Staging │
└────────┬────────┘ └────────┬────────┘
│ /handoff-to-claude │
└───────────────────────────────────────►│
│◄───────────────────────────────────────┘
│ /handoff-to-cursor
You bridge Cursor and Claude Code with copy & paste. This keeps you in control and aware of everything happening.
| Command | What It Does |
|---|---|
/setup-2agent |
First step. Creates workflow files |
/update-2agent |
Updates existing setup to latest version |
/init |
Initialize a new project |
/plan |
Create a plan |
/work |
Implement tasks |
/review |
Review changes |
/start-task |
Receives task from Cursor |
/handoff-to-cursor |
Sends completion report to Cursor |
/sync-status |
Sync Plans.md status |
/health-check |
Environment diagnostics |
/cleanup |
Clean up files (Plans.md archiving, etc.) |
| Command | What It Does |
|---|---|
/handoff-to-claude |
Sends task to Claude Code |
/review-cc-work |
Reviews Claude Code's work |
/start-session |
Start session → plan → assign (automated flow) |
/project-overview |
View project overview |
/plan-with-cc |
Plan with Claude Code |
For new projects from scratch, run
/initafter/setup-2agent.
- 2-Agent Workflow: PM/Worker separation with clear responsibilities
- Safety First: dry-run mode by default, protected branches, 3-retry rule
- VibeCoder Friendly: Natural language interface for non-technical users
- Incremental Updates:
/update-2agentfor seamless version upgrades
- Claude Rules (
.claude/rules/): Conditional rules with YAML frontmatterpaths:support - Plugin Hooks (
hooks/hooks.json): SessionStart and PostToolUse hooks for automation - Named Sessions: Use
/rename {name}and/resume {name}for session tracking - Session Memory (
.claude/memory/): Persist decisions, patterns, and session logs - CI Consistency Check: Automated validation of plugin integrity
- Self-Healing CI:
scripts/ci/diagnose-and-fix.shfor automatic issue detection and fixes
- PostToolUse hooks for automatic file size monitoring
- Configurable thresholds via
.cursor-cc-config.yaml
No Cursor? Claude Code works alone too:
"I want to build a Todo app"Solo mode is simpler but lacks the PM/Worker separation and cross-review benefits.
Details: docs/usage-solo.md
When a new version is released:
/update-2agentThis preserves your tasks in Plans.md while updating templates and commands.
| Document | Description |
|---|---|
| 2-Agent Guide | Full workflow details |
| Solo Guide | Claude Code only |
| Admin Guide | Team setup, safety config |
| Changelog | Version history |
MIT License