stata-cli
Run Stata analyses, regressions, and graphs from the terminal
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install stata-cli?▼
Run `npx skills add ashuiGordon/stata-cli --all -g -y` in your terminal to install this skill globally. You also need Stata 17+ and Python 3.9+ on your machine.
How to run Stata from the command line?▼
Use `stata-cli run` followed by your Stata code in quotes, or `stata-cli do analysis.do` to execute a full .do file. Start the daemon first with `stata-cli daemon start` for sub-second execution.
Can AI coding agents use stata-cli?▼
Yes. It is designed for Claude Code, Codex, and Cursor, with structured JSON output, exit codes, and a SKILL.md definition so agents can run Stata with zero extra setup.
How to get regression results as JSON from Stata?▼
After running a model, use `stata-cli return e` for stored estimation results or `stata-cli matrix e(b)` for the coefficient vector, both returned as structured JSON.
Does stata-cli work without coding experience?▼
Basic Stata knowledge helps, but the built-in reference library of 57 topics lets you look up syntax and econometrics patterns with `stata-cli skill <topic>` before writing code.
Related Repositories in Data & Analytics
View All in Data & Analytics→PaddleOCR
Extract text, tables, and formulas from PDFs and images
Scrapling
Scrape any website and bypass anti-bot protection with AI
last30days-skill
Research any topic across Reddit, X, YouTube, and the web