Report whether the recent Cardinal revisions made the agent more efficient, the delivered work better and the rules better followed, with the model, Claude Code version and project mix next to each number, plus the fixed context each revision costs and the skills nobody calls. Use when the user asks to evaluate or measure the harness (Cardinal), compare its revisions or its model setups (an executor with an advisor against a model alone), or see what a skill, hook or rule change brought.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Evaluate Harness?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/electron-libre-evaluate-harness)
---
name: evaluate-harness
description: Report whether the recent Cardinal revisions made the agent more efficient, the delivered work better and the rules better followed, with the model, Claude Code version and project mix next to each number, plus the fixed context each revision costs and the skills nobody calls. Use when the user asks to evaluate or measure the harness (Cardinal), compare its revisions or its model setups (an executor with an advisor against a model alone), or see what a skill, hook or rule change brought.
---
# Evaluate Cardinal
Measure only: change nothing here. The sibling `skill:audit-instructions` proposes rules; this one measures what the
rules brought.
## Procedure
1. **Collect** from the repository root into `<dir>`, a directory made by `mktemp -d` and removed at the end (the
rows name projects and issues: never write them in the repository):
- `cardinal run session-metrics > <dir>/sessions.tsv`; if the user keeps an archive of the rows
(`--archive <file>`), pass `--archive` to it and use the archive instead, since it outlives the transcripts; the
other scripts read only the transcripts still kept, so a group older than them has empty rules, quality and
fixed context cells: say the data is missing, never read it as a trend;
- `cardinal run rule-breaches --summary > <dir>/breaches.tsv`;
- `cardinal run delivered-quality <repo> --summary > <dir>/quality-<n>.tsv` for each repository
the sessions name that has an `issues/done/` directory (the current one at least);
- `cardinal run fixed-context > <dir>/context.tsv`;
- `cardinal run cardinal-changes <source> --sessions <dir>/sessions.tsv > <dir>/changes.tsv`, `<source>` a local
checkout of the Cardinal source (the `source` of `.claude/cardinal.toml` when it is a directory), for the
`Expected-effect` lines of its commits; skip it, and `--changes`, when there is none;
- `cardinal run cardinal-report --sessions <dir>/sessions.tsv --breaches <dir>/breaches.tsv --quality <dir>/quality-1.tsv … --context <dir>/context.tsv --changes <dir>/changes.tsv --last 6`
(the last six groups, the trend it reads), with `--min-sessions <n>` when the user asks for another sample
size than 10, `--min-issues <n>` than 5 issues;
- for each project of the sessions holding at least `--min-sessions` sessions, the same command with
`--project <name>`, its `--breaches` from `cardinal run rule-breaches --summary --project <name>` and its
`--quality` from its own repository only: a new project swamps the group it lands in, so a verdict holds when
it compares two groups of one project;
- the same command without `--last` (refused with it: the setups have no order in time) and with `--by setup`,
for the setups (the main model alone, or advised by another) side by side.
2. **Read** each table of the report, oldest group first: the tables are the numbers, never recompute them.
- A trend is a change kept over two groups or more; one group out of line is noise.
- Before naming a trend, compare the `models`, `versions` and `projects` of the groups it spans: when they
changed too, say the change may come from them, not from Cardinal.
- A `too few` group supports no conclusion; say how many sessions it lacks. The same holds for a
`main_context_peak` whose `peak_sessions` is under the threshold, and for the advisor calls and tokens whose
`advisor_sessions` is, and for a ratio of the quality table whose `issues` (`token_issues` for the tokens; and
`counted_reviews`, the reviews whose findings are known, too for `findings_per_review`; `specs` for the ratios
per spec) is under `--min-issues`.
- Read `input_tokens` with `cache_read_share`: a cache read costs about a tenth of an uncached input, so input
that grows while the share rises may cost less, and a share that falls points to a prompt prefix that changes.
- A skill `unused` over the last groups may be dropped or described better; a hook whose refusals grow, or a
rule whose `breached_share` stays high, goes to `skill:audit-instructions` with its counts; a waste rule (its
`bytes` filled) is a measure, not a rule to follow: read its `bytes_per_session`, never its share, and send
it to no audit; `oversized-result` is the session's own context, `oversized-result-review` the diffs the
reviewers read and `oversized-result-subagent` the other sub-agents, whose tokens never reach the session.
- With no trend, say so: no change is a valid conclusion.
- The setups (`--by setup`) are observational, not an A/B: the user picks a setup per task, often by its
difficulty, so name the setups' `sessions` and the `issues` of their quality table and compare their
`revisions`, `projects` and `versions` before reading a gap between them as the effect of the setup. An issue
made under several setups is in no setup's quality (`issues` of the efficiency table counts it in each).
- `## Verdicts` ties a recorded change to its expected effect over one pair of groups: `confounded` and
`no data` are no conclusion, and a `helped` or `hurt` is a trend only when the next groups keep it. Read the
verdicts of the reports per project first; one that agrees across projects outweighs the verdict of the
report over every project, which the project mix confounds.
3. **Report**: one table per axis (efficiency, quality, rules, skills, fixed context), a row per metric that moved or
matters, the columns `metric | <the last groups> | trend` (↑, ↓ or →) and a line `confounders` when the mix
changed; then the verdicts as `change | metric | expected | verdict`; then the setups as `metric | <each setup>`,
with their sample sizes and confounders. Report the trend, never a pass or a fail, and set no target on agent
behaviour: numbers become targets once shown. Leave out the rules at 0% and the metrics that did not move unless asked.
4. **Keep**: the report stays in the conversation. When the user wants a copy, write it outside the repository and
outside `/tmp` (e.g. `~/.local/state/`); anything that lands in a shared file or an issue comes from a report run
with `--anonymous` and follows the `confidential` note of `.claude/cardinal.toml`. Never commit it.