# Env Audit

> Use when you want to audit environment variable usage — scans the entire codebase for all env var references across all sources (code, Docker, CI, config files) and flags anything undocumented or inconsistent. Works for any stack and any env var pattern.

- Skill: `latuconsinafr/env-audit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add latuconsinafr/env-audit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/latuconsinafr/env-audit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: latuconsinafr (https://skillmd.com/u/latuconsinafr)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/latuconsinafr/env-audit

---


# Environment Variable Audit

Spawn the `scanner` agent in `env-audit` mode:

```
Scan mode: env-audit
Scope: $ARGUMENTS (scan entire repo if empty)

Run a full env-audit scan:
- Collect all env var references in code (by detected stack/language)
- Collect all env var sources (.env files, Docker, CI configs, Terraform, serverless)
- Cross-reference and classify: missing, undocumented, stale, naming inconsistencies, clean

Return the structured findings report with 🔴 / 🟡 / 🟢 / ⚠️ sections and summary stats.
```

Present the scanner's report to the user without modification.

