env-audit

env-audit is a skill for Claude Code from mtvrkan/senior-dev-kit. It costs 60 tokens per session (493 once invoked), scanned A, original, MIT.

A read-only checker for environment variables used across a codebase. It compares variables accessed by the code with those listed in example environment files such as .env.example.

In plain words
What is it for?
Use it to audit environment-variable usage, classify required and optional settings, and report security risks without changing files.
Why use it?
It reveals missing or unused configuration, outdated examples, and common ways secrets can be exposed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to audit environment-variable usage, classify required and optional settings, and report security risks without changing files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mtvrkan/senior-dev-kit/env-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mtvrkan/senior-dev-kit --skill env-audit
Clone the repo
git clone --depth 1 https://github.com/mtvrkan/senior-dev-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for env-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtvrkan/senior-dev-kit/env-audit/github.svg)](https://agentmods.dev/skills/mtvrkan/senior-dev-kit/env-audit)
Your own site
<a href="https://agentmods.dev/skills/mtvrkan/senior-dev-kit/env-audit"><img src="https://agentmods.dev/badge/skills/mtvrkan/senior-dev-kit/env-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for env-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtvrkan/senior-dev-kit/env-audit"><img src="https://agentmods.dev/badge/skills/mtvrkan/senior-dev-kit/env-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00493
Opus 5.5 $0.00024 $0.00197
Sonnet 5.5 $0.00012 $0.00099
Haiku 4.5 $0.00006 $0.00049

Measured today against content hash 8efe0ed7dd34, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

env-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

antigravity/skills/env-audit/SKILL.md · 27 lines

What it actually says

env-audit

Antigravity: run this skill in the devops-guard custom agent — invoke it as a subagent, pass the scope, and report its result; if subagents are unavailable, follow the steps inline.

Map all environment variables, find gaps, ensure .env.example is complete. See KIT_ROOT/agent_docs/env-audit-guide.md for grep commands by language, .env.example format, and the var classification table.

  1. Grep all source files for env var access (process.env, os.getenv, os.Getenv, dotenv, etc.). Read .env.example / .env.template / .env.sample.
  2. Build SET A (used in code) vs SET B (declared in .env.example). A-B = missing, B-A = unused. Classify each: REQUIRED | OPTIONAL_DEFAULT | OPTIONAL_FEATURE | UNUSED | SECRET.
  3. Report missing vars with the exact line to add — KEY=placeholder, no comment line — plus its row for the README / docs/ENV.md variable table (Variable · Required · Purpose · Format); cross-check that table against .env.example, every key in one appearing in the other. Flag exposure risks: NEXT_PUBLIC_/VITE_ secrets, hardcoded secrets, console.log(process.env), .env in git. devops-guard is read-only — hand the .env.example write to senior-engineer.

Output

MISSING from .env.example: KEY_NAME — [file:line] — [REQUIRED|OPTIONAL]
ENV TABLE DRIFT: KEY_NAME — [in .env.example only | in the README/ENV.md table only]
UNUSED in .env.example: KEY_NAME — [consider removing]
SECURITY RISKS: ⚠ [pattern — risk — fix]
SUMMARY: Used:[N] Documented:[N] Missing:[N] Unused:[N] Risks:[N]
.env.example changes proposed: [N vars — apply via senior-engineer | no changes needed]
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -5 lines · +26 tokens per session 8efe0ed7dd34
  2. 1mo ago Changed · +1 lines ca0b3800cda9
  3. 2mo ago Changed · +1 lines d7e6cff4cdd8
  4. 3mo ago First seen · 30 lines · 34 tokens per session scan A aa625ae8f76e

Subscribe to this mod's changes

env-audit is a skill published in the GitHub repository mtvrkan/senior-dev-kit (11 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 493 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

env-audit compared with skills from other repositories

env-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
env-auditmtvrkan/senior-dev-kitSkill11yesterdayMITA60Claude Code
dead-code-huntermagic5644/Graph-It-LiveSkill64yesterdayMITA165Claude Code
graph-it-livemagic5644/Graph-It-LiveSkill64yesterdayMITA160Claude Code
graph-it-refactormagic5644/Graph-It-LiveSkill64yesterdayMITA52Claude Code
debugging-workflowsCrowdStrike/foundry-skillsSkill38yesterdayMITA90Claude Code
app-auditCrowdStrike/foundry-skillsSkill38yesterdayMITA104Claude Code
agyVit129/agy-plugin-ccSkill64d agoApache-2.0C55Claude Code