stata-replication

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

A Stata-based workflow for reproducing a research analysis. Stata is software commonly used for statistical work; the workflow organizes scripts, runs them, saves logs and outputs, and creates tables and figures.

In plain words
What is it for?
Use it for research replication packages, economics papers, RCT analyses, robustness checks, and one-command reproduction of Stata results.
Why use it?
It makes a Stata analysis easier to rerun consistently and package for others to inspect or reproduce.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it for research replication packages, economics papers, RCT analyses, robustness checks, and one-command reproduction of Stata results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/stata-replication
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,745 stars · on GitHub · psantanna.com

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 pedrohcgs/claude-code-my-workflow --skill stata-replication
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 stata-replication

README.md
[![agentmods](https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/stata-replication/github.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/stata-replication)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/stata-replication"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/stata-replication/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 stata-replication

Your own site · 80×15
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/stata-replication"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/stata-replication.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 34
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
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.00122 $0.00582
Opus 5.5 $0.00049 $0.00233
Sonnet 5.5 $0.00024 $0.00116
Haiku 4.5 $0.00012 $0.00058

Measured 23d ago against content hash 8f9535597b06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stata-replication 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 23d 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.

.agents/skills/stata-replication/SKILL.md · 30 lines

What it actually says

stata-replication

This skill's instructions live in .claude/skills/stata-replication/SKILL.md. Read that file now and follow it, with the files it points to. Read AGENTS.md first if you have not already.

It was written for Claude Code. Running it from Codex, Antigravity or another agent:

  • Arguments. Where it says $ARGUMENTS, use what the user asked for.
  • Claude Code agents. Where a step hands work to an agent in .claude/agents/ (through the Agent or Task tool), do that step where it appears in the procedure: never later, and never skip it. A step that gates what follows still gates it (/commit runs its verifier before it commits). Read the agent's file for what the step checks.
  • Fresh context. If the step needs a context that has not seen your work, for example a claim verifier that must never see the draft, run it in a separate session or worker that has not seen the draft, if your tool can start one, and give it only what the step says to pass. If it cannot, do the step yourself, mark every result it produced not independently verified, and tell the user to repeat that check in Claude Code (/verify-claims for citations) before relying on it.
  • Claude Code settings. allowed-tools, model, effort, argument-hint and disable-model-invocation in the source's frontmatter configure Claude Code. Ignore them.
  • Guards. Claude Code's guard hooks do not run for you. Follow the rules in AGENTS.md yourself; the git pre-commit gate and CI still apply to your commits.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago Changed · -90 lines 8f9535597b06
  2. 2mo ago Changed · +1 lines · -4 tokens per session 17f998028fa9
  3. 2mo ago First seen · 119 lines · 126 tokens per session scan A 07ea20bf9293

Subscribe to this mod's changes

stata-replication is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,745 stars, last pushed 22d ago), licensed MIT. It adds 122 tokens to every session and 582 once invoked, about $0.0005 per session on Opus 5.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-09-03.

Related

stata-replication compared with skills from other repositories

stata-replication next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stata-replicationpedrohcgs/claude-code-my-workflowSkill1.7k22d agoMITA122Claude Code, Codex
fin-paper-figurecsmar432/finai-researchSkill1127d agoMITA14Claude Code, Codex
fin-paper-writingcsmar432/finai-researchSkill1127d agoMITA65Claude Code
fin-data-acquisitioncsmar432/finai-researchSkill1127d agoMITA36Claude Code, Codex
fin-viz-launchcsmar432/finai-researchSkill1127d agoMITA45Claude Code, Codex
fin-lit-reviewcsmar432/finai-researchSkill1127d agoMITA49Claude Code
fin-submit-checkcsmar432/finai-researchSkill1127d agoMITA37Claude Code, Codex