OpenParable
Skip to content
← Back to skills

Stata Environment Diagnose

Testing & Quality
stata-environment-diagnose

Stata Environment Diagnose is an Agent Skill for testing & quality 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.

Diagnose 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.

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-environment-diagnose/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stata-environment-diagnose, 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.

Environment Diagnose

Use this skill for setup and platform troubleshooting.

  1. Verify detection with stata_manage_session(action="detect").
  2. Reproduce the smallest failing command.
  3. Use logs, package checks, and environment reporting before suggesting a fix.
  4. Separate root cause, evidence, remediation, and verification.

Read references/troubleshooting.md for the diagnosis flow and use scripts/report_environment.py for a deterministic environment summary.