Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

replicate-paper

Skill by brycewang-stanford

Runs a six-phase autonomous replication of a biomedical or epidemiology paper on UK Biobank or similar cohort data. Built for researchers who need Python and R scripts and a validation report.

  • Score 73
  • 5.4k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install replicate-paper

Built from the published package, never by AI.

git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/28-maxwell2732-paper-replicate-agent-demo/dot-claude/skills/replicate-paper ~/.claude/skills/replicate-paper

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install replicate-paper in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Replicate-paper runs a six-phase replication of a biomedical or epidemiology paper against UK Biobank or similar cohort data. The phases cover intake of the paper's tables and figures, a data audit, mapping the paper's methods to the dataset, translating the analysis into Python and R scripts, validating both against the published targets, and writing a report. Each phase saves a markdown file in the project.

The skill compares results to targets using stated tolerances: exact for integers, plus or minus 0.01 for point estimates, and plus or minus 0.05 for standard errors. It ends with a verdict of replicated, partial or failed, and it can auto-commit when the quality score is at least 80. It is aimed at researchers who want an end-to-end replication of a paper on cohort data.

Written from the project's SKILL.md and checked against it.

What it can do

  • IntakeReads the paper and records every table and figure with its target values and sample sizes.
  • Data auditCompares the provided dataset to the paper's sample and applies inclusion and exclusion criteria.
  • Code analysisMaps the paper's variables and methods to the variables in the provided dataset.
  • TranslationProduces Python replicate.py and R replicate.R scripts with fixed random seeds.
  • ValidationRuns both scripts and compares results to the paper using stated tolerance thresholds.
  • ReportWrites a replication report with a verdict and a reproducibility section.

What you need

  • Python with pandas, statsmodels and lifelines
  • R with Rscript, here, tidyverse, survival and fixest
  • Read, Write, Edit, Bash, Glob and Grep tool access
  • A paper PDF and a cohort data file in csv or dta format

Try asking

  • /replicate-paper papers/AuthorYear.pdf data/ukb_extract.csv
  • Replicate this paper end-to-end using my cohort extract.
  • Build Python and R scripts that reproduce the paper's main estimates.

Good to know

  • Uses the paper's Methods text, not the original code, as ground truth.
  • Stops for review if the sample size differs from the paper by more than 5%.
  • Relies on convention files (python-code-conventions.md, r-code-conventions.md, replication-protocol.md) that are not included in the source.
  • Auto-commit only applies when the quality score is 80 or higher.

Security check

B
  • Allowed to use Write, Edit, Bash without limitsIn SKILL.md

Checked automatically: skills/28-maxwell2732-paper-replicate-agent-demo/dot-claude/skills/replicate-paper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBashGlobGrep

Alternatives to replicate-paper

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

replicate-paper: common questions

What data does replicate-paper need?

The source says it works with UK Biobank or similar cohort data, passed as a csv or dta file alongside the paper PDF.

What files does it produce?

It produces Python and R replication scripts, results files in each language's results folder, a validation report and a final replication report.

How does it decide whether a result matches?

It compares results to the paper's targets with set tolerances, such as plus or minus 0.01 for point estimates and plus or minus 0.05 for standard errors.

How do I install replicate-paper?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is replicate-paper free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is replicate-paper safe to use?

It scores 73 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.

What are alternatives to replicate-paper?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

replicate-paper Install

Add to stack

Loading.