Agent skill

Replication Package

by pedrohcgs in pedrohcgs/claude-code-my-workflow

Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README…

MITAuto-check: notesResearch & Science

Install Replication Package

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill replication-package -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow replication-package --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/replication-package .claude/skills/replication-package && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
replication-package
GitHub stars
1.6k
Token cost
~2.8k tokens
SKILL.md length
1,052 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README…

  • Works in 6 steps: Pre-flight — detect language(s) and… → Generate the standard replication README → Capture the computational environment → …
  • User says build the replication package
  • SKILL.md covers When to use, Inputs, Workflow and Output / Report format, plus 3 more sections
  • Calls pip and python

What it does

Replication Package is an agent skill from pedrohcgs/claude-code-my-workflow. Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README, dataset manifest, computational-requirements capture, a Table/Figure → script:line map, and a confidential-data deposit plan. Use when user says "build the replication package", "prepare the openICPSR deposit", "make the AEA data and code package", "DCAS compliance", "assemble the deposit for the journal", or after a…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Econometrics and empirical research and Reproducible research. The repository describes itself as: A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols. The licence is MIT.

When your agent uses it

  • User says build the replication package
  • Prepare the openICPSR deposit
  • Make the AEA data and code package
  • DCAS compliance

Example prompts

  • “build the replication package”
  • “prepare the openICPSR deposit”
  • “make the AEA data and code package”
  • “/replication-package”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write, Bash, Agent, Task

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Pre-flight — detect language(s) and outputs
  2. Generate the standard replication README
  3. Capture the computational environment
  4. Confirm claims reproduce before packaging
  5. Assemble the tree + DCAS checklist
  6. Confidential-data handling

What it can do on your machine

Read from SKILL.md and the folder at commit ae72617. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write
    • Bash
    • Agent
    • Task

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • datacodestandard.org
    • socialsciencereproduction.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Replication Package loads about 2.8k tokens when it runs. Until then it costs about 176 tokens; SKILL.md has 1,052 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~176
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Write, Bash, Agent, Task

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pedrohcgs/claude-code-my-workflow at commit ae72617, republished under its MIT licence (© pedrohcgs). 1,052 words, ~2,777 tokens.

