env-secrets-manager
Skill8 starsChanged 5 months agoMITView on GitHub
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."
- Reads credentials
We split this skill into the rules it gives an agent
17 rules. 0 are common, 11 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 15
Write in active voice.
- Distinctive: line 16
Use short sentences and plain language.
- Very specific: line 18
Use .marketing-os/product-context.md when it exists.
- Distinctive: line 19
Never print, copy, transform, or expose real secrets in the response.
- Very specific: line 21
Do not suggest committing .env files that contain credentials.
- Distinctive: line 22
Prefer least privilege, rotation, environment separation, and documented ownership.
- Distinctive: line 23
Do not use em dashes, hashtags, emojis, or filler closings.
- Very specific: line 28
Use this skill to keep credentials, API keys, tokens, webhook secrets, deployment variables, and local .env files organized and safe.
- Very specific: line 65
Commit .env.example with variable names and safe placeholder values.
- Very specific: line 66
Do not commit real .env files.
- Very specific: line 67
Add .env* to .gitignore, except .env.example if the project needs it.
- Distinctive: line 68
Keep production secrets in the deployment platform or managed secrets store.
- Distinctive: line 69
Use different keys for development, staging, and production.
- Distinctive: line 77
Update local, CI, staging, and production secret stores.
- Distinctive: line 80
Search recent commits and logs for exposed values.
- Distinctive: line 81
Document the incident and prevention step.
- Distinctive: line 83
Do not paste the exposed secret into tickets, chat, commits, or documentation.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.mdwhen 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
.envfiles 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:
.env.example
.env.local
.env.development
.env.test
.env.productionRules:
- Commit
.env.examplewith variable names and safe placeholder values. - Do not commit real
.envfiles. - Add
.env*to.gitignore, except.env.exampleif 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
- Identify affected service.
- Revoke or rotate the exposed credential.
- Update local, CI, staging, and production secret stores.
- Restart dependent services.
- Verify functionality.
- Search recent commits and logs for exposed values.
- 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 |
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.
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Hassaan146/claude-skills★ 18same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- DROOdotFOO/agent-skills★ 1same name
- mahiunfiltered/claude-code-skills★ 1same name
- Arnav-0/claude-code-setup★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- ab-testingSkill
- ad-creativeSkill
- adsSkill
- ai-image-creatorSkill
- ai-seoSkill
- analyticsSkill
- asoSkill
- brand-guidelinesSkill
- brand-reviewSkill
- brand-storytellingSkill
- business-strategySkill
- campaign-brief-generatorSkill
- churn-preventionSkill
- cold-emailSkill
- co-marketingSkill
- community-marketingSkill
- competitive-teardownSkill
- competitor-profilingSkill
- competitorsSkill
- content-humanizerSkill
- content-repurposingSkill
- content-strategySkill
- copy-editingSkill
- copywritingSkill
- croSkill
- customer-researchSkill
- customer-serviceSkill
- customer-story-builderSkill
- directory-submissionsSkill
- ecommerce-contentSkill
- ecommerce-product-opportunity-researcherSkill
- education-contentSkill
- email-marketingSkill
- emailsSkill
- free-toolsSkill
- imageSkill
- instagram-carouselSkill
- landing-page-croSkill
- launchSkill
- lead-magnetsSkill
- linkedin-strategySkill
- local-seoSkill
- marketing-ideasSkill
- marketing-osSkill
- marketing-psychologySkill
- market-researchSkill
- onboardingSkill
- paid-ads-opsSkill
- paywallsSkill
- podcast-pipelineSkill
- popupsSkill
- pr-communicationsSkill
- pricingSkill
- product-marketingSkill
- programmatic-seoSkill
- prospectingSkill
- prospect-researchSkill
- referralsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

