Runs the evals of a BMad skill through the agent harness the user works in and reports what they show: baseline against the bare model, variant against a str…
Pins this version in aipm.package.json and aipm-lock.json.
aipm add @bmad-code-org/bmad-eval@1.0.0
Without project tracking
Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.
aipm add @bmad-code-org/bmad-eval@1.0.0 --no-init
How to use
Install the skill above, then run this in your AI tool:
/bmad-eval <your description>
About
You run a skill's evals and report what they say. Cite specific findings, flag evals that pass for trivial reasons, and never widen a tolerance to make a run look like it succeeded. No model or harness is named in this skill: the harness a project's evals run through is recorded in this skill's customization at the first run.
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
Runs the evals of a BMad skill through the agent harness the user works in and reports what they show: baseline against the bare model, variant against a stripped or prior version, quality against a rubric, trigger accuracy of the descri...
Skill instructions
Skill Eval Runner
You run a skill's evals and report what they say. Cite specific findings, flag evals that pass for trivial reasons, and never widen a tolerance to make a run look like it succeeded. No model or harness is named in this skill: the harness a project's evals run through is recorded in this skill's customization at the first run.
The five modes
Mode
Question it answers
How it runs
baseline
Does the skill beat the bare model on the same input?
references/eval-format.md
variant
Does a section earn its place, or does a stripped or prior version do as well?
references/eval-format.md
quality
Does the output meet the named rubric?
references/eval-format.md
trigger
Does the description fire on the right queries and stay quiet on the rest?
the trigger command below; references/description-optimization.md to improve the description across rounds
matrix
With every skill of an install present, does each request load the skill meant for it?
the matrix command below
Read the named reference fully when its mode runs. Cases live in cases.json under evals/ at the root of the repository or project holding the skill, in a folder mirroring the skill's path below skills/ (evals/core-tools/bmad-brainstorming/), and trigger queries as {query, should_trigger} in triggers.json beside them, outside the skill so they never ship with it. A suite that spans skills lives in evals/suites/<name>/; its trigger-matrix.json lists {query, expect, also_ok}, where expect is the skill that should load or null for none, and also_ok names skills that may load instead. Writing cases, or converting a skill-creator evals.json, follows references/eval-format.md.
On activation
{project-root} is the nearest folder containing _bmad/, from the working directory upward (in a linked git worktree, fall back to walking up from the parent of git rev-parse --path-format=absolute --git-common-dir).
Read config with uv run "{project-root}/_bmad/scripts/resolve_config.py" --project-root "{project-root}" --key core.output_folder and customization with uv run "{project-root}/_bmad/scripts/resolve_customization.py" --skill "{skill-root}" --project-root "{project-root}" --key workflow. Absent keys are fine. {reports_folder} is {workflow.reports_folder} with {skill-path} (the skill under test) and {output_folder} filled in; a matrix run has no skill, so when the value contains {skill-path} it uses {project-root}/.eval-results (~/bmad-evals outside a project), and an explicit custom path is kept.
Verify <skill-path>/SKILL.md exists, or for the matrix that at least one SKILL.md sits below each skills folder; halt with a clear error if not.
When the run uses the default harness and workflow.harness.command came back empty, work out the harness facts for the CLI you are running in per references/harness.md, prove them on one case, and record them by invoking the bmad-customize skill (install: npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize); the runner reads them from there. When nobody is at the keyboard, stop and show the table to record instead.
Find the cases file: the one the user named, then the skill's folder under evals/ in the nearest folder above the skill holding one, mirroring its path below skills/, then <skill-path>/evals/ for a skill built elsewhere, then anywhere under <project-root>/evals/. If nothing is found, halt and say so; the runner does not invent cases. When that folder also holds suites.toml or README.md, read it and follow its runner and grading setup (for example --read-only or tiered grading).
Confirm the run summary unless the user asked for a non-interactive run, then execute. The summary names the skill, cases, modes and output dir, shows the harness command, and says that it runs with permission prompts off and is not contained unless the command wraps it in a sandbox. A non-interactive run needs the harness already recorded.
Run execution
The skill under test is the directory holding SKILL.md. The execution root defaults to the first ancestor holding _bmad/ within the active checkout, or the active worktree's .git root when _bmad/ is absent locally (for fixtures and companion skills). When bmad-eval resolves harness configuration, it falls back from there through _bmad/ on the linked main checkout (git rev-parse --path-format=absolute --git-common-dir parent and its ancestors). Pass --output-dir "{reports_folder}" so customized paths apply (a runner called without --output-dir falls back to its built-in .eval-results default, or ~/bmad-evals outside a project); a .eval-results/ folder gets its own .gitignore, so runs never dirty git status, and the staged copy of the skill leaves it out.
Every run is its own timestamped folder there, so runs never collide. Each case runs in a clean room outside the project with a copy of the skill staged into its workspace and an environment built from scratch, so host config, prior runs, the project's instruction files, and its installed skills cannot bias the result.
Runners read the harness from customization themselves; in a project without BMad, pass --harness <json> with the same keys. When the user names other tools or models to run against, pass --harness-name <name> once per name recorded under workflow.harnesses, recording any that is missing per references/harness.md first. Each name gets its own run folder, and the output is keyed by name: report where the harnesses disagree, since a description that routes well in one tool can fail in another.
Report each failing query with the skills that loaded and their rates, then the confusion table: a pair that recurs there is two descriptions claiming the same request. A skill that loads too rarely shows as missed. A fix is a description change, tested by running the matrix again.
Exit 0 is a complete run; 1 means a case errored or timed out or the command was not found, 3 that no harness is recorded; a trigger or matrix query failing its threshold is a result, not an error.
When a run comes back weak and the user wants the skill improved from it, follow references/self-improvement.md.
Artifacts
Each run folder holds run.json naming the harness command and one folder per case or trigger attempt with its prompt, transcript, stderr.txt, cwd/ (the workspace after the run) and timing.json, plus grading.json when quality ran. Never delete, overwrite or rotate a run folder. When you finish, tell the user the exact path of each run folder (for a skill's default, <skill-path>/.eval-results/<run>/) and that .eval-results/ is gitignored.
Outcomes
The run reflects the skill in a clean working directory, not the host shell.
Failures cite specific expectations with evidence; a superficial pass is flagged.
A result from fewer than 3 runs per case (or per trigger or matrix query) is reported as a quick look, never as settled.
A baseline the skill no longer wins points to retiring the skill, not patching it.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/bmad-code-org/bmad-eval/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@bmad-code-org/bmad-eval@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Runs the evals of a BMad skill through the agent harness the user works in and reports what they show: baseline against the bare model, variant against a stripped or prior version, quality against a rubric, trigger accuracy of the descri...
Run aipm add @bmad-code-org/bmad-eval@1.0.0 in a project that has AIPM initialized.
Supported tools
@bmad-code-org/bmad-eval@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.