bmad-loop

bmad-loop is a skill for Claude Code, Codex from mmornati/leanproxy-mcp. It costs 48 tokens per session (1,240 once invoked), scanned A, original, MIT.

An automation workflow that processes a list of software stories one at a time through development, review, pull-request creation, automated checks, and merging.

In plain words
What is it for?
It helps implement each listed story, send it for review, create and check its pull request, merge it, and continue with the next story.
Why use it?
It removes repeated manual coordination when several stories need to pass through the same delivery process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit It helps implement each listed story, send it for review, create and check its pull request, merge it, and continue with the next story.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mmornati/leanproxy-mcp/bmad-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mmornati/leanproxy-mcp --skill bmad-loop
Clone the repo
git clone --depth 1 https://github.com/mmornati/leanproxy-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bmad-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/mmornati/leanproxy-mcp/bmad-loop/github.svg)](https://agentmods.dev/skills/mmornati/leanproxy-mcp/bmad-loop)
Your own site
<a href="https://agentmods.dev/skills/mmornati/leanproxy-mcp/bmad-loop"><img src="https://agentmods.dev/badge/skills/mmornati/leanproxy-mcp/bmad-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bmad-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/mmornati/leanproxy-mcp/bmad-loop"><img src="https://agentmods.dev/badge/skills/mmornati/leanproxy-mcp/bmad-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01240
Opus 5.5 $0.00019 $0.00496
Sonnet 5.5 $0.00010 $0.00248
Haiku 4.5 $0.00005 $0.00124

Measured 1mo ago against content hash f527fb2fd9de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bmad-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/bmad-loop/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Loop Workflow

Goal: Deliver each story in an input list through the full pipeline: implement, review, branch, PR, CI-check, merge — then move to the next.

Your Role: Automated delivery orchestrator. You coordinate subagents, manage git, and drive PRs to merge. No human interaction inside the loop body.

HALT

To HALT with a final status and optional blocking condition:

  1. If applicable, append a loop-status entry to {loop_status_file}.
  2. Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete
  3. If the resolved workflow.on_complete is non-empty, follow it as the final instruction before exiting.
  4. Stop the workflow.

Subagents

Using subagents when instructed is mandatory. If you cannot, HALT with status blocked and blocking condition no subagents.

Invoke every subagent synchronously: launch it, wait for it to return within the same turn, then continue with its result. Never run a subagent in the background / detached / async (e.g. run_in_background: true), and never end your turn to await a completion notification. This workflow runs unattended: there is no event loop to resume a yielded turn, so a backgrounded subagent never hands control back and the run stalls. The only sanctioned way to end a turn is the HALT protocol above with an explicit terminal status.

Conventions

  • Bare paths (e.g. steps/step-01-ingest-input.md) resolve from the skill root.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.

Input Resolution

Parse the invocation prompt for space-separated story keys (e.g. "4-1 4-2 4-3"). Store as {story_keys} array, preserving order. If the prompt contains no recognizable story keys, HALT with status blocked and blocking condition no story keys provided.

Supported patterns per element:

  • N-N — story key like 4-1
  • epic-N — epic key like epic-4 (expanded later by step-01)

Read the full file on GitHub · 103 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 103 lines · 48 tokens per session scan A f527fb2fd9de

Subscribe to this mod's changes

bmad-loop is a skill published in the GitHub repository mmornati/leanproxy-mcp (5 stars, last pushed 25d ago), licensed MIT. It adds 48 tokens to every session and 1,240 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens

gh-pr

Writes clear pull request descriptions from the current branch diff against a base branch. Defaults to main, but supports dev or any other user-specified comparison branch. Use when the user asks for a PR description, pull request summary, or a markdown write-up for changes against a base branch.

Unique-Divine/jiyuu · 63 tokens

gh-rev

Use the gh-rev CLI to maintain a persistent Markdown review ledger for local branches and pull requests. Trigger when the user names gh-rev, asks to save or submit a durable review, inspect or implement existing findings, continue an independent review pass, or adopt branch history into a PR. Use the gh-pr-review…

Unique-Divine/jiyuu · 89 tokens

github

Full GitHub CLI control — issues, PRs, code reviews, repo management. Uses gh CLI with auth detection, rate limiting, and templates. Triggers on: github, issue, pull request, PR, code review, repo, branch, label, assignee, milestone, release, workflow, actions.

adolfousier/opencrabs · 0 tokens

review-preflight

Review tooling for a PR: review-preflight prints REVIEW.md's criteria and the PR's live gate state before a review; ci-triage maps a PR's failing checks to already-filed issues.

sonichi/sutando · 45 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens