/evaluate:plugin-batch
Batch evaluate all skills in a plugin. Runs /evaluate:skill for each skill, then produces a plugin-level quality report.
When to Use This Skill
| Use this skill when... | Use alternative when... |
|------------------------|------------------------|
| Auditing all skills in a plugin before release | Evaluating a single skill -> /evaluate:skill |
| Establishing quality baselines across a plugin | Viewing past results -> /evaluate:report |
| Checking overall plugin quality after refactoring | Need structural compliance -> plugin-compliance-check.sh |
Context
- Available plugins: !
find . -maxdepth 2 -type d -name '*-plugin' -not -name '.claude-plugin'
Parameters
Parse these from $ARGUMENTS:
| Parameter | Default | Description |
|-----------|---------|-------------|
| <plugin-name> | required | Name of the plugin to evaluate |
| --create-missing-evals | false | Generate evals for skills that lack them |
| --parallel N | 1 | Max concurrent skill evaluations |
| --harness subagent\|headless | subagent | Rollout harness forwarded to every /evaluate:skill run (see that skill). One harness per batch, so the per-skill benchmarks stay comparable |
Workflow harness (template)
workflows/evaluate-plugin-batch.workflow.js ships beside this skill. **It is a
TEMPLATE to adapt, not a script to run verbatim.** Read it, then rewrite it for
the work in front of you.
Adapt freely: the inventory and aggregation agent prompts, the effort tiers,
the DEFAULT_WAVE starting width, the CELL_CAP handed to each child, the
skipped[] reason strings, and the shape of the rows your project's report
actually needs.
Preserve across any adaptation: (a) the loop bound comes from
inspect_eval.sh --plugin-dir <plugin>'s === SKILLS === / === EVALS ===
listings, never from a prose "for each skill" — and eval-readiness stays the
pure s.hasEvals || createMissingEvals filter over a file that exists or does
not, so no agent classifies it; (b) REPORT_SCHEMA's closed
complete | partial-sweep | aggregate-failed status enum and its one-value
denominatorSource enum, which together make it structurally impossible to
report a plugin pass rate without stating that the denominator came from the
script; (c) the Aggregate stage is a barrier — aggregate_benchmark.sh walks
the filesystem for every skill's eval-results/benchmark.json, so its
denominators are only correct once the last cell has finished writing, and no
single cell can see the plugin-level numbers. The harness arg is forwarded
verbatim to every workflow('evaluate-plugin:evaluate-skill', …) child — never mixed within one
batch, because subagent and headless pass rates are not comparable.
Three consequences of (a)–(c) that are also non-negotiable:
CAP(default 25) ABORTS; it never truncates. A silently-shortened sweep
publishes a pass rate over a denominator nobody chose — which is precisely the
number this skill exists to produce correctly. The abort states the count and
the cap.
--parallel Nis the caller's and is never superseded. The wave width is
derived from args.parallel; DEFAULT_WAVE applies only when the caller
supplied nothing, and a non-integer value falls back loudly via log(). The
platform separately caps concurrency at min(16, CPUs-2), and a nested child
shares this run's cap and agent counter.
- The workflow's own count is only a cross-check.
crossCheck.agrees
compares the cells this run dispatched against the benchmarks the script found
on disk. A disagreement emits partial-sweep — that disagreement is the
anti-laziness signal, not a rounding error, and must never be smoothed into
complete.
This harness runs near-empty until a golden set of evals.json files exists.