aperivue/medsci-skills/design-ai-benchmarking

Claude Code and agent skill by aperivue/medsci-skills

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when designing a study that benchmarks AI systems against a human-expert panel, before data collection. Plans the arms, decoupled rubrics with anchors, planted calibration probes, reviewer panel, inter-rater reliability targets and LLM-as-judge versus human adjudication.

Install

npx vskill@latest install aperivue/medsci-skills/design-ai-benchmarking

SKILL.md

The same SKILL.md was published earlier as aperivue/medsci-skills/design-ai-benchmarking.

Design-AI-Benchmarking Skill

Standard Output

text
## AI-Benchmark Design Review
Evaluation question: ...
Arms / systems compared: ...
Reference (human-expert panel): ...
Unit of rating: (item / case / output)
### Rubric (decoupled dimensions)
- dimension -> construct -> anchors (1..k)
### Calibration probes (blinded, randomized)
- positive-control / known-bad / instability / mechanism-contradiction
### Reviewer panel
- n reviewers, metadata captured, per-reviewer randomized order
### Reliability plan
- IRR target on the anchor set of real items (ICC form + 95% CI) + control-item hit rate (a competence check, reported separately)
### Judge strategy
- human-as-judge / LLM-as-judge / both + adjudication rule
### Validity risks
1. ...
### Minimal fixes
- ...
### Decision
- Ready to collect / Needs rubric revision / Needs arm or judge redesign

Reviewer ratings, reference labels, probe outcomes and agreement statistics come only from collected rating records. Never invent them: a reported ICC, kappa or score with no underlying rating record is the failure this skill exists to prevent. Cite a reference only with a /search-lit-confirmed DOI or PMID; mark any other [UNVERIFIED - NEEDS MANUAL CHECK]. Flag an unconfirmed clinical definition, diagnostic criterion or guideline recommendation [VERIFY] and ask the user.


Workflow

Phase 1: Define the evaluation question and arms

Pin down, in writing:

  • the exact claim the benchmark must support (e.g., "system A's outputs are perceptually

indistinguishable from expert outputs", not "system A is deployment-ready")

  • every arm/system and what each receives as input (same items, same information access, same output

format), so no arm has a hidden advantage

  • the human-expert reference: who they are, and whether they set ground truth, form a comparison arm,

or both. A time-limited read measures what the reader detects under the specified study conditions, not the truth the reference must define: when one such read serves as both, the comparator's own answers define the truth, so its misses cannot be measured (and, where unmarked items count as negative, a correct system-only finding is scored as a false positive), while correcting the reference from the system's output makes it depend on the evaluated system (Phase 7). For a task scored against a case-level truth (diagnostic accuracy, extraction), set each case's reference independently of that case's timed read and blinded to every arm's output. Rating output quality is a different endpoint: raters see the output, with arm identity masked where feasible without altering what is rated, and score it on a pre-defined rubric

  • the unit of rating (item, case, output) and how many units each reviewer sees

Gate: Present the reconstructed evaluation question, arms, and reference to the user and confirm before designing the rubric. A wrong reconstruction misdirects the entire benchmark.

Phase 2: Design a decoupled multi-dimensional rubric
  • Decouple the axes. Each rated dimension measures one construct. Keep "is the output

valid/correct" separate from "is it novel", "is it feasible/measurable", "does it add value over current tools", and "would it change action". A candidate can be high-validity yet low-added-value ("real but redundant"); a single blended score hides this.

  • Anchor every scale point with a short verbal descriptor; pilot the anchors with at least one

reviewer before locking.

  • Pre-specify discriminant validity: hypothesize which dimensions should correlate vs be

orthogonal, then report the full inter-dimension correlation matrix.

  • Start from ${CLAUDE_SKILL_DIR}/references/elicitation_rubric_template.md (dimensions, anchors,

probe flavors).

Phase 3: Insert and randomize calibration probes

Plant a few deliberate control items, blinded and randomized across raters (record who received which via a probe_arm flag), to anchor the scale, measure rater drift/fatigue, and audit the rubric and pipeline. Four flavors:

  • Positive control / "too-good" item — near-tautological; tests whether raters equate "largest

effect" with "best", and whether the construct-independence gate (Phase 7) works.

  • Known-bad negative control — an engineered defect (fabricated reference, missing key statistic).
  • Instability item — an estimate that reverses or fails to replicate on a holdout.
  • Mechanism-contradiction item — an empirical direction that opposes the proposed mechanism.

Probes are planted or adjudicated, never fabricated to fit a hypothesis.

Phase 4: Construct the reviewer panel
  • Recruit reviewers spanning the intended expertise gradient; pre-specify any stratification.
  • Capture reviewer metadata (years of experience, prior AI-evaluation experience, subspecialty).
  • Randomize item order per reviewer (not one global seed), record the order, and plan to analyze

order and fatigue effects.

  • Require each item to be judged standalone; cross-item references in free text signal

non-independent rating.

Gate: Present the panel composition, stratification, and randomization plan for user review before recruitment is finalized.

Phase 5: Set inter-rater reliability targets
  • Pre-specify the reliability statistic and its form — for several raters, an ICC with the

model stated (e.g. ICC(2,1): two-way random, absolute agreement, single rater) or Krippendorff's α (ordinal); weighted (Cohen's) kappa is a two-rater statistic — and a justified target. Size the number of items for the CI width you need: ICC precision is driven mainly by the item count (Koo & Li, J Chiropr Med 2016).

  • Planted control items are a rater-competence check, not reliability evidence. Report the hit

