environment-doctor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited environment-doctor (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Systematically diagnose why the agent environment, project tooling, or Agent Powerups installation is not working as expected.
apx commands fail with unexpected errors or "not found"apx listAPX_REPO_ROOT is set, note its value)Run each and note missing or wrong-version ones:
node --version # 18+ for most Agent Powerups tooling
npx --version
python --version # 3.9+ for validate scripts
git --version
apx --version # Agent Powerups CLI
docker --version # only if using Docker-based MCP configsapx list
apx validate skills
apx validate catalogIf apx is not found:
npm list -g agent-powerupsecho $PATH (bash/zsh) or $env:PATH (PowerShell)docs/installation.mdFor each MCP config that should be active:
apx mcp check <name> # prerequisites: required commands, env vars
apx mcp smoke <name> # launch test: does the server actually start?Common failures:
| Symptom | Likely cause | Fix |
|---|---|---|
docker: command not found | Docker not installed | Install Docker |
docker: not running | Docker daemon stopped | Start Docker Desktop |
GITHUB_TOKEN not set | Missing env var | Set in shell profile |
| Server starts then crashes | Package not cached | Run npx -y <package> once |
${REPO_ROOT} literal in args | Placeholder not replaced | Substitute actual path in config |
python scripts/validate-catalog.py
python scripts/validate-skills.pyEach error line names the asset and the exact failing field. Fix in order.
git status --short
git diff --statStale generated files will show as modified. Re-run the generator script to bring them current.
List what is expected versus what is set — show presence, not values:
# bash/zsh
printenv | grep -E "GITHUB|CONTEXT7|OPENAI|ANTHROPIC" | sed 's/=.*/=SET/'
# PowerShell
Get-ChildItem Env: | Where-Object { $_.Name -match "GITHUB|CONTEXT7" } | Select-Object Namels <agent-root>/skills/
ls <agent-root>/commands/
ls <agent-root>/mcp/If paths are empty or missing: verify APX_REPO_ROOT or the install path passed to apx.
ENVIRONMENT DOCTOR REPORT
Platform: <claude-code / codex / gemini-cli / generic>
Agent root: <path or "not set">
REQUIRED COMMANDS:
node: 20.x ✓ / MISSING ✗
npx: ✓ / MISSING
python: 3.11 ✓ / MISSING
git: ✓ / MISSING
apx: 0.x ✓ / MISSING
MCP CONFIGS:
<name>: check OK / FAIL — <reason>
<name>: smoke OK / FAIL — <reason>
ASSET VALIDATION:
catalog: PASS / FAIL — [N errors]
skills: PASS / FAIL — [N errors]
STALE GENERATED ASSETS: none / [list]
MISSING ENV VARS: none / [list of names only, no values]
BLOCKERS (must fix before proceeding):
- [item]
NON-BLOCKING:
- [item]apx validate catalog and apx validate skills exit 0apx not in PATH after install — reload shell profile (source ~/.zshrc) or restart terminal${REPO_ROOT} literal in filesystem MCP args — substitute the actual absolute pathAPX_REPO_ROOT pointing to a stale path after a repo move — update the env varInspired by Yeachan-Heo/oh-my-codex skills/doctor/SKILL.md. Rewritten in Agent Powerups style with multi-platform coverage for Claude Code, Codex, Gemini CLI, and generic shell environments.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.