# Stata Inspect

> Stata Inspect is an Agent Skill for documents published in the brycewang-stanford/Auto-Empirical-Research-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Describe and summarize the current dataset in memory. Optionally inspect a specific variable with codebook.

- Skill name: `stata-inspect`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/64-tmonk-mcp-stata/skills/stata-inspect/SKILL.md
- Repository: brycewang-stanford/Auto-Empirical-Research-Skills (2,866 GitHub stars when collected)

## SKILL.md

If an argument (variable name) is provided:
1. Call `stata_inspect_data(action="codebook", query=<variable>)` and display the codebook output.

If no argument is provided:
1. Call `stata_inspect_data(action="describe")` — display the dataset structure (obs, vars, types, labels).
2. Call `stata_inspect_data(action="summary")` — display descriptive statistics (N, mean, sd, min, max).
3. Present both results in a clear, readable format.

If either call returns an error indicating no data in memory, tell the user to load data first (e.g., `/stata-run sysuse auto, clear` or `stata_load_data("auto")`).

---

Source: https://www.openparable.com/skill/documents/stata-inspect (OpenParable). Cite the canonical URL above.
