OpenParable
Skip to content
← Back to skills

Stata Toolkit

Research
stata-toolkit

Stata Toolkit is an Agent Skill for research 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.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/64-tmonk-mcp-stata/skills/stata-toolkit/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stata-toolkit, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Stata Toolkit Dispatcher

Use this skill as the default router for Stata work.

  1. Confirm the mcp-stata MCP server is available.
  2. Route quick tasks to the direct slash-style skills:
    • stata-run
    • stata-inspect
    • stata-results
    • stata-graph
    • stata-help
    • stata-log
    • stata-lint
  3. Route research workflows to the specialized skills:
    • stata-data-audit
    • stata-environment-diagnose
    • stata-modernize
    • stata-publication-qa
    • stata-replication
    • stata-causal-inference
    • stata-table-builder
    • stata-power-analysis
    • stata-data-provenance
    • stata-referee-response
  4. Use the MCP tools directly when the user needs ad hoc Stata execution or a mixed workflow.

Read these references when needed:

  • references/tool-reference.md for the tool map and identity response.
  • references/research-workflows.md for end-to-end economics workflows.
  • references/error-handling.md for log, rc, and background-task handling.