managing-secrets

managing-secrets is a skill for Claude Code from ancoleman/ai-design-components. It costs 50 tokens per session (2,789 once invoked), scanned A, original, MIT.

Guidance for storing, rotating, delivering, and checking sensitive values such as API keys, database passwords, and certificates. It covers Vault, cloud secret stores, and Kubernetes.

In plain words
What is it for?
Use it to choose a secret store, rotate credentials, connect external secrets to Kubernetes, create temporary credentials, and scan code for leaked secrets.
Why use it?
It helps keep credentials out of source code and manage them safely as applications and infrastructure change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the data-engineering-skills plugin — 6 skills shipped together

Good fit Use it to choose a secret store, rotate credentials, connect external secrets to Kubernetes, create temporary credentials, and scan code for leaked secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancoleman/ai-design-components/secret-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ancoleman/ai-design-components --skill secret-management
Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components

Made for: Claude Code.

Or install data-engineering-skills, the plugin that ships this one along with the rest of its 6 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/secret-management/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/secret-management)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/secret-management"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/secret-management/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 managing-secrets

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/secret-management"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/secret-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,789 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00050 $0.02789
Opus 5.5 $0.00020 $0.01116
Sonnet 5.5 $0.00010 $0.00558
Haiku 4.5 $0.00005 $0.00279

Measured 3mo ago against content hash 4325ff6482ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

managing-secrets scanned grade A with 0 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 3mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/dynamic-db-credentials/python-hvac.py, examples/dynamic-db-credentials/typescript-node-vault.ts, scripts/setup_vault.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/secret-management/SKILL.md · 399 lines

How it starts

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

Managing Secrets

Secure storage, rotation, and delivery of secrets (API keys, database credentials, TLS certificates) for applications and infrastructure.

When to Use This Skill

Use when:

  • Storing API keys, database credentials, or encryption keys
  • Implementing secret rotation (manual or automatic)
  • Syncing secrets from external stores to Kubernetes
  • Setting up dynamic secrets (database, cloud providers)
  • Scanning code for leaked secrets
  • Implementing zero-knowledge patterns
  • Meeting compliance requirements (SOC 2, ISO 27001, PCI DSS)

Quick Decision Frameworks

Framework 1: Choosing a Secret Store

Scenario Primary Choice Alternative
Kubernetes + Multi-Cloud Vault + ESO Cloud Secret Manager + ESO
Kubernetes + Single Cloud Cloud Secret Manager + ESO Vault + ESO
Serverless (AWS Lambda) AWS Secrets Manager AWS Parameter Store
Multi-Cloud Enterprise HashiCorp Vault Doppler (SaaS)
Small Team (<10 apps) Doppler, Infisical 1Password Secrets Automation
GitOps-Centric SOPS (git-encrypted) Sealed Secrets (K8s-only)

Decision Tree:

  • Kubernetes? → External Secrets Operator (ESO) with chosen backend
  • Single cloud? → Cloud-native (AWS/GCP/Azure)
  • Multi-cloud/on-prem? → HashiCorp Vault
  • GitOps? → SOPS or Sealed Secrets

Framework 2: Static vs. Dynamic Secrets

Secret Type Use Dynamic? TTL Solution
Database credentials YES 1 hour Vault DB engine
Cloud IAM (AWS/GCP) YES 15 min Vault cloud engine
SSH/RDP access YES 5 min Vault SSH engine
TLS certificates YES 24 hours Vault PKI / cert-manager
Third-party API keys NO Quarterly Vault KV v2 (manual rotation)

Framework 3: Kubernetes Secret Delivery

Method Use Case Rotation Restart Required
External Secrets Operator Static secrets, periodic sync Polling (1h) Yes
Secrets Store CSI Driver File-based, watch rotation inotify No
Vault Secrets Operator Vault-specific, dynamic Automatic renewal Optional

Read the full file on GitHub · 399 lines

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. 3mo ago First seen · 399 lines · 50 tokens per session scan A 4325ff6482ac

Subscribe to this mod's changes

managing-secrets is a skill published in the GitHub repository ancoleman/ai-design-components (537 stars, last pushed 11mo ago), licensed MIT. It adds 50 tokens to every session and 2,789 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

managing-secrets compared with skills from other repositories

managing-secrets next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
managing-secretsancoleman/ai-design-componentsSkill53711mo agoMITA50Claude Code
cost-optimizationrampstackco/claude-skillsSkill1.1k17d agoMITA101Claude Code
monitoring-and-alertingrampstackco/claude-skillsSkill1.1k17d agoMITA99Claude Code
launch-runbookrampstackco/claude-skillsSkill1.1k17d agoMITA127Claude Code
netlify-developmentMindrally/skillsSkill3251mo agoApache-2.0A78Claude Code
cloudflare-developmentMindrally/skillsSkill3251mo agoApache-2.0A29Claude Code
agents-v2-pylingxling/awesome-skills-cnSkill3431mo agoMITA39Claude Code