# Bmad run inspector

> Bmad run inspector is an open-source agent skill for developer tools. Lets your agent inspect bmad-loop run artifacts to explain health, stalls and failures. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tronghieu/agent-skills/tree/main/skills/bmad-run-inspector
- **Repository:** https://github.com/tronghieu/agent-skills
- **GitHub stars:** 126
- **License:** MIT
- **Skill name:** bmad-run-inspector
- **Collection:** https://github.com/tronghieu/agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill helps an agent read the artifacts of a bmad-loop autonomous coding run under .bmad-loop/runs/ and explain what happened. It covers two situations: a live check on whether a run is still progressing, and forensic review of a run that has finished, failed or paused. Rather than trusting the terminal capture file, which repaints frames and hides long tool output, it leans on the structured journal, the machine state file and the working tree diff against the story's baseline commit.

The workflow has the agent run bundled Python scripts. One probe reports health flags, per-story phase, attempt counts, heartbeat age and findings, and saves a snapshot so later probes can show what changed. Another script strips escapes from the log and summarizes tool calls, subagent cost and results, and reports how much of the capture is collapsed. The skill also tells the agent to confirm the project's coding CLI and test stack through a project adapter before reading the log, and it explains which bmad-loop commands are safe to run on a live run and which can change state.

It expects a project driven by bmad-loop, Python 3.9 or newer on the host, and read access to the run directory and git. It is scoped to bmad-loop's own run artifacts, not application runtime logs or CI build logs.

## When your agent uses it

> Inspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop alive?", "what is the agent doing?") and post-run forensics ("what happened?", "why did story X fail?", "where did the tokens go?"). Also triggers on "monitor/check/summarize the loop", "why did the run pause?", Vietnamese "theo dõi bmad loop", "phân tích run", "đọc log của run", and equivalent requests in other languages. Use only for bmad-loop's own run artifacts, not application runtime logs or CI-provider build logs.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/bmad-run-inspector)
- [Asks for: Read, Glob, Grep, Bash(python3 *), Bash(bmad-loop *), Bash(git *), Bash(ls *), Bash(ps *)…](https://github.com/tronghieu/agent-skills/blob/HEAD/skills/bmad-run-inspector/SKILL.md)
- [No network calls found in its scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/bmad-run-inspector)
- [License: MIT](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/bmad-run-inspector)

## Features

- **Live health probe:** Reports run state, per-story phase, attempts, heartbeats and findings, and compares them with the previous snapshot.
- **Log narrative reconstruction:** Rebuilds readable tool calls, subagent cost and results from the terminal capture while stripping repaint noise.
- **Journal-based verdicts:** Reads dev decisions and terminal journal entries to establish whether a story was accepted, deferred or escalated.
- **Working tree cross-check:** Compares git changes against the story's baseline commit to confirm what actually landed.
- **Tiered anomaly triage:** Ranks findings into needs-human-now, about-to-fail and silent-rot tiers with the command to run next.
- **Safe command guidance:** Lists bmad-loop commands that are safe to run on a live run and warns about those that mutate state.

## Good for

- Check whether my bmad-loop run is stuck or still making progress
- Explain why story auth-3 failed in last night's run
- Find out where the tokens went on a finished bmad-loop run
- Tell me what a paused bmad-loop run is waiting for and what to run next
- Confirm whether a story's changes actually landed in the working tree

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skills
```

Or copy only this skill to `~/.claude/skills/bmad-run-inspector`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bmad-run-inspector &&
cp -R "$tmp/skills/bmad-run-inspector" ~/.claude/skills/bmad-run-inspector &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bmad-run-inspector` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bmad-run-inspector` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bmad-run-inspector &&
cp -R "$tmp/skills/bmad-run-inspector" ~/.agents/skills/bmad-run-inspector &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bmad-run-inspector` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bmad-run-inspector` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bmad-run-inspector &&
cp -R "$tmp/skills/bmad-run-inspector" ~/.cursor/skills/bmad-run-inspector &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bmad-run-inspector` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/bmad-run-inspector
```

Or copy the folder to `~/.gemini/skills/bmad-run-inspector` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bmad-run-inspector`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bmad-run-inspector &&
cp -R "$tmp/skills/bmad-run-inspector" ~/.copilot/skills/bmad-run-inspector &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bmad-run-inspector` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tronghieu/agent-skills.git
```

Then copy `agent-skills/skills/bmad-run-inspector` into your agent's skills folder as `bmad-run-inspector`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Bmad run inspector work outside bmad-loop?

No. It reads bmad-loop's own run directories under .bmad-loop/runs/ and is not meant for application runtime logs or CI build logs.

### Can Bmad run inspector tell me whether tests passed?

Not from the log. The skill says the terminal capture hides long test output, so the verdict comes from the journal and working tree, or from re-running the verify command.

### Does Bmad run inspector change anything in my run?

The skill's guidance lists commands that are safe to run on a live run and others that act on the run, such as resume, resolve and run. Those are flagged as mutating.

### What does Bmad run inspector need installed?

Python 3.9 or newer for the bundled scripts, plus git and bmad-loop for the cross-check and CLI commands.

### How do I install Bmad run inspector in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bmad-run-inspector to use it in all your projects, or to .claude/skills/bmad-run-inspector in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add tronghieu/agent-skills, then /plugin install agent-skills@tronghieu-skills.

### Does Bmad run inspector run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Bmad run inspector?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Bmad run inspector?

The closest alternatives to Bmad run inspector are ML autoresearch, Agent architecture audit, Agent introspection debugging, Debug evals and Verification loop.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [ML autoresearch](https://ai-powered.com/skills/ml-autoresearch): ML autoresearch is an open-source agent skill for ai models and llm tooling.
- [Agent architecture audit](https://ai-powered.com/skills/agent-architecture-audit): Agent architecture audit is an open-source agent skill for developer tools.
- [Agent introspection debugging](https://ai-powered.com/skills/agent-introspection-debugging): Agent introspection debugging is an open-source agent skill for developer tools.
- [Debug evals](https://ai-powered.com/skills/debug-evals): Debug evals is an open-source agent skill for developer tools.
- [Verification loop](https://ai-powered.com/skills/verification-loop-nabwinsaud): Verification loop is an open-source agent skill for developer tools.
- [Interactive debugging](https://ai-powered.com/skills/interactive-debugging): Interactive debugging is an open-source agent skill for developer tools.
- [Blast radius](https://ai-powered.com/skills/blast-radius-michael-denyer): Blast radius is an open-source agent skill for developer tools.
- [Bug fix](https://ai-powered.com/skills/bug-fix): Bug fix is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bmad-run-inspector
