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.
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.
npx skills add pedrohcgs/claude-code-my-workflow --skill stata-replicationgit clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflowWrote 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.
[](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/stata-replication)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00126 | $0.01929 |
| Opus 5 | $0.00063 | $0.00964 |
| Sonnet 5 | $0.00025 | $0.00386 |
| Haiku 4.5 | $0.00013 | $0.00193 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/stata-replication — Stata pipeline scaffold + execution
Build a complete Stata replication pipeline in scripts/stata/: numbered .do files following .claude/rules/stata-code-conventions.md, executed via the stata-mcp MCP server, with outputs landing in scripts/stata/_outputs/.
When to use
- Your project's analysis language is Stata (not R). Common in econ field experiments, RCT studies, and any AEA submission where the original replication package is Stata.
- You're porting an R-first project to Stata for an AEA submission.
- You're adding a Stata robustness check to an R-first paper.
- You want a one-command reproduction:
do scripts/stata/99_run_all.do.
When NOT to use
- Your project is R-first. Use
/data-analysis. - Your project is Python-first. Neither this skill nor
/data-analysisis the right fit; consider extending the convention rule for Python or porting one of these skills. - You're doing quick exploratory work. The numbered-pipeline scaffold is for replication packages, not scratch notebooks.
Prerequisite: stata-mcp installed
This skill requires the stata-mcp MCP server. Install once per user:
claude mcp add stata-mcp --scope user -- uvx stata-mcp
The MCP server provides command-guarded Stata execution (refuses destructive operations like !/shell/erase), RAM monitoring, and Stata Language Server pairing. Maintained by SepineTam, 171 stars on GitHub as of 2026-05.
If stata-mcp is not installed, the skill halts at Phase 0 with installation instructions.
Workflow
Phase 0: Pre-flight
- Verify
stata-mcpis registered in the user's MCP configuration. If not → halt with install instructions. - Verify Stata is installed locally (the MCP server cannot run without it). Output stata version to confirm.
- Confirm
scripts/stata/directory exists or can be created. - Read
.claude/rules/stata-code-conventions.md— every emitted.dofile follows this convention. - If
--from-rflag is set, locate the existing R pipeline atscripts/R/and use it as a translation source. Apply the Stata → R pitfalls table fromreplication-protocol.mdin reverse.
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.
- 3d ago First seen · 119 lines · 126 tokens per session scan A 07ea20bf9293
stata-replication is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,563 stars, last pushed 13d ago), licensed MIT. It adds 126 tokens to every session and 1,929 once invoked, about $0.0006 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-09-03.
Other skills, from other repositories
fin-paper-figure
Generate academic-quality figures (>=300 DPI) for economics and finance papers.
fin-paper-writing
A workflow for turning a research outline and study design into a complete economics or finance paper. It coordinates drafting, figure creation, consistency checks, review rounds, LaTeX compilation, and submission checks.
fin-viz-launch
A tool for turning research data and a written description into academic charts. It can choose a suitable chart type, create plotting code with matplotlib or seaborn, and save the result as a high-resolution PDF, SVG, or PNG.
fin-data-acquisition
A data-preparation workflow for financial research. It reads variable definitions from a completed research design and produces data-acquisition work plus executable Python or Stata regression scripts.
fin-lit-review
A systematic literature-review workflow for economics and finance. It searches several academic sources, maps how papers cite one another, and organizes the main findings and research gaps.
fin-submit-check
A pre-submission checklist for an academic paper and its LaTeX files. It checks journal requirements such as anonymous authorship, length, spacing, margins, citations, figures, data availability, and other submission details.