Manage environment-variable hygiene and secrets safety across local development and production workflows. This skill focuses on practical auditing, drift awareness, and rotation readiness.
Core Capabilities
.env and .env.example lifecycle guidance
Secret leak detection for repository working trees
Severity-based findings for likely credentials
Operational pointers for rotation and containment
Integration-ready outputs for CI checks
When to Use
Before pushing commits that touched env/config files
During security audits and incident triage
When onboarding contributors who need safe env conventions
When validating that no obvious secrets are hardcoded
Quick Start
# Scan a repository for likely secret leaks
python3 scripts/env_auditor.py /path/to/repo
# JSON output for CI pipelines
python3 scripts/env_auditor.py /path/to/repo --json
Recommended Workflow
Run scripts/env_auditor.py on the repository root.
Prioritize critical and high findings first.
Rotate real credentials and remove exposed values.
Update .env.example and .gitignore as needed.
Add or tighten pre-commit/CI secret scanning gates.
Note: Bundled scripts ship as Markdown reference (.md) — copy the code out of the .md file to run it.
Reference Docs
references/validation-detection-rotation.md
references/secret-patterns.md
Common Pitfalls
Committing real values in .env.example
Rotating one system but missing downstream consumers
Logging secrets during debugging or incident response
Treating suspected leaks as low urgency without validation
Best Practices
Use a secret manager as the production source of truth.
Keep dev env files local and gitignored.
Enforce detection in CI before merge.
Re-test application paths immediately after credential rotation.
1---2name: env-secrets-manager3description: Env & Secrets Manager4metadata:5 source: https://skillmd.com/skills/neekware/env-secrets-manager6---78# Env & Secrets Manager910**Tier:** POWERFUL11**Category:** Engineering12**Domain:** Security / DevOps / Configuration Management1314---1516## Overview1718Manage environment-variable hygiene and secrets safety across local development and production workflows. This skill focuses on practical auditing, drift awareness, and rotation readiness.1920## Core Capabilities2122- `.env` and `.env.example` lifecycle guidance23- Secret leak detection for repository working trees24- Severity-based findings for likely credentials25- Operational pointers for rotation and containment26- Integration-ready outputs for CI checks2728---2930## When to Use3132- Before pushing commits that touched env/config files33- During security audits and incident triage34- When onboarding contributors who need safe env conventions35- When validating that no obvious secrets are hardcoded3637---3839## Quick Start4041```bash42# Scan a repository for likely secret leaks43python3 scripts/env_auditor.py /path/to/repo4445# JSON output for CI pipelines46python3 scripts/env_auditor.py /path/to/repo --json47```4849---5051## Recommended Workflow52531. Run `scripts/env_auditor.py` on the repository root.542. Prioritize `critical` and `high` findings first.553. Rotate real credentials and remove exposed values.564. Update `.env.example` and `.gitignore` as needed.575. Add or tighten pre-commit/CI secret scanning gates.5859> **Note:** Bundled scripts ship as Markdown reference (`.md`) — copy the code out of the `.md` file to run it.6061---6263## Reference Docs6465- `references/validation-detection-rotation.md`66- `references/secret-patterns.md`6768---6970## Common Pitfalls7172- Committing real values in `.env.example`73- Rotating one system but missing downstream consumers74- Logging secrets during debugging or incident response75- Treating suspected leaks as low urgency without validation7677## Best Practices78791. Use a secret manager as the production source of truth.802. Keep dev env files local and gitignored.813. Enforce detection in CI before merge.824. Re-test application paths immediately after credential rotation.
Run npx get-skill add neekware/env-secrets-manager in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Env & Secrets Manager It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: makes network calls, reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
neekware (@neekware) published this skill. Their other Agent Skills are listed on their SkillMD profile.