BMAD Orchestrator
Orchestrate the full BMAD Method workflow across OpenClaw and Claude Code. Use when starting a new project with BMAD methodology, running BMAD phases (brains...
Description
name: bmad-orchestrator description: Orchestrate the full BMAD Method workflow across OpenClaw and Claude Code. Use when starting a new project with BMAD methodology, running BMAD phases (brainstorming, PRD, architecture, implementation), or managing Claude Code agents through BMAD workflows. Handles interactive phases (1-3) with the user and delegates implementation (phase 4) to Claude Code via tmux.
BMAD Orchestrator
Orchestrate the 4-phase BMAD Method (Breakthrough Method of Agile AI Driven Development) across OpenClaw ↔ Claude Code.
Architecture
- Phases 1-3 (Interactive): Run through OpenClaw chat with the user. You facilitate brainstorming, refine the PRD, debate architecture. The user's ideas matter most here.
- Party Mode: At key decision points, suggest running party mode on Claude Code — multiple BMAD agents debate the topic and produce richer output.
- Phase 4 (Automated): Delegate to Claude Code via tmux on the dev VM. Monitor progress, report back.
Prerequisites
- Claude Code installed on dev VM (accessible via SSH)
- BMAD framework installed in the project (
_bmad/directory with agents, workflows, commands) - tmux available on the dev VM
State Tracking
Track workflow state in _bmad-output/orchestrator-state.yaml:
project: <name>
vm_host: <ip>
vm_user: <user>
project_path: <path>
tmux_socket: /tmp/openclaw-tmux-sockets/openclaw.sock
tmux_session: bmad-<project>
current_phase: 1|2|3|4
current_workflow: <workflow-name>
artifacts:
brainstorming_report: null|path
product_brief: null|path
prd: null|path
ux_spec: null|path
architecture: null|path
epics: null|path
sprint_status: null|path
project_context: null|path
Phase 1: Analysis (Interactive with User)
1.1 Brainstorming (bmad-brainstorming)
Run this conversationally with the user in OpenClaw chat:
- Ask: "What project are we building? Give me the elevator pitch."
- Explore the problem space — ask about users, pain points, existing solutions
- Challenge assumptions — play devil's advocate
- Suggest Party Mode: "Want me to run party mode on Claude Code? The BMAD agents (analyst, architect, PM, dev) will debate your idea and surface things we might miss."
- If party mode → send
/bmad-brainstormingto Claude Code, capture output, share highlights - Synthesize into key decisions and themes
- Produce:
brainstorming-report.md
1.2 Research (bmad-bmm-research) — Optional
If the project needs market/technical/domain validation:
- Discuss with user what needs validation
- Send research workflow to Claude Code for heavy lifting
- Review findings together
1.3 Product Brief (bmad-bmm-create-product-brief)
- Start from brainstorming output
- Walk through with user: vision, target users, success metrics, scope
- Suggest Party Mode: "The PM and analyst agents can stress-test this brief. Run it?"
- If party mode → send command, capture debate highlights
- Iterate until user approves
- Produce:
product-brief.md
Phase 2: Planning (Interactive with User)
2.1 PRD (bmad-bmm-create-prd)
- Load product brief as context
- Walk through requirements with user section by section:
- Functional requirements (FRs)
- Non-functional requirements (NFRs)
- User journeys
- Success metrics
- Suggest Party Mode: "PM + architect + QA can review these requirements together. Good time to catch gaps."
- If party mode → send command, share findings
- Iterate until user signs off
- Produce:
prd.md
2.2 UX Design (bmad-bmm-create-ux-design) — If applicable
Only for projects with UI. Skip for backend/infrastructure tools.
Phase 3: Solutioning (Interactive with User)
3.1 Architecture (bmad-bmm-create-architecture)
- Load PRD as context
- Discuss technical decisions with user:
- Language/framework choices
- Deployment model
- Key patterns and trade-offs
- ADRs (Architecture Decision Records)
- Suggest Party Mode: "Architect + dev + QA debating the architecture will surface implementation risks early."
- If party mode → send command, share the debate
- Iterate with user
- Produce:
architecture.mdwith ADRs
3.2 Epics & Stories (bmad-bmm-create-epics-and-stories)
- Load architecture + PRD
- Present epic breakdown to user for review
- Discuss story sizing, priorities, dependencies
- Produce:
epics.mdwith stories
3.3 Readiness Check (bmad-bmm-check-implementation-readiness)
- Send to Claude Code for automated gate check
- Share result: PASS / CONCERNS / FAIL
- If CONCERNS/FAIL → discuss with user, fix gaps
- Produce: readiness report
3.4 Project Context (bmad-bmm-generate-project-context)
- Send to Claude Code after architecture is finalized
- Review output with user
- Produce:
project-context.md
Phase 4: Implementation (Automated via Claude Code)
4.0 Setup
See references/tmux-setup.md for tmux session initialization.
4.1 Sprint Planning
Send to Claude Code:
/bmad-bmm-sprint-planning
Capture and save sprint-status.yaml.
4.2 Story Loop (per epic)
For each epic, for each story:
- Create Story: Send
/bmad-bmm-create-story→ producesstory-[slug].md - Dev Story: Send
/bmad-bmm-dev-story→ implements code + tests - Code Review: Send
/bmad-bmm-code-review→ validates quality - If review fails → send fixes back, re-review
- Update sprint status
- Commit after each story
4.3 Epic Completion
After all stories in an epic:
- Send
/bmad-bmm-retrospectivefor lessons learned - Optionally run
/bmad-bmm-automatefor E2E test generation - Commit and update sprint status
4.4 Monitoring
Set up a cron job to monitor Claude Code progress every 15 minutes. Report status updates to user via chat.
Party Mode Integration
Party mode simulates a multi-agent discussion in Claude Code. Use it at these moments:
| When | Why | Command |
|---|---|---|
| After brainstorming | Surface blind spots | /bmad-party-mode with brainstorming context |
| After product brief | Stress-test the vision | /bmad-party-mode with brief |
| During PRD review | Catch requirement gaps | /bmad-party-mode with PRD draft |
| Architecture decisions | Debate trade-offs | /bmad-party-mode with architecture |
To trigger party mode on Claude Code:
tmux send-keys -l -- "/bmad-party-mode" && sleep 0.3 && tmux send-keys Enter
Capture output, extract key insights, present to user.
Claude Code Commands Reference
See references/bmad-commands.md for the full command list.
Quick Flow (Skip Phases 1-3)
For small, well-understood work:
/bmad-bmm-quick-spec→ tech-spec.md/bmad-bmm-quick-dev→ implementation
Only use when user explicitly says the project is simple and well-understood.
Sending Commands to Claude Code
See references/tmux-setup.md for the tmux interaction patterns.
Key rules:
- Split text and Enter with a delay (Claude Code TUI timing)
- Use
capture-pane -S -200to read output - Wait for idle prompt before sending next command
- Use
C-cto interrupt if stuck
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!