stata-replication

Build Stata replication pipelines with numbered .do files and stata-mcp server.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/fredmilhome/laffer_tobacco --skill stata-replication
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stata-replication
Source: https://github.com/fredmilhome/laffer_tobacco/tree/main/.claude/skills/stata-replication
Command: npx skills add https://github.com/fredmilhome/laffer_tobacco --skill stata-replication

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires stata-mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the Stata replication process, from creating a pipeline to producing publication-ready tables and figures, reducing manual errors and time.

Core Features & Use Cases

  • Automated Replication Pipeline: Build a complete Stata analysis pipeline using numbered .do files.
  • Stata Execution: Run .do files through the stata-mcp server with output to scripts/stata/_outputs/.
  • Output Production: Generates publication-ready tables (esttab) and figures (graph export) directly from Stata output.
  • Use Case: For researchers and analysts needing to replicate Stata analysis and create professional-grade output without manual intervention.

Quick Start

Use the stata-replication skill to replicate a Stata analysis using the provided data or paper and produce all outputs automatically.

Frequently Asked Questions about stata-replication

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Stata replication for econometric analysis?

Stata replication is automated by building a pipeline of numbered .do files executed through the stata-mcp server, which directly generates publication-ready tables and figures without manual intervention.

Can I generate publication-ready tables from Stata output automatically?

Yes, you can generate publication-ready tables from Stata output automatically. The Skill uses esttab for tables and graph export for figures, saving them directly to the scripts/stata/_outputs/ directory.

Do I need the stata-mcp server to run Stata analysis pipelines?

Yes, the stata-mcp server is required. The Skill uses the stata-mcp server to execute .do files and route the publication-ready output to the scripts/stata/_outputs/ directory.

What is the best way to structure a Stata replication pipeline for research papers?

The best way to structure a Stata replication pipeline is using pre-defined code conventions with numbered .do files. This Skill organizes the analysis pipeline to execute scripts and export professional results.

Does this Skill work for social scientists needing to reproduce Stata results?

Yes, this Skill is designed for econometricians and social scientists needing to reproduce Stata results. It streamlines the analysis pipeline to reduce manual errors and time spent generating outputs.