review-paper-code

review-paper-code is a skill for Claude Code from claesbackman/AI-research-feedback. It costs 0 tokens per session (2,951 once invoked), scanned A, original, MIT.

A review of an economics or social-science research project that compares its paper with its Stata, R, or Python code. It checks reproducibility, code quality, and whether the reported claims match the implemented analysis.

In plain words
What is it for?
Use it to inspect a paper and its research code at a main or full review depth and produce a constructive Markdown report.
Why use it?
It helps find missing steps, unclear code, and mismatches between what a paper says and what its programs actually do.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect a paper and its research code at a main or full review depth and produce a constructive Markdown report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/claesbackman/ai-research-feedback/review-paper-code
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add claesbackman/AI-research-feedback --skill review-paper-code
Clone the repo
git clone --depth 1 https://github.com/claesbackman/AI-research-feedback

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-paper-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/claesbackman/ai-research-feedback/review-paper-code/github.svg)](https://agentmods.dev/skills/claesbackman/ai-research-feedback/review-paper-code)
Your own site
<a href="https://agentmods.dev/skills/claesbackman/ai-research-feedback/review-paper-code"><img src="https://agentmods.dev/badge/skills/claesbackman/ai-research-feedback/review-paper-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-paper-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/claesbackman/ai-research-feedback/review-paper-code"><img src="https://agentmods.dev/badge/skills/claesbackman/ai-research-feedback/review-paper-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02951
Opus 5.5 $0.00000 $0.01180
Sonnet 5.5 $0.00000 $0.00590
Haiku 4.5 $0.00000 $0.00295

Measured 1mo ago against content hash e7728fc9b3d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-paper-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Skills/review-paper-code/SKILL.md · 357 lines

How it starts

The opening of the file, as written. The whole thing — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review Paper Code

Review a research project's paper and code for reproducibility, code quality, and paper-code alignment. Be constructive, concrete, and calibrated. Treat gaps as items to verify, not accusations.

Scope

This skill supports:

  • LaTeX papers
  • Stata (.do), R (.R, .r), and Python (.py) code

Default review depth:

  • main: prioritize the main paper, main scripts, and core outputs
  • full: inspect all detected code files in scope

If no depth is provided, default to main.

Phase 1: Discover the Project

First parse $ARGUMENTS:

  • If one argument looks like a .tex path, use it as PAPER_FILE.
  • If one argument looks like a directory path, use it as CODE_DIR.
  • If one argument is main or full, use it as REVIEW_DEPTH.

If any of the above are missing, auto-detect them.

1. Find the paper

Use Glob to search for **/*.tex, excluding obvious build folders such as _minted-*, build/, output/, .git/, node_modules/.

Identify the main paper file as the best candidate containing \documentclass or \begin{document}.

If multiple candidates exist, first discard files whose document class is beamer (slides) and files whose name or folder suggests an old draft or a response letter (response*, letter*, slides*, old*, archive/, etc.). Then prefer:

  1. A path explicitly provided in $ARGUMENTS
  2. A file in Writing/, writing/, Paper/, paper/, Draft/, or the repo root
  3. The file that appears to include the most component files via \input{} / \include{}

Record the result as PAPER_FILE.

2. Find the code

If CODE_DIR was not provided, look for likely code roots in this order:

  • Code/
  • Analysis/
  • code/
  • analysis/
  • scripts/
  • src/
  • programs/
  • replication/

If no single directory is clearly best, use the repo root and limit later discovery to likely code files.

Record the result as CODE_DIR.

3. Find code files

Within CODE_DIR and subdirectories, find:

  • **/*.do
  • **/*.R
  • **/*.r
  • **/*.py

Read the full file on GitHub · 357 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 357 lines · 0 tokens per session scan A e7728fc9b3d0

Subscribe to this mod's changes

review-paper-code is a skill published in the GitHub repository claesbackman/AI-research-feedback (504 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,951 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hypotheses

Turns a research direction into testable hypotheses with predictions, competing explanations and the experiments that discriminate between them, including the design (controls, randomization, blocking), sample size or seed count, the pre-specified analysis, and the result that would falsify each hypothesis. Use when a…

synthetic-sciences/openscience · 99 tokens

review-r

Read-only R code review protocol for .R scripts. Checks code quality, reproducibility, domain correctness, tidyverse idioms, and professional standards; produces a report without editing. Use when user says "review this R script", "check the R code", "audit the analysis code", "code review on the R", or when an R file…

pedrohcgs/claude-code-my-workflow · 102 tokens

paperlab_neqsim_api_claim_verification

Verify NeqSim API references in PaperLab books against Java source, tests, notebooks, and documented setup patterns. Use for code snippets, method names, constructor signatures, units, and API claims in book chapters.

equinor/neqsim · 55 tokens

ai-agents-research-methodology

How a hunch becomes an accepted result in this repo. Covers the evidence bar, hypothesis-predicts-numbers discipline, and the idea lifecycle from contradiction log through probe, eval baseline, ADR debate, calibrated gate, and post-ship monitoring. Use when you say how do I prove this idea, run the idea lifecycle…

rjmurillo/ai-agents · 118 tokens

workflows:review

Run multi-agent econometric review on estimation code, identification arguments, and research artifacts.

brycewang-stanford/Auto-Empirical-Research-Skills · 21 tokens

referee2

Systematic audit and review by Referee 2. Two modes — "deck" reviews slide presentations for rhetoric, visual quality, and compile cleanliness; "code" performs cross-language replication and econometric audit of empirical pipelines. Use when reviewing slides, auditing code, or verifying replication.

brycewang-stanford/Auto-Empirical-Research-Skills · 61 tokens