Environment Diagnose

SkillMonitoring & ops

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.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Environment Diagnose skill

What this skill tells your AI

The instructions your AI receives, as published by brycewang-stanford/auto-empirical-research-skills in skills/64-tmonk-mcp-stata/skills/stata-environment-diagnose/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
4k
Forks
531
Last commit
Sep 2026
Advanced
Item type
skill
Key
stata-environment-diagnose
Source
github.com/brycewang-stanford/auto-empirical-research-skills