Run BMAD epics in autonomous loop (requires claude-auto-agents plugin)
/plugin marketplace add hanibalsk/claude-marketplace/plugin install bmad-system@hanibalsk-marketplaceProcess BMAD epics continuously using the autonomous loop from claude-auto-agents plugin.
/bmad-loop [epic-pattern]
/bmad-loop "7A 8A 10B"
/bmad-loop "sprint-12.*"
This command requires the claude-auto-agents plugin to be installed for autonomous loop functionality.
work/queue.mdEpics are found in:
_bmad-output/epics/_bmad-output/stories/epic-*/docs/epics/Each epic is added to the queue as:
- [ ] **[EPIC-{id}]** Implement epic {id}: {title}
- Priority: high
- Agent: bmad-orchestrator
# Check loop status
/status
# View queue
/queue list
# Stop the loop
/stop
# Process all epics in sprint 12
/bmad-loop "sprint-12.*"
# Process specific epics
/bmad-loop "7A 8A"
# Process all available epics
/bmad-loop
STATUS: COMPLETE | BLOCKED | WAITING | ERROR
SUMMARY: Brief description of epic processing status
FILES: comma-separated list of changed files
NEXT: Next epic to process or completion message
BLOCKER: Reason if blocked (e.g., CI failure, review required)
When invoked, this command will:
work/queue.md with proper formatFirst, find epic files and add them to the work queue:
# Find epic files
PATTERN="${ARGUMENTS:-*}"
EPIC_DIR="_bmad-output/epics"
# Initialize work directory if needed
mkdir -p work
# Find matching epics and queue them
for epic_file in "$EPIC_DIR"/*.md; do
if [[ -f "$epic_file" ]]; then
epic_id=$(basename "$epic_file" .md)
epic_title=$(head -1 "$epic_file" | sed 's/^#* *//')
# Add to queue if matches pattern
if [[ "$epic_id" == *"$PATTERN"* ]] || [[ "$PATTERN" == "*" ]]; then
echo "- [ ] **[EPIC-$epic_id]** Implement: $epic_title" >> work/queue.md
echo " - Priority: high" >> work/queue.md
echo " - Agent: bmad-orchestrator" >> work/queue.md
fi
fi
done
The loop will be started automatically. Epic pattern: $ARGUMENTS
After discovering epics, the orchestrator will:
You are the bmad-orchestrator. For each epic in the queue:
_bmad-output/epics/ or _bmad-output/stories/git checkout -b feature/epic-{id}/spawn reviewergh pr create --title "Epic {id}: {title}"STATUS: COMPLETE
SUMMARY: Implemented epic {id}: {title}
FILES: list of changed files
NEXT: Process next epic or "All epics complete"
If blocked:
STATUS: BLOCKED
SUMMARY: Cannot proceed with epic {id}
BLOCKER: Specific reason (e.g., "CI failing on test X", "Needs architecture decision")