# Env Dx

> Scan environment for dev readiness — tools, runtimes, permissions. Use in new containers.

- Skill: `htlin222/env-dx` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add htlin222/env-dx`
- Raw SKILL.md: https://api.skillmd.com/api/skills/htlin222/env-dx/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: htlin222 (https://skillmd.com/u/htlin222)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/htlin222/env-dx

---


# Environment DX Scanner

Runs a single diagnostic script to audit the current environment (container or local) for developer tools, runtimes, connectivity, and write permissions.

## Usage

- `/env-dx` — full scan (all sections)
- `/env-dx quick` — skip network and disk checks (faster)

## Workflow

### Step 1: Run the scan

```bash
bash ~/.claude/skills/env-dx/scripts/scan.sh
```

For quick mode:

```bash
bash ~/.claude/skills/env-dx/scripts/scan.sh --quick
```

The script is read-only and safe to run. It creates a temp file to test write permissions and a temp uv project to test `uv add`, both cleaned up immediately.

### Step 2: Parse output

Each line uses a status prefix:
- `[OK]` — tool found / check passed
- `[MISSING]` — tool not found
- `[WARN]` — partial issue (old version, limited access)
- `[FAIL]` — check failed (no write permission, no network)

### Step 3: Present results

**Summary table** — one row per category (System, Container, Required Tools, Runtimes, Permissions, Network, Resources) with rollup status.

**Issues** — list every `[MISSING]`, `[WARN]`, `[FAIL]` item with a concrete fix command adapted to the detected OS:
- Debian/Ubuntu: `apt-get install -y <pkg>`
- Alpine: `apk add <pkg>`
- RHEL/Fedora: `dnf install <pkg>`
- macOS: `brew install <pkg>`
- Python tools: `pipx install <pkg>` or `uv tool install <pkg>`
- Rust tools: `cargo install <pkg>`
- Node tools: `pnpm add -g <pkg>` or `npm install -g <pkg>`

**Recommendations** — prioritized by impact (permissions > required tools > optional tools > nice-to-haves).

### Step 4: Offer follow-up

Ask if the user wants to:
1. Install missing tools (generate a single install script for their OS)
2. Deep-dive a specific area
3. Save the report to a file

