replication-package

replication-package is a skill for Claude Code, Codex from pedrohcgs/claude-code-my-workflow. It costs 145 tokens per session (2,628 once invoked), scanned A, original, MIT.

A packaging skill for preparing an economics research project so another person can reproduce its tables and figures. It follows data and code availability expectations such as the AEA standard and openICPSR requirements.

In plain words
What is it for?
Use it to assemble data, code, output files, a README, a dataset manifest, computing requirements, and a map from each table or figure to the script and line that creates it.
Why use it?
It exposes missing instructions, undocumented data sources, and unclear links between results and code before a journal or repository submission.

Skill for Claude CodeCodex

About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,556 stars · on GitHub

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.

agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/replication-package
Any agent
npx skills add pedrohcgs/claude-code-my-workflow --skill replication-package
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

Made for: Claude Code, Codex.

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 replication-package

README.md
[![agentmods](https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/replication-package.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/replication-package)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/replication-package"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/replication-package.svg" alt="Measured on agentmods" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,628 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00145 $0.02628
Opus 5 $0.00072 $0.01314
Sonnet 5 $0.00029 $0.00526
Haiku 4.5 $0.00015 $0.00263

Measured 5d ago against content hash fbea5d1e9b79, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

replication-package 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 5d 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.

.claude/skills/replication-package/SKILL.md · 136 lines

How it starts

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

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 scripts/R/_outputs/. Recognised alternatives: scripts/stata/_outputs/, scripts/python/_outputs/, _targets/objects/.

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.

Read the full file on GitHub · 136 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. 5d ago First seen · 136 lines · 145 tokens per session scan A fbea5d1e9b79

Subscribe to this mod's changes

replication-package is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,556 stars, last pushed 11d ago), licensed MIT. It adds 145 tokens to every session and 2,628 once invoked, about $0.0007 per session on Opus 5. 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

paper-workflow

经管 / 社科实证论文全流程 meta-orchestrator:把选题、设计、数据、估计、方法闸门、 表图、写作、去 AI 味、质量门、修订、投稿与复盘编排成 Stage 0–9 可断点续跑流水线。 本 skill 不重复实现子能力,而是按阶段调用既有 skill 或并行 subagent,并在 Stage 3–4 路由 Python/StatsPAI、Stata、R 三种分析后端,Stage 9 交付一份含正文+表+图+参考文献的 Word 全文定稿(09submission/main.docx,另可出 .tex)。触发:/paper-workflow、 帮我写一篇实证论文、从选题到投稿、端到端 empirical…

brycewang-stanford/Paper-WorkFlow · 262 tokens

econ-management-paper-polish

Writing, revision, review, evidence, journal adaptation, and method-safety support for economics, management, finance, accounting, marketing, information systems, public administration, and related business-school papers. Routes by discipline, subfield, language, method, outlet, section, and task mode while preserving…

linkingoscar/econ-management-paper-polish · 139 tokens

did-causal

Use this Skill when the user needs to estimate causal treatment effects using difference-in-differences (DID) designs: two-way fixed effects (TWFE) regression, parallel trends pre-testing, Callaway-Sant'Anna staggered adoption estimator, and Goodman-Bacon decomposition. Covers both Python (linearmodels) and R (did…

xjtulyc/awesome-rosetta-skills · 75 tokens

fin-paper-convert

Compile LaTeX to PDF and convert to target journal format.

csmar432/finai-research · 12 tokens

fin-paper-figure

Generate academic-quality figures (>=300 DPI) for economics and finance papers.

csmar432/finai-research · 14 tokens

fin-full-pipeline

经济金融研究端到端完整流程。从研究想法到可投稿论文,覆盖文献综述、想法生成、新颖性验证、实证方法设计、论文大纲、正文写作、图表生成、LaTeX编译和投稿前检查。.

csmar432/finai-research · 63 tokens