The installed helper command is usually:
.claude/skills/bmad-story-automator/scripts/story-automator
It exposes one flat command surface with grouped responsibilities.
flowchart TD
A["story-automator"] --> B["Parsing"]
A --> C["State"]
A --> D["tmux"]
A --> E["Orchestrator helpers"]
A --> F["Agent config"]
A --> G["Basic utilities"]
parse-epic --file <path>parse-story --epic <path> --story <id> --rules <file>parse-story-range --input <selection> --total <count> --ids <csv>epic-complete --epic <path> --range <csv>
Use these during preflight to keep story selection and complexity scoring deterministic.
build-state-docstate-metrics --state <file>validate-state --state <file>sprint-compare --state <file> --sprint <file>
Use these to create, inspect, and validate orchestration state.
tmux-wrapper spawntmux-wrapper build-cmdtmux-wrapper killtmux-wrapper listmonitor-sessiontmux-status-checkcodex-status-checkheartbeat-check
Critical rule:
- always pass
--commandtotmux-wrapper spawn
orchestrator-helper sprint-status get|exists|check-epicorchestrator-helper state-listorchestrator-helper state-latestorchestrator-helper state-latest-incompleteorchestrator-helper state-summaryorchestrator-helper state-updateorchestrator-helper marker create|remove|check|heartbeatorchestrator-helper verify-steporchestrator-helper verify-code-revieworchestrator-helper get-epic-storiesorchestrator-helper check-epic-completeorchestrator-helper agents-buildorchestrator-helper agents-resolve
These commands are the orchestration control plane.
agent-config listagent-config saveagent-config ...
These support saved presets and generated agent plans.
derive-project-slugensure-marker-gitignoreensure-stop-hookstop-hooklist-sessionscommit-storyvalidate-story-creation(legacy compatibility wrapper; preferorchestrator-helper verify-step create)
scripts=".claude/skills/bmad-story-automator/scripts/story-automator"
cmd="$("$scripts" tmux-wrapper build-cmd review 1.2 --agent claude)"
session="$("$scripts" tmux-wrapper spawn review 1 1.2 --agent claude --command "$cmd")""$scripts" monitor-session "$session" --json --agent claude --workflow review --story-key 1.2"$scripts" orchestrator-helper agents-resolve --state-file "$state_file" --story 1.2 --task review"$scripts" orchestrator-helper verify-step create 1.2 --state-file "$state_file"Legacy compatibility:
"$scripts" validate-story-creation check 1.2 --state-file "$state_file"