Agent Skills: stata-inspect

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

UncategorizedID: tmonk/mcp-stata/stata-inspect

Repository

tmonkLicense: AGPL-3.0
7516

Install this agent skill to your local

pnpm dlx add-skill https://github.com/tmonk/mcp-stata/tree/HEAD/plugin/skills/stata-inspect

Skill Files

Browse the full folder contents for stata-inspect.

Download Skill

Loading file tree…

plugin/skills/stata-inspect/SKILL.md

Skill Metadata

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

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")).