Skip to content
Research
Skill

/paper-check

Check a paper against its code, results and citations before submission (numbers, terms, code vs paper, formulas vs code, BibTeX and cited claims via DBLP and Crossref, eval integrity), and prepare its code for open-source release. Use when the user says "verify claims" /

From plugin
labrat
45611 skills

Claude Code

$ npx -y skills add fcakyon/labrat --skill paper-check --agent claude-code

SKILL.md

paper-check.SKILL.md
name: paper-check
description: >
  Check a paper against its code, results and citations before submission
  (numbers, terms, code vs paper, formulas vs code, BibTeX and cited claims
  via DBLP and Crossref, eval integrity), and prepare its code for
  open-source release. Use when the user says "verify claims" / "verify
  paper against code", "check numbers" / "do the numbers match" / "are my
  numbers right", "formula vs code", "audit my paper", "cross-check claims
  or results", "paper consistency check", "check citations", "verify
  BibTeX", "publish code" / "open source release" / "code release",
  "structure a research repository for publication", "create reproducible
  research artifacts", "reproducibility checklist for a code release", or
  "prepare for publication".

Paper Check

Every number, method claim and citation in the paper must trace to code, data, results or a cited source. Output a prioritized list of issues with specific fixes.

For a code release request, follow [references/code-release.md](references/code-release.md) and skip Steps 1-4.

Step 1: Discover Files

1. Find the paper's .tex files (Glob for `**/*.tex`) 2. Identify the main .tex file (usually imports other sections) and the document structure 3. Find .bib files for citation checking 4. Locate result files (JSON, CSV, logs), configs, evaluation scripts and training logs 5. Identify the key code modules referenced by the paper's methods

When you run the checks yourself, read the full paper, or the sections the user names. When you hand checks to subagents, pass them the file paths from items 1-5 instead.

Step 2: Run the Six Checks

Run all six checks by default. When the user names specific checks (for example only citations or BibTeX), run only those, and only the Step 1 items they need (check 5 needs just the .bib files and the `\cite` sites).

The checks are independent. If the harness supports subagents, they can run in parallel, one check each. Each check returns a structured list of findings.

1. Numbers

For every number in the paper (dataset sizes, metric values, percentages, counts):

1. **Extract** the number and its context (section, sentence) from the .tex file 2. **Trace** it to its source: result file, code output, config, log, or tracking system 3. **Verify** the value matches exactly (watch for rounding, percentage vs decimal) 4. **Note** rounding conventions and check they are consistent 5. **Flag** any number that does not match its source or cannot be traced

Record each number as a row of the Numerical Audit table in Output Format.

Common numerical errors:

  • Rounding inconsistencies (3.14 in text, 3.1415 in table)
  • Stale numbers from earlier experiments not updated after re-runs
  • Percentage vs absolute confusion
  • Off-by-one in dataset counts (headers counted, or not)

2. Terms

1. **Extract** all defined terms from the methods section 2. **Search** for each term across ALL sections 3. **Flag** any inconsistent usage:

  • Same concept, different names (e.g., "tag head" vs "classification head")
  • Same name, different meanings across sections
  • Defined but never used, or used but never defined

3. Code vs Paper

For each method or algorithm described in the paper:

1. **Find** the corresponding code (function, class, module) 2. **Compare** the paper's description with the actual implementation 3. **Check** specifically:

  • Algorithm steps match code flow
  • Hyperparameters in text match config/code defaults
  • Architecture descriptions match model code
  • Loss functions in equations match loss code
  • Training procedures match training scripts

Common mismatches:

  • Paper describes an idealized version, code has edge cases not mentioned
  • Hyperparameters changed during development but paper not updated
  • Paper describes a method that was later modified or removed from code

4. Formulas vs Code

For each equation in the paper:

1. **Identify** the equation and its variables 2. **Find** the code that implements it 3. **Map** each mathematical operation to its code equivalent 4. **Verify**:

  • Summation bounds match loop bounds
  • Division operations handle edge cases
  • Normalization factors match
  • Gradient flow matches (detach, no_grad)
  • Reduction operations (mean vs sum) match

5. Citations

Read the .bib file(s). Search the .tex files for citation patterns (`\cite{...}`, `\citep{...}`, `\citet{...}`) to find where each entry is used. Check every entry. For a quick pass, spot-check the 5 most important citations.

1. Extract the claim and the cited paper key.

Use `paper-search tool get_crossref_paper_by_doi <doi>` to retrieve the cited record. For an arXiv paper, use `paper-search download arxiv <id>` and `paper-search read arxiv <id>`. Follow [paper search setup](../literature-research/references/paper-search.md) if the CLI is missing. Inspect the PDF itself when text extraction loses table or equation layout.

2. Verify BibTeX metadata against DBLP. Search DBLP for the paper title via web search (query: `site:dblp.org "paper title"`) and check:

  • Author names (exact spelling, correct order, completeness)
  • Paper title (exact, from the published version, not the preprint title), and cite the published version when one exists
  • Venue (conference or journal name) and year (publication year, not submission or preprint year), confirmed against the actual publication

Flag any discrepancy with the corrected value.

3. For cited claims with specific numbers:

  • Locate the exact table, figure or text in the cited paper
  • Verify the number matches what the citing paper states
  • If the claim cannot be verified, or the cited paper does not make the claim at all, suggest qualitative language instead

6. Eval Integrity

Read the evaluation scripts and result files. Check for:

  • Data leakage between train/val/test splits
  • Off-by-one errors in metric computation
  • Wrong aggregation methods (micro vs macr
Read more
@fcakyon
Ships withlabrat

PhD Research Skills for Claude Code: paper reproduction, experiment design, paper review, result comparison and more.

Stars on GitHub

Momentum

stars in total
456
Star history of fcakyon/phd-skills on GitHub, a chart by star-history.com

Other skills on labrat.

compare

compare

Same-epoch comparison and analysis of training runs across wandb, neptune, tensorboard, mlflow, or local result files. Aligns…

@fcakyon@fcakyonInstall Skill
dataset-curation

dataset-curation

Use when the user wants to analyze dataset bias, create stratified samples, evaluate fairness, or plan dataset collection.…

@fcakyon@fcakyonInstall Skill
debug

debug

Evidence-before-action diagnosis of failing ML experiments. Probes the system before guessing causes, process list, dmesg, GPU…

@fcakyon@fcakyonInstall Skill
experiment-design

experiment-design

Use when the user wants to design experiments, plan ablation studies, structure baselines, or create incremental evaluation…

@fcakyon@fcakyonInstall Skill
launch

launch

Pre-flight checklist for long-running ML training jobs covering config diff, run naming, path verification, monitoring setup, and…

@fcakyon@fcakyonInstall Skill
literature-research

literature-research

Use when the user wants to find related work, survey a research area, run a literature gap analysis, or discover open-source…

@fcakyon@fcakyonInstall Skill

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about paper-check.

Which coding agents can use paper-check?
paper-check installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.