Stata Code

Use this skill whenever the user asks to run Stata code, debug a `.do` file, work with a Stata-backed Jupyter notebook, repair a Stata error, interpret `r()` / `e()` results, or write/plan a Stata analysis — and the `stata-code` MCP server is available (or, when it is not, to generate self-contained do-files). The skill teaches Claude the v1.0 RunResult schema, the 21 MCP tools, token-economy defaults, the typed-error repair loop, and a routing table into an on-demand Stata reference library (syntax, data management, econometrics, causal inference, panel/time series, graphics, tables, error codes, defensive coding, and key packages).

brycewang-stanford 3496f69 33 files · 180.2 KB Updated 1k repo stars

File contents

brycewang-stanford/stata-code/tree/main/skills/stata-code commit 3496f69da8

Frequently asked questions

npx skillmds@latest add brycewang-stanford/stata-code