agentleFS
tatashbartatashbar/Economic-Modeling-Studio/.agents/skills/replicate/SKILL.md

replicate

Skill8 starsChanged 3 days agoMITView on GitHub

Replicates results from the replication package on a clean environment and traces published numbers to code and data.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a required input is ABSENT, that part is NOT ASSESSED — NO DATA: do not estimate or invent it.

    line 26
  2. Very specific:

    Collaboration: Follow .claude/docs/collaboration-protocol.md: ask questions first, present options, get approval before writing files, and …

    line 28
  3. Distinctive:

    Run the one-command replication and compare outputs with tolerance

    line 45
  4. Distinctive:

    After scope: confirm outputs and tolerances

    line 51
  5. Distinctive:

    After the run: review discrepancies before root-cause work

    line 52

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Generated from .claude/skills/replicate/SKILL.md by tools/sync_agents.py. Edit the source, then run the script. -->

/replicate — Replicate

Category: Validation & QA · Primary agent: replication-auditor

Replicates results from the replication package on a clean environment and traces published numbers to code and data.

Arguments: whatever the user wrote after the command name.

Purpose

Replicate published or reported results from the replication package in a clean environment, compare outputs within tolerance, and trace every table and chart number to the script and data version that produced it. The output is a replication report with a discrepancy log and root causes.

Use it when results are about to be published or used in advice, after model changes, or when reported numbers are questioned.

Do not use it when the replication package does not exist yet; build it first with the reproducibility engineer.

Before you start

  1. Check required inputs. For each input below record FOUND or ABSENT (never 'assumed'):
    • Replication package
    • Published outputs If a required input is ABSENT, that part is NOT ASSESSED — NO DATA: do not estimate or invent it; name what is missing and which skill produces it. If all required inputs are absent, stop and say so.
  2. Check confidentiality. Identify the data classification level of the inputs (.claude/docs/confidentiality-and-ai-use.md). Do not proceed with restricted or confidential data in a way the policy does not allow.
  3. Collaboration. Follow .claude/docs/collaboration-protocol.md: ask questions first, present options, get approval before writing files, and update production/session-state/active.md after each approved section.

Agents

  • replication-auditor — primary agent; coordinates the work and integrates results
  • reproducibility-engineer — Guarantees reproducibility

Each agent is defined in .claude/agents/<name>.md. If your tool runs subagents, run these agents as subagents, in parallel where the steps are independent; otherwise read each agent's file and apply its instructions in turn. Subagents only write to the paths named in your instructions.

Key design decisions (present options, let the user choose)

DecisionTypical optionsWhat it changes
Environmentcontainer, fresh virtual environment, clean machineIndependence
Toleranceexact, numerical tolerance by outputPass criteria
Scopeall outputs, key tablesEffort

Workflow

  1. Build the clean environment from lock files or containers
  2. Run the one-command replication and compare outputs with tolerance
    • Record runtime and any manual steps needed (each is a finding)
  3. Trace each table/chart number to its script and data version
  4. Log discrepancies and root causes

Checkpoints with the user

  • After scope: confirm outputs and tolerances
  • After the run: review discrepancies before root-cause work

Common pitfalls

  • Running on the author's machine
  • Accepting "rounding" without checking
  • Ignoring numbers quoted only in the text

Output

validation/<model>/replication-report.md

The report documents the environment, run results, the number-tracing map and the discrepancy log with root causes.

Gate / verdict

  • Outputs reproduced within tolerance, or discrepancies logged with cause
  • Manual steps needed to replicate are reported as findings

Suggested next steps

  • /validate-model
  • /model-release

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.