
Bmad run inspector
Lets your agent inspect bmad-loop run artifacts to explain health, stalls and failures
Bmad run inspector is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 126
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Bmad run inspector
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Asks for: Read, Glob, Grep, Bash(python3 *), Bash(bmad-loop *), Bash(git *), Bash(ls *), Bash(ps *)…(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 15 files (160 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the agent-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skillsOr copy only this skill to ~/.claude/skills/bmad-run-inspector:
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.
Copy the skill folder to ~/.agents/skills/bmad-run-inspector to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/bmad-run-inspector to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/bmad-run-inspectorOr copy the folder to ~/.gemini/skills/bmad-run-inspector yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bmad-run-inspector:
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.
Get the folder:
git clone --depth 1 https://github.com/tronghieu/agent-skills.gitThen 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.
What it does
- 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
Bmad run inspector 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.
More from tronghieu/agent-skills

Coaches structured brainstorming where you generate ideas first and the agent builds
- Open source
- 126 GitHub stars
- Productivity

Audits the reasoning of a document, finding gaps, assumptions and fallacies with quotes
- Open source
- 126 GitHub stars
- Productivity

Scores and compares CVs against a job description using a shared 100-point rubric
- Open source
- 126 GitHub stars
- Productivity

Guides an agent through data profiling, statistical tests and leak-safe model baselines
- Open source
- 126 GitHub stars
- Analytics and data

Lets an agent read long books and papers chapter by chapter with page-anchored notes
- Open source
- 126 GitHub stars
- Files and documents

Guides an AI agent through a full design-thinking cycle grounded in real user evidence
- Open source
- 126 GitHub stars
- Productivity