Download SKILL.mdSave it as .claude/skills/replication-package/SKILL.md (or your agent's skills folder).
name
replication-package
description
Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README, dataset manifest, computational-requirements capture, a Table/Figure → script:line map, and a confidential-data deposit plan. Use when user says "build the replication package", "prepare the openICPSR deposit", "make the AEA data and code package", "DCAS compliance", "assemble the deposit for the journal", or after a paper is accepted and the journal's data editor needs the package. NOT a numeric verifier — it calls /audit-reproducibility to confirm claims reproduce before packaging.
allowed-tools
Read, Grep, Glob, Write, Bash, Agent, Task
argument-hint
[manuscript path] [outputs-dir] (outputs-dir defaults to output/)
effort
high

Replication Package

Produce the deposit an economist hands a journal at acceptance: a directory tree (data/, code/, output/, README) plus a DCAS compliance checklist, built to the AEA Data and Code Availability Standard, openICPSR deposit expectations, and the Social Science Reproduction Platform reproduction protocol. This skill moves the repo from auditing reproducibility to producing the deposit — /audit-reproducibility proves the numbers; this skill packages everything a third party needs to regenerate them from scratch.

Core principle: the package is reproducible by a stranger with the data and the README — no tacit knowledge, no "ask the author" steps. Every table and figure maps to the exact script and line that produces it.

When to use

  • At acceptance. The journal's data editor (AEA, REStud, JPE, EJ, ...) requests a DCAS-compliant deposit before the paper is typeset.
  • Before an openICPSR / Zenodo / Dataverse upload. Build the tree and README once, locally, before the web upload.
  • Pre-submission dry run. Catch the "I never wrote down where Table 3 comes from" gap while it is cheap to fix.
  • Confidential-data papers. Produce the access-restricted-data note and a runnable-on-restricted-data package even when the data itself cannot be deposited.

Inputs

  • $0 — path to the manuscript (.tex, .qmd, .md, .pdf). Required (the source of the Table/Figure inventory).
  • $1 — outputs directory. Defaults to output/, where every language's pipeline writes. Recognised alternative: _targets/objects/. If output/ does not exist but a pre-v2.6 scripts/<lang>/_outputs/ does, use that and say so.

Workflow

Phase 0: Pre-flight — detect language(s) and outputs
  1. Detect the analysis language(s) by scanning for scripts/R/*.R (+ renv.lock / DESCRIPTION), scripts/stata/*.do, scripts/python/*.py (+ requirements.txt / environment.yml / pyproject.toml). A project may be polyglot — record all detected languages.
  2. Locate the outputs directory ($1) and the one-command entry point (00_run_all.R, 99_run_all.do, run.py, Makefile). If none exists, flag it — DCAS requires a single master script.
  3. If quality_reports/passports/<paper-slug>.yaml exists, load it; its claims: entries are the authoritative Table/Figure → source_file:source_line map for Phase 1.
Phase 1: Generate the standard replication README

Write replication_package/README.md (the AEA template, fields below). Leave a [FILL] marker on any field you cannot infer — never fabricate a data source or license.

  • Overview / paper citation — title, authors, abstract one-liner.
  • Data Availability Statement — for each dataset: public / restricted / proprietary, and whether it is redistributed in the package. This is the single most-rejected DCAS field; be explicit.
  • Dataset manifest — a table, one row per file: filename | description | source (URL/citation) | access (public / DUA / purchase) | license | provided in package? (Y/N).
  • Computational requirements — OS, software + versions (R / Stata / Python), key packages, approximate runtime, RAM, any HPC/cluster need.
  • Step-by-step run instructions — the single master-script invocation, then the expected outputs.
  • Table/Figure → script:line map — one row per exhibit: Exhibit | Program | Line | Output file. Read from the passport if present; otherwise grep the manuscript for \input{} / \includegraphics{} and trace each to the producing script. This map is what a reproducer follows; it is the heart of the package.
Phase 2: Capture the computational environment

Generate the dependency lockfile(s) and an environment snapshot for each detected language. Prefer /capture-environment if available; otherwise produce them directly:

  • R — renv::snapshot() → renv.lock; sessionInfo() → output/sessionInfo.txt.
  • Python — pip freeze → requirements.txt (or export the conda environment.yml); record python --version.
  • Stata — creturn list / about / the which list → output/sessionInfo_stata.txt, the environment record the Stata convention requires; confirm every .do pins version NN (per stata-code-conventions.md).
  • Container (recommended by DCAS for non-trivial setups) — scaffold a Dockerfile pinning the base image + language version.
Phase 3: Confirm claims reproduce before packaging

Run /audit-reproducibility $0 $1 (passport-aware if the YAML exists).

  • Any FAIL (out of tolerance, no named alternative) → block: do not assemble a package around numbers that do not reproduce. Surface the failing claims and stop.
  • EXPLAINED (out of tolerance with a recorded named alternative) → allowed; carry the note into the README's known-discrepancies section.
  • All PASS / PASS + EXPLAINED → proceed to Phase 4.
Show full SKILL.md (433 more words)Show less
Phase 4: Assemble the tree + DCAS checklist

Create the deposit skeleton (copy/symlink real files where they exist; leave [FILL] placeholders otherwise):

replication_package/
├── README.md                # Phase 1
├── data/
│   ├── raw/                 # as-obtained (or a pointer + DUA note if restricted)
│   └── analysis/            # constructed analysis files
├── code/                    # numbered scripts + master script (00_run_all.* / 99_run_all.do)
└── output/                  # tables/, figures/, logs/, sessionInfo.txt (R) / sessionInfo_stata.txt (Stata), renv.lock / requirements.txt

Then emit the DCAS compliance checklist (replication_package/DCAS_checklist.md): Data Availability Statement present · every dataset has source + access + license · master script present and one-command · computational requirements stated · every Table/Figure mapped to program:line · no absolute/machine-specific paths in code · seeds set for any stochastic step · license file (a code license such as BSD/MIT + a data-usage statement). Mark each PASS / FAIL / [FILL].

Phase 5: Confidential-data handling

Per .claude/rules/confidential-data.md, scan the manifest for restricted, proprietary, or PII-bearing inputs (administrative records, IRS/Census RDC, proprietary panels, linked health data).

  • Never copy restricted data into replication_package/data/. Replace it with a pointer: the provider, the application/DUA process, the access cost, and the expected wait time.
  • Generate replication_package/data/access-restricted-data.md — the access-restricted-data note a reproducer follows to obtain the same inputs.
  • Confirm the code still ships (DCAS requires runnable-on-restricted-data code even when the data cannot be deposited), and that any committed extracts pass disclosure-avoidance (cell suppression / rounding) before they enter output/.

Output / Report format

Write quality_reports/replication_package_[paper-slug].md:

markdown
# Replication Package: [Paper Title]
**Date:** [YYYY-MM-DD]  **Languages:** [R / Stata / Python]  **Deposit target:** [openICPSR / Zenodo / Dataverse]

## DCAS checklist
| Item | Status |
|---|---|
| Data Availability Statement | PASS / FAIL / [FILL] |
| Dataset manifest (source · access · license) | ... |
| One-command master script | ... |
| Computational requirements | ... |
| Table/Figure → program:line map | ... |
| No machine-specific paths · seeds set | ... |
| Reproducibility audit (Phase 3) | PASS / EXPLAINED-only / FAIL (blocker) |
| Confidential-data note (if applicable) | ... |

## Skeleton built at
replication_package/  (tree + README + checklist)

## Open [FILL] items
[one line per unresolved field]

Exit behavior

  • All checklist items PASS (or PASS + [FILL]) and audit PASS/EXPLAINED-only: exit 0; print the tree location and any [FILL] items for the author to complete.
  • Any audit FAIL (Phase 3): exit 1; package assembly halts. Numbers that do not reproduce do not get deposited.
  • Restricted data detected but no access note generated: exit 1 with the confidential-data blocker — packaging cannot proceed until Phase 5 runs.

Cross-references

What this skill does NOT do

  • Verify the numbers. That is /audit-reproducibility (called in Phase 3). This skill packages a verified result; it blocks rather than re-derives on FAIL.
  • Upload to the repository. It builds the local tree and README; the author performs the openICPSR / Zenodo / Dataverse upload and gets the DOI. Web deposit is deliberately out of scope.
  • Judge the research. Whether the identification strategy (DiD / event-study, IV, RCT, panel FE) is sound is a /review-paper question. A reproducible package can still house a flawed design.
  • De-identify your data. It flags restricted inputs and refuses to deposit them; it does not run disclosure-avoidance algorithms on raw microdata — that is the author's (and the RDC's) responsibility.

© pedrohcgs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/replication-package of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Compare with similar skills

Replication Package next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Replication Package compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Replication Package this skillpedrohcgs/claude-code-my-workflow1.6k—~2.8kAutomated safety check: NotesMIT
Reproducible Pipelinesbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~3.3kAutomated safety check: PassCustom licence
Audit Replicationbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~984Automated safety check: NotesCustom licence
Scholar Openjoshzyj/open-scholar-skill167—~14kAutomated safety check: PassCustom licence
Ecta Replication Packagefranklee16/academic-research-skills2231 repos~1.8kAutomated safety check: PassNone
Ectheory Replication And Data Policyfranklee16/academic-research-skills2231 repos~983Automated safety check: PassNone

Similar skills

  • Reproducible Pipelines

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill covers reproducible research pipelines and replication packages.

    4.5k GitHub stars~3.3k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Audit Replication

    brycewang-stanford/Auto-Empirical-Research-Skills

    Validate the replication package for the sewage-house-prices project.

    4.5k GitHub stars~984 tokensUpdated 2 days ago
    Research & ScienceAuto-check: notes
  • Scholar Open

    joshzyj/open-scholar-skill

    Implement open science practices for a social science study.

    167 GitHub stars~14k tokensUpdated 19 days ago
    Research & ScienceAuto-check passed
  • Ecta Replication Package

    franklee16/academic-research-skills

    A skill your agent uses when assembling the code and data deposit for an Econometrica manuscript under the journal's Data and Code Availability Policy, including reproducible Monte Carlo and (for…

    223 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Ectheory Replication And Data Policy

    franklee16/academic-research-skills

    A skill your agent uses to handle reproducibility and the supplementary-material file for an Econometric Theory (ET) paper — ET has no mandatory data/code archive (theory journal); the relevant…

    223 GitHub starsUsed in 1 repo~983 tokens
    Research & ScienceAuto-check passed
  • Qe Replication And Data Policy

    franklee16/academic-research-skills

    A skill your agent uses to assemble a Quantitative Economics (QE) replication package that passes the Econometric Society Data Editor's pre-acceptance reproducibility check — raw data, code…

    223 GitHub starsUsed in 1 repo~1.2k tokens
    Research & ScienceAuto-check passed

More from pedrohcgs/claude-code-my-workflow

All 59 skills in this repo
  • Devils Advocate

    pedrohcgs/claude-code-my-workflow

    Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

    1.6k GitHub starsUsed in 2 repos~641 tokens
    Auto-check passed
  • Vaccinate

    pedrohcgs/claude-code-my-workflow

    Qualify a check before it is allowed to clear anything — prove it can detect the failure it is meant to catch.

    1.6k GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check: notes
  • Compile Latex

    pedrohcgs/claude-code-my-workflow

    Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex).

    1.6k GitHub starsUsed in 1 repo~492 tokens
    Auto-check: notes
  • Context Status

    pedrohcgs/claude-code-my-workflow

    Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

    1.6k GitHub starsUsed in 1 repo~613 tokens
    Auto-check: notes
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.6k GitHub stars~2.8k tokensUpdated 10 days ago
    Auto-check: notes
  • Checkpoint

    pedrohcgs/claude-code-my-workflow

    Save a structured state snapshot before stopping or handing off.

    1.6k GitHub stars~2.8k tokensUpdated 10 days ago
    Auto-check: notes

Questions about Replication Package

What does Replication Package do?

Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README…. Replication Package is an agent skill from pedrohcgs/claude-code-my-workflow. Assemble a submission-ready replication package to the AEA Data and Code Availability Standard (DCAS) / openICPSR / Social Science Reproduction Platform expectations — standard replication README, dataset manifest, computational-requirements capture, a Table/Figure → script:line map, and a confidential-data deposit plan.

When should I use Replication Package?

Replication Package fits situations like: user says build the replication package; prepare the openICPSR deposit; make the AEA data and code package; DCAS compliance.

How do I install Replication Package in Claude Code?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill replication-package -a claude-code`. Or copy the skill folder (.claude/skills/replication-package in pedrohcgs/claude-code-my-workflow) into .claude/skills/replication-package in your project. Claude Code loads it when a task matches its description.

How do I install Replication Package in Codex?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill replication-package -a codex`. Or copy the skill folder (.claude/skills/replication-package in pedrohcgs/claude-code-my-workflow) into .agents/skills/replication-package in your project. Codex loads it when a task matches its description.

Can I use Replication Package in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedrohcgs/claude-code-my-workflow --skill replication-package -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/replication-package, .gemini/skills/replication-package, .github/skills/replication-package and .opencode/skills/replication-package in your project.

What does Replication Package need to run?

Going by SKILL.md and its folder, Replication Package needs the command-line tools its instructions call (pip and python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Bash, Agent, Task.

Does Replication Package access the network?

SKILL.md names 2 domains. As links in the text: datacodestandard.org and socialsciencereproduction.org. This is read from the text; nothing was executed.

Is Replication Package safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Replication Package use?

Replication Package is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Replication Package use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Replication Package?

Skills that share tags, products or a category with Replication Package: Reproducible Pipelines (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Audit Replication (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Scholar Open (joshzyj/open-scholar-skill, 167 stars) and Ecta Replication Package (franklee16/academic-research-skills, 223 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Replication Package?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,639 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on September 27, 2026.

Source: pedrohcgs/claude-code-my-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.