Skip to content
Skills Library
Security · Review & audit

env-secrets-manager

/env-secrets-manager

Use this skill when the user wants to manage environment variables, secrets, API keys, .env files, deployment configuration, secret rotation, credential hygiene, local development setup, or secret leakage prevention. Trigger phrases include ".env," "environment variables," "secrets manager," "API key safety," "rotate secrets," "deployment env," "credential leak," and "secret hygiene.

Repository
revenueos ↗
Licence
MIT
Last repository change
14.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 14.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill when the user wants to manage environment variables, secrets, API keys, .env files, deployment configuration, secret rotation, credential hygiene, local development setup, or secret leakage prevention. Trigger phrases include ".env," "environment variables," "secrets manager," "API key safety," "rotate secrets," "deployment env," "credential leak," and "secret hygiene.

Triggers from the description

.env,environment variables,secrets manager,API key safety,rotate secrets,deployment env,credential leak,
Original author description

Use this skill when the user wants to manage environment variables, secrets, API keys, .env files, deployment configuration, secret rotation, credential hygiene, local development setup, or secret leakage prevention. Trigger phrases include ".env," "environment variables," "secrets manager," "API key safety," "rotate secrets," "deployment env," "credential leak," and "secret hygiene.

How it works

  1. Mandatory Content Standards
  2. Objective
  3. Secret Inventory
  4. File Strategy
  5. Rotation Workflow
  6. Common Marketing Stack Variables
  7. Output Format
Original SKILL.md headings · 101 lines, 526 words
SKILL.md preview
---
name: env-secrets-manager
description: >
  Use this skill when the user wants to manage environment variables, secrets,
  API keys, .env files, deployment configuration, secret rotation, credential
  hygiene, local development setup, or secret leakage prevention. Trigger phrases
  include ".env," "environment variables," "secrets manager," "API key safety,"
  "rotate secrets," "deployment env," "credential leak," and "secret hygiene."
---

# Environment Secrets Manager

## Mandatory Content Standards

- Write in active voice.
- Use short sentences and plain language.
- Address the user as "you" and "your."
- Use `.marketing-os/product-context.md` when it exists. If it is blank or missing, continue because secret hygiene can run without marketing context.
- Never print, copy, transform, or expose real secrets in the response.
- Redact secrets as `***REDACTED***`.
- Do not suggest committing `.env` files that contain credentials.
- Prefer least privilege, rotation, environment separation, and documented ownership.
- Do not use em dashes, hashtags, emojis, or filler closings.
- End every full deliverable with one specific next step.

## Objective

Use this skill to keep credentials, API keys, tokens, webhook secrets, deployment variables, and local `.env` files organized and safe.

This skill supports marketing automation projects because they often connect CRMs, email tools, ad platforms, analytics, webhooks, and CLIs.

Next step: inventory required environment variables without revealing values.

## Secret Inventory

| Variable | Service | Environment | Required | Scope | Owner | Rotation Cadence | Notes |
|----------|---------|-------------|----------|-------|-------|------------------|-------|

Classify each variable.

| Type | Examples | Handling |
|------|----------|----------|
| Public config | Public API base URL, analytics public key | Can appear in client when intended |
| Server secret | API key, private token, webhook secret | Server only |
| Build secret | Package token, deploy token | CI or deploy platform only |
| Local secret | Developer sandbox key | Local `.env`, never committed |
| Rotating credential | OAuth refresh token, signing secret | Store in managed secret system |

Next step: separate public config from true secrets.

## File Strategy

Recommended files:

```text
.env.example
.env.local
.env.development
.env.test
.env.production
```

Rules:

- Commit `.env.example` with variable names and safe placeholder values.
- Do not commit real `.env` files.
- Add `.env*` to `.gitignore`, except `.env.example` if the project needs it.
- Keep production secrets in the deployment platform or managed secrets store.
- Use different keys for development, staging, and production.

Next step: create or update `.env.example` without real values.

## Rotation Workflow

1. Identify affected service.
2. Revoke or rotate the exposed credential.
3. Update local, CI, staging, and production secret stores.
4. Restart dependent services.
5. Verify functionality.
6. Search recent commits and logs for exposed values.
7. Document the incident and prevention step.

Do not paste the exposed secret into tickets, chat, commits, or documentation.

Next step: rotate the highest-risk exposed key first.

## Common Marketing Stack Variables

| Service Type | Example Variables |
|--------------|-------------------|
| CRM | `HUBSPOT_ACCESS_TOKEN`, `SALESFORCE_CLIENT_SECRET` |
| Email | `MAILCHIMP_API_KEY`, `SENDGRID_API_KEY` |
| Analytics | `GA4_PROPERTY_ID`, `POSTHOG_PROJECT_API_KEY` |
| Ads | `META_ACCESS_TOKEN`, `GOOGLE_ADS_DEVELOPER_TOKEN` |
| Webhooks | `WEBHOOK_SIGNING_SECRET`, `STRIPE_WEBHOOK_SECRET` |
| GitHub | `GITHUB_TOKEN` |
| AI | `OPENAI_API_KEY`, `ANTHROPIC_API_KEY` |

Next step: map each variable to the tool or CLI that needs it.

## Output Format

| Priority | Secret Area | Risk | Fix | Owner | Verification |
|----------|-------------|------|-----|-------|--------------|

Then provide current risk summary, `.env.example` plan, rotation plan, deployment checklist, CI checklist, and local developer setup instructions.

End with the safest next action to reduce credential risk.

Versions

RepositoryScoreLicence
This page · unempyd/revenueos100MIT
alirezarezvani/claude-skills100MIT
borghei/Claude-Skills100MIT

Database snapshot: 13.11.2026 · package version 789a3ee70793 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 7 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100env-manager
    Manage environment variables and secrets across development, staging, and production environments. Use when someone needs to audit env vars, sync secrets between environments, detect missing or mismatched variables, rotate credentials, or set up a new environment from an…
  • 90security-secrets-management
    Use this skill when asked about secrets management, secret scanning, GitLeaks, truffleHog, ggshield, Vault, credential rotation, .env files, environment variables, secrets detection, or secrets storage. This skill enforces: pre-commit secret scanning with…
  • 100secrets-hygiene
    Guides detection, emergency rotation, and prevention of leaked secrets and credentials across source code, git history, CI pipelines, logs, and infrastructure config. Use when someone says "I think I committed an API key", "a secret leaked", "scan the repo for credentials", "how…
  • 100secrets-management
    Manages API keys, credentials, and sensitive configuration using secrets.json patterns with environment variable fallbacks. Use when working with API keys, credentials, .env files, or any sensitive configuration.
  • 100secrets-management
    Secrets and credentials management. Covers environment variables, secret stores, rotation policies, and detection of leaked secrets. USE WHEN: user mentions "secrets", "credentials", "API keys", "environment variables", ".env", asks about "secret leaks", "vault", "secret…
  • 90secret-hygiene
    You MUST use this when using credentials from env files, environment variables, or config to call real services (APIs, CLIs, databases), when checking whether required keys exist, when asked to show credential or environment values, or when writing commit, PR, issue, or log text…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.