Benchmark Agent Review
Invoke as $benchmark-agent-review <skill-or-run-path>.
Use this skill after $benchmark-test-skill <skill> when the deterministic benchmark in agentic-skills-benchmarks passed but the user wants agent judgment on whether the generated artifacts are actually excellent, ergonomic, and useful for the next caller.
Act as a follow-up review workflow. It does not replace hard benchmark assertions, deterministic output-quality rubrics, or verify/bench commands.
The primary object of review is the generated skill output, not the benchmark harness. Treat hard assertions and deterministic output-quality scores as context and triage signals only. Lead with whether each retained output is excellent, good, usable, weak, or failing under the agent-review rubric; discuss deterministic rubric tightening only after output-quality findings, and only when it would help future triage surface the same output-quality issue.
Input
- Required: a benchmark target skill name such as
run, or a raw run directory in agentic-skills-benchmarks, such as tests/benchmarks/runs/run-codex-47e0dd54/.
- Optional:
--reviewers codex,claude to request named reviewer families when both outputs are available.
- Optional:
--runs N to request multiple independent review passes. Default to 3 when practical; use 1 when only one reviewer pass is available in the active environment.
Process
Resolve benchmark evidence:
- Work from
/Users/georgele/projects/tools/agentic-skills-benchmarks (or the user's local benchmark repo checkout). Do not look for benchmark runs in the agentic-skills source repo.
- If the input is a run directory, inspect that directory.
- If the input is a skill name, find the newest matching directories under
tests/benchmarks/runs/<skill>-*/.
- Prefer the latest Claude and Codex run directories when both exist.
- Read
report.md, report.json, each run-*.json, and any persisted generated artifact content visible in stdout/stderr or file snapshots.
- If generated artifact content is not fully available, state that limitation and grade only the retained evidence.
Extract outputs under review:
- Identify the artifact path the benchmark expected, such as
run-plan.md or benchmark/test-*.md.
- Extract the generated artifact text when available.
- Preserve runner identity, run index, hard assertions, deterministic quality score, and infrastructure-blocked status.
- Exclude infrastructure-blocked runs from subjective scoring.
Build the review packet:
- Include the original benchmark prompt.
- Include the benchmark fixture facts.
- Include the output artifact text or retained summary.
- Include hard assertions and deterministic quality scores for context.
- Include the target skill contract only when needed to judge ergonomics.
Grade each evaluated output with this rubric:
- Task selection clarity: the selected work is unambiguous and traceable to fixture evidence.
- Implementation specificity: the output gives a next caller concrete enough steps to act without redoing basic discovery.
- Validation strength: proposed checks prove behavior or artifact quality, not just file existence or generic completion.
- Scope control: the output respects the fixture and user constraints without becoming timid or incomplete.
- Next-route ergonomics: the next command is correct for the runner mode and explains what it will do.
- No invented facts: the output avoids unsupported services, files, metrics, commands, deploys, or repository claims.
- Residual-risk awareness: the output names meaningful uncertainty, missing evidence, or follow-up risk when relevant.
Score:
- Use a 0-100 integer score per reviewed output.
- Treat 90-100 as excellent, 80-89 as good, 70-79 as usable but meaningfully incomplete, 60-69 as weak, and below 60 as failing human review.
- When multiple review passes are available, report median score, score range, and common findings.
- Do not blend subjective scores into hard assertion pass rate or deterministic quality score.
Optional multi-reviewer handling:
- Use subagents only when the active Codex tool instructions permit them and the user explicitly requested multiple agent review passes.
- Assign each reviewer one independent grading pass over the same review packet.
- Do not let reviewers edit repository files.
- Synthesize reviewer findings into a normalized score table.
Write the report:
- Create
benchmark/review-<SKILL>-<YYYY-MM-DD>.md in agentic-skills-benchmarks when the input resolves to a skill.
- Create
benchmark/review-<RUN-DIR-NAME>-<YYYY-MM-DD>.md in agentic-skills-benchmarks when the input is one run directory.
- If the review is exploratory and the user asks for chat-only output, do not write a file.
Build the remediation handoff:
- Convert every material weakness into a remediation target instead of stopping at broad advice.
- Classify each target as target-skill contract, benchmark rubric, retained-evidence gap, harness/setup issue, or one-off run behavior.
- Name the exact owner file, skill contract, benchmark setup, or report artifact when known; when the exact file is not proven, name the narrowest known owner surface and state the lookup needed to confirm it.
- Propose the exact contract, rubric, fixture, or evidence-capture behavior to add or tighten; avoid vague changes such as "update the skill" without naming the behavior that changes.
- Include the validation command or contract-lint assertion that would prove the issue is fixed; a focused fixture rerun is acceptable only when it names the expected assertion or artifact-quality behavior.
- When retained artifact text contains placeholder risk, monitoring, validation, or known-unknown sections such as
Not captured, Not specified, TBD, None, or N/A, the remediation must identify the owner target that should reject or repair that placeholder and the validation check that would fail before the fix.
- Choose one definitive next route from the highest-impact verified remediation; do not leave the next caller to choose among generic options.
Output
Report:
- Source benchmark report paths.
- Reviewed run directories and run indexes.
- Hard assertion pass rate and deterministic output-quality score from the benchmark report.
- Output-quality verdict against the agent-review rubric, explicitly focused on the generated skill artifacts rather than the benchmark's ease or strictness.
- Agent-review score table with reviewer, runner, run index, score, and grade band.
- Median subjective score and score range when multiple scores exist.
- Common strengths.
- Common weaknesses.
- Remediation table with finding, classification, owner target, proposed change, validation check, and route.
- Remediation rows must be implementation-ready: each material finding needs a concrete owner target, a proposed behavior change, and a validation check or command. Broad rows like "tighten the rubric" or "update the skill" are incomplete unless they also name the owning file/surface, exact behavior, and proof.
- Optional deterministic-rubric notes only when the retained output-quality findings show the deterministic rubric failed to surface a meaningful issue or produced misleading context.
- Next work: the one definitive remediation selected from the remediation table, or no follow-up when all evaluated outputs are excellent and no meaningful issue remains.
- Recommended next command: one command derived from that remediation, usually
$session-triage <skill> <specific output-quality gap>, $session-triage <benchmark setup or reviewed skill> <specific rubric gap>, $session-triage <skill> benchmark review, or $ship only when no remediation is needed.
Alignment Page
Follow the shared alignment-page convention via the packaged convention resolver; output path is alignment/benchmark-agent-review-{topic}.html. By default, report results inline and write only this skill's normal durable artifacts; create an alignment page only when explicitly requested or when a concrete clarification/review need cannot be handled cleanly inline.
Constraints
- Do not re-run
$benchmark-test-skill unless the requested benchmark artifacts are missing or stale and the user explicitly asks for a fresh benchmark.
- Do not present subjective agent-review scores as statistically definitive.
- Do not merge subjective scores into deterministic output-quality scores.
- Do not frame benchmark pass/fail laxness as the primary problem when the task is to judge skill output quality. If the benchmark intentionally passes weak-but-compliant outputs, grade the output quality directly and use deterministic-rubric notes only as supporting context.
- Do not grade infrastructure-blocked runs as skill outputs.
- Do not fabricate missing artifact content. State when only stdout summaries, assertions, or quality results are available.
- Do not collapse multiple material weaknesses into a vague handoff such as "tighten the rubric"; the remediation table must preserve the responsible target, exact behavior change, and validation check for each issue.
- Do not create or modify GitHub Actions workflows.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---
2name: benchmark-agent-review
3description: Review persisted benchmark run outputs with one or more agent graders and report subjective ergonomic quality separately from deterministic benchmark scores
4type: analysis
5version: v0.4
6required_conventions: [alignment-page]
7argument-hint: "<skill name or run path> [--reviewers codex,claude] [--runs N]"
8metadata:
9 source: https://skillmd.com/skills/georgeqle/benchmark-agent-review
10---
11
12# Benchmark Agent Review
13
14Invoke as `$benchmark-agent-review <skill-or-run-path>`.
15
16Use this skill after `$benchmark-test-skill <skill>` when the deterministic benchmark in `agentic-skills-benchmarks` passed but the user wants agent judgment on whether the generated artifacts are actually excellent, ergonomic, and useful for the next caller.
17
18Act as a follow-up review workflow. It does not replace hard benchmark assertions, deterministic output-quality rubrics, or verify/bench commands.
19
20The primary object of review is the generated skill output, not the benchmark harness. Treat hard assertions and deterministic output-quality scores as context and triage signals only. Lead with whether each retained output is excellent, good, usable, weak, or failing under the agent-review rubric; discuss deterministic rubric tightening only after output-quality findings, and only when it would help future triage surface the same output-quality issue.
21
22## Input
23
24- Required: a benchmark target skill name such as `run`, or a raw run directory in `agentic-skills-benchmarks`, such as `tests/benchmarks/runs/run-codex-47e0dd54/`.
25- Optional: `--reviewers codex,claude` to request named reviewer families when both outputs are available.
26- Optional: `--runs N` to request multiple independent review passes. Default to 3 when practical; use 1 when only one reviewer pass is available in the active environment.
27
28## Process
29
301. Resolve benchmark evidence:
31 - Work from `/Users/georgele/projects/tools/agentic-skills-benchmarks` (or the user's local benchmark repo checkout). Do not look for benchmark runs in the `agentic-skills` source repo.
32 - If the input is a run directory, inspect that directory.
33 - If the input is a skill name, find the newest matching directories under `tests/benchmarks/runs/<skill>-*/`.
34 - Prefer the latest Claude and Codex run directories when both exist.
35 - Read `report.md`, `report.json`, each `run-*.json`, and any persisted generated artifact content visible in stdout/stderr or file snapshots.
36 - If generated artifact content is not fully available, state that limitation and grade only the retained evidence.
37
382. Extract outputs under review:
39 - Identify the artifact path the benchmark expected, such as `run-plan.md` or `benchmark/test-*.md`.
40 - Extract the generated artifact text when available.
41 - Preserve runner identity, run index, hard assertions, deterministic quality score, and infrastructure-blocked status.
42 - Exclude infrastructure-blocked runs from subjective scoring.
43
443. Build the review packet:
45 - Include the original benchmark prompt.
46 - Include the benchmark fixture facts.
47 - Include the output artifact text or retained summary.
48 - Include hard assertions and deterministic quality scores for context.
49 - Include the target skill contract only when needed to judge ergonomics.
50
514. Grade each evaluated output with this rubric:
52 - **Task selection clarity**: the selected work is unambiguous and traceable to fixture evidence.
53 - **Implementation specificity**: the output gives a next caller concrete enough steps to act without redoing basic discovery.
54 - **Validation strength**: proposed checks prove behavior or artifact quality, not just file existence or generic completion.
55 - **Scope control**: the output respects the fixture and user constraints without becoming timid or incomplete.
56 - **Next-route ergonomics**: the next command is correct for the runner mode and explains what it will do.
57 - **No invented facts**: the output avoids unsupported services, files, metrics, commands, deploys, or repository claims.
58 - **Residual-risk awareness**: the output names meaningful uncertainty, missing evidence, or follow-up risk when relevant.
59
605. Score:
61 - Use a 0-100 integer score per reviewed output.
62 - Treat 90-100 as excellent, 80-89 as good, 70-79 as usable but meaningfully incomplete, 60-69 as weak, and below 60 as failing human review.
63 - When multiple review passes are available, report median score, score range, and common findings.
64 - Do not blend subjective scores into hard assertion pass rate or deterministic quality score.
65
666. Optional multi-reviewer handling:
67 - Use subagents only when the active Codex tool instructions permit them and the user explicitly requested multiple agent review passes.
68 - Assign each reviewer one independent grading pass over the same review packet.
69 - Do not let reviewers edit repository files.
70 - Synthesize reviewer findings into a normalized score table.
71
727. Write the report:
73 - Create `benchmark/review-<SKILL>-<YYYY-MM-DD>.md` in `agentic-skills-benchmarks` when the input resolves to a skill.
74 - Create `benchmark/review-<RUN-DIR-NAME>-<YYYY-MM-DD>.md` in `agentic-skills-benchmarks` when the input is one run directory.
75 - If the review is exploratory and the user asks for chat-only output, do not write a file.
76
778. Build the remediation handoff:
78 - Convert every material weakness into a remediation target instead of stopping at broad advice.
79 - Classify each target as target-skill contract, benchmark rubric, retained-evidence gap, harness/setup issue, or one-off run behavior.
80 - Name the exact owner file, skill contract, benchmark setup, or report artifact when known; when the exact file is not proven, name the narrowest known owner surface and state the lookup needed to confirm it.
81 - Propose the exact contract, rubric, fixture, or evidence-capture behavior to add or tighten; avoid vague changes such as "update the skill" without naming the behavior that changes.
82 - Include the validation command or contract-lint assertion that would prove the issue is fixed; a focused fixture rerun is acceptable only when it names the expected assertion or artifact-quality behavior.
83 - When retained artifact text contains placeholder risk, monitoring, validation, or known-unknown sections such as `Not captured`, `Not specified`, `TBD`, `None`, or `N/A`, the remediation must identify the owner target that should reject or repair that placeholder and the validation check that would fail before the fix.
84 - Choose one definitive next route from the highest-impact verified remediation; do not leave the next caller to choose among generic options.
85
86## Output
87
88Report:
89
90- Source benchmark report paths.
91- Reviewed run directories and run indexes.
92- Hard assertion pass rate and deterministic output-quality score from the benchmark report.
93- Output-quality verdict against the agent-review rubric, explicitly focused on the generated skill artifacts rather than the benchmark's ease or strictness.
94- Agent-review score table with reviewer, runner, run index, score, and grade band.
95- Median subjective score and score range when multiple scores exist.
96- Common strengths.
97- Common weaknesses.
98- Remediation table with finding, classification, owner target, proposed change, validation check, and route.
99- Remediation rows must be implementation-ready: each material finding needs a concrete owner target, a proposed behavior change, and a validation check or command. Broad rows like "tighten the rubric" or "update the skill" are incomplete unless they also name the owning file/surface, exact behavior, and proof.
100- Optional deterministic-rubric notes only when the retained output-quality findings show the deterministic rubric failed to surface a meaningful issue or produced misleading context.
101- **Next work:** the one definitive remediation selected from the remediation table, or no follow-up when all evaluated outputs are excellent and no meaningful issue remains.
102- **Recommended next command:** one command derived from that remediation, usually `$session-triage <skill> <specific output-quality gap>`, `$session-triage <benchmark setup or reviewed skill> <specific rubric gap>`, `$session-triage <skill> benchmark review`, or `$ship` only when no remediation is needed.
103
104## Alignment Page
105
106Follow the shared alignment-page convention via the packaged convention resolver; output path is `alignment/benchmark-agent-review-{topic}.html`. By default, report results inline and write only this skill's normal durable artifacts; create an alignment page only when explicitly requested or when a concrete clarification/review need cannot be handled cleanly inline.
107
108## Constraints
109
110- Do not re-run `$benchmark-test-skill` unless the requested benchmark artifacts are missing or stale and the user explicitly asks for a fresh benchmark.
111- Do not present subjective agent-review scores as statistically definitive.
112- Do not merge subjective scores into deterministic output-quality scores.
113- Do not frame benchmark pass/fail laxness as the primary problem when the task is to judge skill output quality. If the benchmark intentionally passes weak-but-compliant outputs, grade the output quality directly and use deterministic-rubric notes only as supporting context.
114- Do not grade infrastructure-blocked runs as skill outputs.
115- Do not fabricate missing artifact content. State when only stdout summaries, assertions, or quality results are available.
116- Do not collapse multiple material weaknesses into a vague handoff such as "tighten the rubric"; the remediation table must preserve the responsible target, exact behavior change, and validation check for each issue.
117- Do not create or modify GitHub Actions workflows.
118
119## Default Shipping Contract
120
121Follow the shared shipping contract convention in CLAUDE.md.