plugin/skills/stata-log/SKILL.md
Tail, read, or search a Stata log file from a previous command or background task.
npx skillsauth add tmonk/mcp-stata stata-logInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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).
tools
Show 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.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.