/mcp-stata:stata-logfrom mcp-stata
Tails, reads, or searches Stata log files from previous commands or background tasks. Supports search terms with context lines and offset-based pagination.
Ships in mcp-stata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Parse the argument:
If a search term is provided, call:
stata_read_log(path=<first_token>, query=<second_token>, before=2, after=2, regex=False)
Display matching lines with context.
If no search term, call:
stata_read_log(path=<first_token>, tail_lines=50)
Display the last 50 lines of the log.
If the argument looks like a task_id (not a file path), call:
stata_read_log(task_id=<argument>, tail_lines=50)
If no argument is provided, tell the user to supply a log file path or task_id. These are returned by stata_run in the log_path field of the JSON response.
If the log is large and truncated, note the offset for reading more (the response includes the current byte offset).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tmonk/mcp-stata --plugin mcp-stata20 skills in this plugin
/stataShow mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected./stata-causal-inferenceDesign, run, and critique causal inference workflows in Stata. Use when the user is working on identification, treatment effects, DiD, IV, event studies, RD, or assumption-sensitive empirical claims./stata-data-auditAudit datasets for structure, missingness, labeling, suspicious values, duplicate identifiers, and documentation readiness. Use when a researcher asks for data QA, codebook review, sanity checks, or pre-analysis cleanup guidance./stata-data-provenanceTrack dataset lineage, transformation steps, merge logic, and reproducibility risks in Stata workflows. Use when the user needs to explain where data came from, how it changed, or why a pipeline can be trusted./stata-environment-diagnoseDiagnose local Stata, MCP, package, startup, graph-export, and permissions issues. Use when setup is failing, Stata is not discovered, packages are missing, logs are truncated, or a managed machine behaves differently from a normal workstation./stata-graphList, export, and review Stata graphs from the current session.Other plugins' skills for the same job