---
name: brycewang-stanford/stata-environment-diagnose
source: https://app.decimal.ai/s/brycewang-stanford-stata-environment-diagnose@1/SKILL.md
source_sha256: b84703e27329
---

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