Skip to main content
skill CX Codex

stata · franklee16, stata-skill-main — Claude Code skill: what it does, how to install

This skill assists with writing, running, and debugging Stata code, including do-files and Mata programs. Use it for dataset work and regressions.

no license ★ 240 updated 2026-09-18

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add franklee16/academic-research-skills --skill stata -a claude-code
Open on GitHub

What stata does

The skill gives an agent context for Stata tasks such as loading data, analysing it, building commands or packages, and working with Mata syntax. Ask it to draft or inspect code, create a do-file, or troubleshoot an ado-file.

Its materials include terminal commands for running Stata and examples of do-file workflows. For searching PDF manuals, it describes pdfplumber and markitdown; large manuals should not be loaded in full. The stata-mp command and /Applications/StataNow/ paths belong to the documented setup, so they may not match another environment.

What it helps with

  • write a do-file for a data analysis
  • track down an error in Stata code
  • load a dataset and run a regression
  • work through Mata syntax

Example prompts for the agent

  • Write a do-file that loads data.dta, describes the data, and runs a regression.
  • Inspect this Stata code and explain why it fails when run.
  • Search the Stata manuals for regression guidance with pdfplumber.

How to install stata

1Skills CLI (Vercel)

npx skills add franklee16/academic-research-skills --skill stata -a claude-code

2Manually: put the files in place

~/.claude/skills/stata-skill-main/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stata-skill-main/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about stata

How do I install stata in Claude Code?

Run npx skills add franklee16/academic-research-skills --skill stata-skill-main -a claude-code. The skill file is at ~/.claude/skills/stata-skill-main/SKILL.md.

What does the stata skill do?

It helps an agent write, run, and debug Stata code, work with datasets and regressions, and handle ado-files or Mata programs.

How can I search Stata manuals?

The skill describes using the pdfplumber Python API to search PDF manuals and markitdown[pdf] to turn them into readable Markdown. Large manuals should not be loaded all at once.

Similar skills

All skills for Data and databases →

stata by other authors comes first.

stata franklee16 A Stata reference that Claude opens while you write, debug or explain .do files, from data cleaning to reghdfe and Mata. CX Codex +1 ★ 240repo stars stata-replication Claude Code Academic Workflow The stata-replication skill builds numbered Stata scripts, runs them through an MCP server, and saves logs, tables, and figures. Use it to set up a reproducible analysis workflow. CX Codex +1 ★ 1,729repo stars stata-regression Awesome Econ AI Community stata-regression is a Claude Code skill for preparing Stata regression code, checking data, and exporting tables for papers or reports. It covers linear and nonlinear models, fixed effects, and clustered errors. CX Codex +1 430installs stata-mcp SepineTam Lets your AI agent call local Stata for regressions, econometrics and paper replication. Your data and license stay on your machine. CX Codex +1 ★ 281repo stars stata-data-cleaning Awesome Econ AI Community stata-data-cleaning generates reproducible Stata do-files for empirical research, covering missing value replacement, outlier capping, and data integrity checks. CX Codex +1 359installs data-analysis pedrohcgs The data-analysis skill runs an R analysis workflow from data inspection to regressions and publication-ready tables and figures. Use it when a dataset needs empirical analysis. CX Codex +1 ★ 1,729repo stars regression-modeler zebbern regression-modeler fits OLS or logistic regression on your table and explains the coefficients in plain language. Handy when you need significance checks without writing the stats code yourself. CX Codex +1 ★ 4,719repo stars

From the same set98

The whole set →
yomitoki yomitoki converts research papers into technical, standalone HTML study notes with formulas, method breakdowns, and code links. CX Codex +1 ★ 240repo stars paper-revision paper-revision is a Claude Code skill that organizes referee feedback, plans manuscript changes, and drafts a response letter for journal revision. CX Codex +1 ★ 240repo stars propose-economics-paper-titles propose-economics-paper-titles reads an economics manuscript and returns one recommended English title plus alternatives, with every word checked against what the paper actually shows. CX Codex +1 ★ 240repo stars write-economics-abstract write-economics-abstract is a Claude Code skill that drafts, reviews, and fact-checks English abstracts against economics manuscripts. CX Codex +1 ★ 240repo stars crossref crossref is a Claude Code skill that checks pasted references against Crossref and returns a match table. It runs on requests to verify citations, standardize them, or locate DOIs. CX Codex +1 ★ 240repo stars nan-paper-polish nan-paper-polish refines academic manuscripts and theses in LaTeX while safeguarding equations, citations, terminology, and core claims. CX Codex +1 ★ 240repo stars write-economics-conclusion write-economics-conclusion is a Claude Code skill that drafts, rewrites, and audits conclusions for economics manuscripts, tying claims to the paper’s evidence and limits. CX Codex +1 ★ 240repo stars readecon readecon breaks down an economics paper across six dimensions — from theory and data to applicability in Chinese contexts — and compiles a reading note as a PDF via WeasyPrint. CX Codex +1 ★ 240repo stars

Project sponsors

Companies that keep this analytics open