env-secrets-manager

env-secrets-manager is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 27 tokens per session (3,523 once invoked), scanned D, original, MIT.

A workflow for managing environment variables and secrets across development, staging, and production. It can create example configuration files, check required values, scan Git history for leaked credentials, and guide credential rotation using several secret-storage services.

In plain words
What is it for?
Use it when setting up a project, onboarding developers, checking changes before commits, investigating environment differences, or rotating leaked credentials.
Why use it?
It reduces configuration drift, missing settings, and the risk of committing passwords or API keys to a repository. It also provides a documented response when a credential is exposed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is entry: bash scripts/check-env-example.sh.

Good fit Use it when setting up a project, onboarding developers, checking changes before commits, investigating environment differences, or rotating leaked credentials.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills
agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager

Made for: Claude Code, Codex.

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-secrets-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager/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-secrets-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/env-secrets-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00027 $0.03523
Opus 5.5 $0.00011 $0.01409
Sonnet 5.5 $0.00005 $0.00705
Haiku 4.5 $0.00003 $0.00352

Measured 12d ago against content hash d7141c0480cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

env-secrets-manager scanned grade D with 3 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 12d ago.

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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

.aws/credentials

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

# Run any command with secrets injected

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Bearer $NEW_TOKEN" https://api.service.com/test
openclaw-skills/env-secrets-manager/SKILL.md · 457 lines

How it starts

The opening of the file, as written. The whole thing — 457 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Env & Secrets Manager

Tier: POWERFUL Category: Engineering Domain: Security / DevOps / Configuration Management


Overview

Complete environment and secrets management workflow: .env file lifecycle across dev/staging/prod, .env.example auto-generation, required-var validation, secret leak detection in git history, and credential rotation playbook. Integrates with HashiCorp Vault, AWS SSM, 1Password CLI, and Doppler.


Core Capabilities

  • .env lifecycle — create, validate, sync across environments
  • .env.example generation — strip values, preserve keys and comments
  • Validation script — fail-fast on missing required vars at startup
  • Secret leak detection — regex scan of git history and working tree
  • Rotation workflow — detect → scope → rotate → deploy → verify
  • Secret manager integrations — Vault KV v2, AWS SSM, 1Password, Doppler

When to Use

  • Setting up a new project — scaffold .env.example and validation
  • Before every commit — scan for accidentally staged secrets
  • Post-incident response — leaked credential rotation procedure
  • Onboarding new developers — they need all vars, not just some
  • Environment drift investigation — prod behaving differently from staging

.env File Structure

Canonical Layout

# .env.example — committed to git (no values)
# .env.local   — developer machine (gitignored)
# .env.staging — CI/CD or secret manager reference
# .env.prod    — never on disk; pulled from secret manager at runtime

# Application
APP_NAME=
APP_ENV=                    # dev | staging | prod
APP_PORT=3000               # default port if not set
APP_SECRET=                 # REQUIRED: JWT signing secret (min 32 chars)
APP_URL=                    # REQUIRED: public base URL

# Database
DATABASE_URL=               # REQUIRED: full connection string
DATABASE_POOL_MIN=2
DATABASE_POOL_MAX=10

# Auth
AUTH_JWT_SECRET=            # REQUIRED
AUTH_JWT_EXPIRY=3600        # seconds
AUTH_REFRESH_SECRET=        # REQUIRED

# Third-party APIs
STRIPE_SECRET_KEY=          # REQUIRED in prod
STRIPE_WEBHOOK_SECRET=      # REQUIRED in prod
SENDGRID_API_KEY=

# Storage
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=eu-central-1
AWS_S3_BUCKET=

# Monitoring
SENTRY_DSN=
DD_API_KEY=

Read the full file on GitHub · 457 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed d7141c0480cb
  2. 13d ago Changed · -2 lines 7fc097f2f463
  3. 2mo ago Changed · -243 lines · -40 tokens per session 575e55b4ed7f
  4. 2mo ago First seen · 702 lines · 67 tokens per session scan D daf70ddd63bc

Subscribe to this mod's changes

env-secrets-manager is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (75 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 3,523 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it D with 3 findings (reaches for credential files, unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

env-secrets-manager compared with skills from other repositories

env-secrets-manager next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
env-secrets-managerseaworld008/Commonly-used-high-value-skillsSkill75todayMITD27Claude Code, Codex
direnv-patternelasticdotventures/_b00t_Skill151mo agononeB53Claude Code
librarianJetBrains/thinkrailSkill8.5ktodayApache-2.0A71Claude Code, Codex
managing-mcp-serversJetBrains/thinkrailSkill8.5ktodayApache-2.0A62Claude Code, Codex
todosJetBrains/thinkrailSkill8.5ktodayApache-2.0A58Claude Code, Codex
upgrading-core-dependenciesJetBrains/thinkrailSkill8.5ktodayApache-2.0A59Claude Code, Codex
omh-automation-blueprintrlaope/oh-my-hermesSkill6.2ktodayMITA76Claude Code, Codex