secret-management
Skill0 starsChanged 5 months agoMITView on GitHub
Store, inject, scope, and rotate secrets safely — API keys, tokens, DB credentials, signing keys. Use when adding a secret to a project, wiring secrets into an app or CI, or setting up rotation. Complements secret-scan (which detects leaked secrets).
- Reads credentials
2 other projects use a version of this.
Adopted by
Most recently taken up by
- VersoXBT/claude-initial-setuptheir own version, first seen Mar 9, 2026
- joelhooks/agent-secretstheir own version, first seen Feb 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- joelhooks/agent-secrets★ 109same name
- VersoXBT/claude-initial-setup★ 4same 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 repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agents-md-initSkill
- analytical-frameworksSkill
- appkit-accessibility-auditorSkill
- assess-security-controlsSkill
- audit-accessibilitySkill
- automated-security-reviewSkill
- changelogSkill
- check-ai-onboard-updatesSkill
- agents-sdkSkill
- cloudflare-email-serviceSkill
- cloudflare-oneSkill
- durable-objectsSkill
- sandbox-sdkSkill
- turnstile-spinSkill
- workers-best-practicesSkill
- wranglerSkill
- cobra-commandSkill
- competitive-intelSkill
- component-scaffoldSkill
- conduct-open-source-investigationSkill
- conduct-user-researchSkill
- conventional-commitSkill
- coordinate-data-viewsSkill
- core-data-expertSkill
- data-storytellingSkill
- datavizSkill
- debug-systematicallySkill
- define-brand-foundationSkill
- dependency-vuln-scanSkill
- design-and-build-websiteSkill
- design-product-contentSkill
- design-product-interfaceSkill
- develop-apple-platform-appSkill
- develop-test-firstSkill
- evolve-design-systemSkill
- gh-issueSkill
- gh-prSkill
- gh-releaseSkill
- identity-managementSkill
- input-sanitizationSkill
- manage-vulnerability-riskSkill
- map-attack-surfaceSkill
- market-researchSkill
- measure-product-experimentsSkill
- obsidianSkill
- pr-descriptionSkill
- preserve-web-evidenceSkill
- prisma-migrateSkill
- retrieve-technical-docsSkill
- secret-scanSkill
- secure-codingSkill
- security-auditSkill
- shape-product-opportunitySkill
- simplify-code-safelySkill
- swift-api-design-guidelinesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
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 17
Never in source or logs: Not in code, config committed to git, error messages, or telemetry.
- Distinctive: line 30
Prefer Secrets Store for shared/rotatable secrets across Workers.
- Very specific: line 31
Never put secrets in vars (those are plaintext config), only in secrets.
- Very specific: line 35
Run secret-scan on the repo and history.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secret management
The lifecycle side of secrets: secret-scan finds leaked ones; this is how to handle them so they don't
leak in the first place.
When to use
Adding or wiring a secret (env, app, CI/CD), choosing where secrets live, or setting up rotation.
Rules
- Never in source or logs. Not in code, config committed to git, error messages, or telemetry. If it's ever been committed, treat it as compromised — rotate.
- Store in a secret manager, inject at runtime. Local dev:
.env(gitignored). Prod: a real store (cloud KMS/Secrets Manager, Vault, GitHub Actions secrets, Cloudflarewrangler secret put/ Secrets Store). App reads from the environment/binding, never from a file in the repo. - Least privilege + short lifetime. Scope each secret to exactly what needs it; prefer short-lived, auto-rotated credentials (OIDC federation, workload identity) over long-lived static keys.
- One secret, one purpose, one consumer where practical — so rotation and revocation are surgical.
- Rotate on a schedule and on exposure. Have a rotation runbook before you need it; test it.
On Cloudflare
- Workers secrets:
wrangler secret put <NAME>(encrypted, not inwrangler.toml); read via the env binding. - Prefer Secrets Store for shared/rotatable secrets across Workers.
- Never put secrets in
vars(those are plaintext config), only in secrets.
Verify
Run secret-scan on the repo and history; confirm no secret is committed and each has a rotation owner.
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.

