bmad-orchestrator
Scannednpx machina-cli add skill xmm/codex-bmad-skills/bmad-orchestrator --openclawBMAD Orchestrator
Trigger Intents
bmad:initbmad:statusbmad:next
Workflow Variants
init
- Initialize project BMAD artifacts and baseline state.
status
- Summarize workflow progress and current phase readiness.
next
- Recommend the next workflow intent from current state.
Inputs
- repository root and target project root
- existing BMAD files under
bmad/ - project level and phase state from YAML artifacts
Language Guard (Mandatory)
Enforce language selection separately for chat responses and generated artifacts.
Chat language (communication_language) fallback order:
language.communication_languagefrombmad/project.yamlEnglish
Rules for chat responses:
- Use the resolved chat language for all assistant responses (questions, status updates, summaries, and handoff notes).
- Do not switch chat language unless the user explicitly requests a different language in the current thread.
Artifact language (document_output_language) fallback order:
language.document_output_languagefrombmad/project.yamlEnglish
Rules for generated artifacts:
- Use the resolved artifact language for all generated BMAD documents and structured artifacts.
- write prose and field values in the resolved document language
- avoid mixed-language requirement clauses with English modal verbs (for example,
System shallfollowed by non-English text) - allow English acronyms/abbreviations in non-English sentences (for example,
API,SLA,KPI,OAuth,WCAG) - Keep code snippets, CLI commands, file paths, and identifiers in their original technical form.
Mandatory Reference Load
Before executing init, status, or next, read REFERENCE.md first.
Treat REFERENCE.md as required context for routing, sequencing, and state handling.
Output Contract
bmad/project.yamlbmad/workflow-status.yamlbmad/sprint-status.yaml- status summary and next-intent recommendation
Core Workflow
- Initialize state files and directories (
init). - Read YAML state and show completion by phase (
status). - Compute next recommended intent by project level and completion (
next). - Route to phase skill with explicit handoff context.
Script Selection
Primary scripts:
- Init project:
bash scripts/init-project.sh --name "MyApp" --type web-app --level 2 - Show status:
bash scripts/show-status.sh bmad/workflow-status.yaml - Recommend next:
bash scripts/recommend-next.sh bmad/workflow-status.yaml
Compatibility wrappers:
scripts/check-status.sh-> wrapper toshow-status.shscripts/validate-config.sh-> project config structural validation
Shared state helpers are in ../bmad-shared/scripts/.
Template Map
-
templates/project.template.yaml -
Why: orchestrator-owned project config template used by
init-project.sh. -
templates/workflow-status.template.yaml -
Why: orchestrator-owned workflow status template used by
init-project.sh. -
templates/sprint-status.template.yaml -
Why: orchestrator-owned sprint status template used by
init-project.sh.
Reference Map
-
REFERENCE.md -
Must read first for routing logic and orchestration heuristics.
-
resources/workflow-phases.md -
Use for phase-level guidance and sequencing.
-
../bmad-shared/workflows.registry.yaml -
Use for intent mapping and level-based routing rules.
Error Handling
- Missing
bmad/workflow-status.yaml-> recommendbmad:init - Invalid YAML or missing required fields -> report exact file and key
- State mismatch across files -> normalize via shared update script
Handoff Rules
When routing to another skill, include:
- project level
- current phase
- completed and required workflows
- expected output artifact path
Source
git clone https://github.com/xmm/codex-bmad-skills/blob/main/skills/bmad-orchestrator/SKILL.mdView on GitHub Overview
BMAD Orchestrator coordinates Codex BMAD workflows by handling init, status, and next intents. It initializes project artifacts, tracks YAML-based state, and routes to the appropriate phase skill with explicit handoff context. All activity references REFERENCE.md for routing logic and generates bmad/project.yaml, bmad/workflow-status.yaml, and bmad/sprint-status.yaml as outputs.
How This Skill Works
On each trigger, the orchestrator loads the existing repository state from YAML, enforces language guard rules, and selects the downstream phase skill per the reference map. It then outputs the required BMAD documents and a status summary, including handoff context when routing to another skill.
When to Use It
- When starting a BMAD project (bmad:init) to create baseline artifacts and state
- When evaluating progress (bmad:status) to summarize completed phases and readiness
- When deciding the next action (bmad:next) based on current state and goals
- When language constraints require enforcement of chat vs. artifact language settings
- When routing to a specific phase skill with explicit handoff context
Quick Start
- Step 1: bash scripts/init-project.sh --name "MyApp" --type web-app --level 2
- Step 2: bash scripts/show-status.sh bmad/workflow-status.yaml
- Step 3: bash scripts/recommend-next.sh bmad/workflow-status.yaml
Best Practices
- Read REFERENCE.md before any run to align routing and sequencing
- Validate inputs: repository root, target project root, and existing bmad/ files
- Keep bmad/project.yaml and bmad/workflow-status.yaml in sync across actions
- Enforce language guard rules for chat responses and generated artifacts
- Provide explicit handoff context when routing to another BMAD skill
Example Use Cases
- Initialize a new BMAD web-app project, then check its status to confirm baseline setup
- Progress from init to the next phase by requesting a recommended next action
- Encounter a state mismatch and normalize state using the shared update workflow
- Route from status to a specific phase skill with current phase and completed workflows
- Generate sprint visibility with bmad/sprint-status.yaml for stakeholder reviews