/paperlint:build-benchmarkfrom paperlint
Designs empirical studies for measurement papers and builds self-checking reproduction artifacts. Covers study design, honest statistics, and artifact creation that recomputes headline numbers.
Ships in paperlint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A measurement paper is only as strong as the artifact a reviewer can cd into and re-run. This skill
covers both halves: the study design that makes the finding true, and the self-checking artifact that
makes it verifiable. The contribution is the method, not the one tool you happened to test — build
so both survive review.
Before designing anything, open <paper-dir>/PIPELINE-STATUS.md and read row frame — the one
paragraph saying what this paper will claim (written by argument-arc in frame mode, in SETUP).
🔴 If frame is empty, stop. Do not design the study. Go run argument-arc frame mode, get the
paragraph, then come back. This is a refusal, not a recommendation:
compile-rules-2026.Cross-check the claim against the prevention rule in the CLAUDE.md beside the papers: if the claim is
about preventing something, write the one sentence saying what physically stops the bad outcome in
the experimental arm. "There is different text in it" means you are measuring persuasion, not
prevention, and the design is wrong before a single run.
Every study gets its folder, its id and its row from one command, never from a folder made by hand:
npx paperlint studies new <paper-dir> "<plain title, at most 8 words>" --kind measurement
It takes the next id in repro/studies.json, creates repro/<id>-<slug>/README.md and the study's
plan, plan.json, appends the row (status: designing, plan: "plan.json") and regenerates the index
in repro/README.md. The kinds: measurement, spike, tooling, data, artifact, salvage.
Write the study's one-sentence question into its row at once. Never write a plan by hand under
another name: the template's fields are the ones repro/study-registered reads.
A measurement that spans studies (a pilot, the main run, a replication) is declared once, in
measurements at the top of repro/studies.json — id, title, rq, role (headline or
baseline) — and each of its studies' rows names it in measurement. The author's requirements on
the measurements go, verbatim, into requirements (id, text, date, source), and each
measurement lists the ones it must meet; never in a separate note. A headline measurement carries
the author's approval (by the registry's author, date, their words in quote), written
from the author's own message, never by the agent that designed the study.
As the study moves, edit its row in repro/studies.json: running when the first counted run starts;
when it ends, done with result (one line) and result_file (the file inside the folder the result
is read from) — or stopped, dropped, or superseded with superseded_by — and in_paper. Then
run npx paperlint studies index <paper-dir>. The rule repro/study-registered fails paperlint lint
on a folder without a row, a done row without its result, and an index out of sync.
The strongest measurement papers are a corrected version of the mistake they name. Pick the design that is the inverse of the flaw:
Write the design as the answer to "what would make the critiqued pitfall impossible here?"
Declare the population, the screens and the coverage before freezing the sample. Each screen
between the population and the sample (fits one excerpt, one classifier lane, a model-picked item)
changes what the sample can say, not only its size; screens that are reasonable one by one can leave a
sample nobody meets in practice. So, before the draw is frozen, fill the study's plan.json: the
question, the population (its source, and the draw: { "kind": "all", "method" } for a census,
or { "kind": "seeded", "method", "seed" } for a sample),
the arms ([] for a census) and the primary_outcome; what each screen removed per stratum and
what share the sample can represent go into the same file, under extra (the plan is closed: any
other unknown key is an error). Then show the
author the drawn units (the rules or cases, not the items made from them), ask is this what you
meet in practice?, and record the answer in the plan's author_check (by, date, their words in
quote). Once the study is running, repro/study-registered fails the lint on an empty plan field,
and, for a study of a headline measurement, on a plan without the author's check.
source, n, share for the corpus and the top share
appears in the paper. If the top source exceeds ~50%, say so in the abstract's scope or narrow the
claimed population to what you actually sampled.Numbers about today's tools rot. A mechanism or structural bound doesn't. Give the paper one claim that holds regardless of which specific tool/version you measured:
State the bound explicitly; it's what makes the paper a benchmark and not a product review.
This is the single biggest accept-probability lever, and pc-panel-review's artifact-runner WILL execute it. Do not restate the requirements here — build to the canonical checklist:
→ paper-pipeline/references/artifact-checklist.md (self-recompute from raw data, exit non-zero on
drift, stdlib-only, no network, a README that maps each paper-number to where it prints, LICENSE, honest
badge scope, de-anon scanned).
The load-bearing property: each script recomputes every headline number from raw data and
self-asserts — exit non-zero the moment a cell drifts from the paper (reproduce.py on the cost
study; evaluate.py/mutate.py/reproduce.mjs/ablation.mjs on the guard eval). Derive from base
fields, never echo a stored/precomputed field — a reviewer calls that circular and they're right. For
de-anonymization before hosting, follow paper-pipeline/references/anonymization.md; host per
submit-paper (OSF anonymized view-only link).
If the object of study is code that could delete, exfiltrate, or run attacker-controlled input, you transcribe and parse its predicate — you never execute it, and you never run the attack against it. The guard eval scores 46 real command-guards by reading each guard's logic against a 10-command disaster battery statically; nothing in the battery is ever run. A benchmark that has to detonate the payload to score it is a liability, not evidence. Same rule inside the artifact: no network, no shelling out to the thing under test.
When you score third-party code by transcribing its logic (e.g. a guard's regexes) into your own evaluator, a blind re-derivation (a second person re-reads the code and re-transcribes it) only checks transcription-vs-human-reading — it does not check transcription-vs-real-behavior. There's a cheap, zero-execution-risk way to close that gap: run the actual scraped code against its REAL agent input contract and reconcile its live verdict with your static prediction.
.tool_input.command. Feed each battery/benign command
as a string inside that envelope to the real guard's stdin and read its verdict (exit 2 = block; or
stdout JSON permissionDecision deny/ask/block). The command is never executed — the guard only
inspects the string.rm/dd/git/curl/… → exit 0) as defense-in-depth, so even a guard that shells out can't do
damage. Invoke the real interpreters by absolute path.Concrete payoff (the motivating example): this method surfaced a "whole-stdin confound" — a
widely-copied guard that greps its entire raw stdin rather than the extracted command. The JSON
envelope's trailing bytes defeated its anchored rm …/$ rule, so it FAILED TO BLOCK rm -rf / live,
even though it "blocked" the bare string. A pure transcription/static model can't see this; only
real-code-through-real-contract execution reveals it.
Before submitting, verify the artifact you built with the reviewer-side reproduction protocol:
references/adversarial-cold-repro.md (cold re-run, three-way reconcile, robustness attacks).
frame, the stated claim. No frame, no study.data/.cds in and re-executes every harness; build so
that pass is deterministic.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (zernie/paperlint) — no native marketplace selected
npx claudepluginhub p/zernie-paperlint23 skills in this plugin
/analyze-sibling-paperDeep-analyze a specific related / competing / concurrent paper — reading the ACTUAL paper, not its abstract — to decide the "isn't this just X?" question before a reviewer asks it: what it really does, whether it's prior or concurrent work, the strongest scoop a reviewer could claim, whether your delta is REAL or merely cosmetic, and the exact cite + positioning clause (or a scoop escalation) to apply. Saves the analysis to the paper's research folder and surfaces action points. Use whenever a paper close enough to yours surfaces — via verify-citations' nearest-neighbor, a reviewer's "this was already done", your own lit search, or an arXiv alert. Distinct from verify-citations (confirms a cite is real + one-line delta) and study-accepted-papers (mines a venue's accepted corpus for levers); this one does the deep per-competitor overlap/scoop analysis. Compose with verify-citations (feeds it neighbors), harden-paper (its nearest-neighbor-scoop axis calls this), and extend-paper (a scooped angle can become the extension's pivot)./argument-arcBuild or repair the paper's argument architecture — the one-sentence-per-section outline, the bottom-up inevitability pass, and the name/number budget. Run it when the reader says the paper throws ideas at them, when a structural objection repeats, or before any large rewrite. Not a prose or length skill.Other plugins' skills for the same job