bmad-ml
v3.2.0
Published
Installer for BMad ML skills across Cursor, Claude Code, OpenCode, and pi/hybrid targets
Readme
bmad-ml
Agent-first installer and onboarding package for BMad ML.
Install Modes
Run from your project root:
# OpenCode
npx bmad-ml --oc
# Cursor / Claude Code subagent modes (Nosh orchestrator + 20 specialist subagents)
npx bmad-ml --cur
npx bmad-ml --cc
# Cursor / Claude Code + pi-backed specialists
npx bmad-ml --cur-pi
npx bmad-ml --cc-piAliases are supported:
--opencode->--oc--cursor->--cur--claude-code->--cc--cursor-pi->--cur-pi--claude-code-pi->--cc-pi
Standalone --pi has been removed. The former --cur-sub / --cc-sub flags are gone -- --cur and --cc now install the subagent-based layout directly.
All modes delegate specialist work via the Task/Agent tool with subagent_type: "bmad-<name>". Under --cc, the installer writes "agent": "bmad-ml-nosh" into .claude/settings.json, replacing Claude Code's default system prompt with Nosh's persona (hard binding). Under --cur, Nosh's persona loads via AGENTS.md (soft binding -- Cursor has no equivalent setting).
Install Options
--forceoverwrite existing installed files/directories--dry-runpreview changes without writing files--with-project-instructionsinstall bootstrap AGENTS/CLAUDE templates (default for--cur/--cc)--no-project-instructionsskip bootstrap templates for--cur/--cc--logginginstall optional subagent hook scripts--model-pickerrun the pi model picker during--cc-pi/--cur-piinstall (default: skip and use pi's own default model)--no-refreshdisable auto-refresh of managed files when the installed version differs from the package version
Upgrades
Re-running the installer after upgrading bmad-ml (e.g. npm i -g bmad-ml@latest or a fresh npx version) detects the version change via _bmad/install-manifest.json and refreshes managed files automatically. A legacy install without a manifest is detected via mode-specific marker directories and refreshed on first re-run. Pass --no-refresh to keep existing files even on an upgrade; pass --force to reinstall at any time.
First Session
After installation:
- Run
ml-setup. - Start with
bmad-ml-nosh. - Delegate specialist outcomes through Nosh.
Built-in Docs Commands
npx bmad-ml --about
npx bmad-ml --agents
npx bmad-ml --workflows
npx bmad-ml --matrix
npx bmad-ml --opencode-guide
npx bmad-ml --pi-subagent-guideTarget Summary
--oc->.opencode/skills/,.opencode/agents/--cur->.cursor/skills/,.cursor/agents/(21 files: 20 specialists + Nosh),AGENTS.md,.cursor/rules/, optional.cursor/hooks/+.cursor/hooks.json--cc->.claude/skills/,.claude/agents/(21 files: 20 specialists + Nosh),CLAUDE.md,.claude/rules/,.claude/settings.json(merged -- includes"agent": "bmad-ml-nosh"),DELEGATION.md, optional.claude/hooks/--cur-pi->.pi/skills/,.cursor/agents/,.cursor/rules/,.bmad-ml/dispatch-pi.mjs--cc-pi->.pi/skills/,.claude/agents/,.claude/rules/,.bmad-ml/dispatch-pi.mjs
Web Access (3.1.0)
Research agents get web access (WebSearch + WebFetch, or the host equivalent). Other agents do not.
Agent Teams (Claude Code only, experimental)
The four party/meeting skills (bmad-ml-lab-meeting, bmad-ml-startup-meeting, bmad-ml-research-party, bmad-ml-all-hands) can optionally use agent teams for multi-specialist discussion. Enable by exporting CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 before starting Claude Code. The installer does not write this env var -- opt in manually. Without it, these workflows fall back to serial Task dispatch.
