← LeaderboardThe Skill Leaderboard

stata-environment-diagnose

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.

Published by brycewang-stanford ↗brycewang-stanford/Auto-Empirical-Research-Skills

Try your first task

stata-environment-diagnose

Start a fresh conversation. Replace the highlighted placeholders.

Use stata-environment-diagnose to diagnose [Stata setup symptom] by reproducing [smallest failing command], then report the root cause, evidence, remediation, and verification steps.

Required inputs

  • [Stata setup symptom]
  • [smallest failing command]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md

name: stata-environment-diagnosedescription: 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.

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.