rate on known-good vs known-bad controls. Do not present an ICC computed on the controls as evidence of rubric or scale validity: ICC scales with the spread between items, controls are extreme by construction, so their ICC is high whatever the raters' reliability on real items (same five raters, same noise: ICC(2,1) 0.89 on four planted controls, 0.16 on 40 real items), and it rests on a handful of items.

  • Report reliability on the representative anchor set of real items — ICC with its 95% CI and

stated form — with an agreement measure alongside (exact agreement, SEM), since reliability depends on how heterogeneous the rated items are (de Vet et al., J Clin Epidemiol 2006). A low ICC on real items with a good control hit rate points to little true spread among the items or a rubric that does not separate them, not to careless raters.

  • Plan the minimum ratings-per-item for a stable agreement estimate (the math goes to

/analyze-stats).

Phase 5b: Reader allocation under burden constraints (anchor-and-rotate)

When the item pool exceeds what one reader can rate in a session, do not make every reader rate every item (that caps the pool at the per-reader limit). Use anchor-and-rotate (an anchor set plus rotating incomplete blocks — not a balanced incomplete block design, since reader pairs are not co-rated equally often): all readers rate a shared anchor set of real items (which carries the inter-rater reliability; the planted controls carry only the competence check) plus a rotating unique block each. The binding constraint is usually the number of available expert readers, so solve the reverse problem (largest pool for R readers) to size the must-rate set. Pre-specify anchor membership, raters-per-item, and the rotation seed before rating. Read ${CLAUDE_SKILL_DIR}/references/anchor_rotate_reader_allocation.md for the formulas, trade-offs, and a stdlib implementation.

Phase 6: Choose the judge strategy and adjudication
  • Decide human-as-judge, LLM-as-judge, or both. An LLM judge is one more arm whose ratings must be

validated against the human panel on the anchor set of real items, not only on the extreme control items.

  • Pre-specify the adjudication rule for disagreement (majority, a third senior reviewer, consensus

discussion) and who adjudicates.

  • Blind judges to arm identity wherever feasible; record any unavoidable unblinding.
Phase 7: Construct-independence and leakage guards
  • Exclude any predictor or input that is a definitional component of the outcome, and flag

near-tautological composites built from the outcome's defining components — they produce an inflated, near-circular result and belong as labeled probes, not discoveries.

  • Verify no arm sees post-decision or outcome-derived information the others do not.
  • Confirm the reference labels were not derived from the same model output being evaluated.
  • Check what the rating tool shows raters while they rate. A running tally per category, or a

"category X still needs n cases" prompt, helps monitor collection, but when it is tied to the judged variable it shows the rater the distribution of answers so far, and a quota or shortfall prompt names the answer the collection is short of; either can move borderline cases. Raters who see the same prompt can move the same way, so agreement statistics need not reveal it. When the intended measurement is an independent, unaided judgment, disclosing the display afterwards does not recover it: show raters only overall progress and keep per-category counts on a coordinator view. If category feedback is deliberately part of the rating condition, record when and to whom it was shown, and define the estimand as judgment under that condition.

Phase 8: Lock a structured export schema

Write the machine-readable rating record as a JSON schema, starting from ${CLAUDE_SKILL_DIR}/references/benchmark_export_schema.json: per-item ratings on every rubric dimension, free-text justifications, follow-up flags, the probe_arm flag, reviewer id and metadata, item order, and timing.

If the tool merges records from several devices, a last-write-wins merge lets an empty record, created when a case is merely opened, replace a completed rating because it is newer. Within one rating assignment, opening a case or saving an unsubmitted draft never changes a submitted or withdrawn rating; only an explicit later submission, edit or withdrawal does, and explicit edits whose order cannot be established are resolved by a person.

Gate: Present the final rubric, probe set, panel plan, judge strategy, and export schema together; collect explicit user approval before any rating begins, because changes after collection starts compromise the comparison.


Handoff Rules

  • route to /analyze-stats for ICC (stated form) / Krippendorff's α / kappa (two raters) / DeLong, agreement sample size, and effect-size real-world

translation of the benchmark results

  • route to /check-reporting for STARD-AI, CLAIM, or TRIPOD+AI item-level reporting once the design is locked
  • route to /design-study when the broader study around the benchmark (cohort logic, analysis unit,

comparator) also needs review

  • route to /peer-review or /self-review only after ratings exist and a manuscript is being assessed

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
322
Repository forks
78
7-day trend score
29

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aperivue/medsci-skills/design-ai-benchmarking/badge)](https://verified-skill.com/skills/aperivue/medsci-skills/design-ai-benchmarking)

Something wrong with this skill or its page? Tell us.