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 $0.00025 $0.01394
Sonnet 5 $0.00010 $0.00558
Haiku 4.5 $0.00005 $0.00279

Measured 10d ago against content hash 4325ff6482ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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. 10d 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 (517 stars, last pushed 9mo ago), licensed MIT. It adds 50 tokens to every session and 2,789 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

cost-optimization

Audit and reduce infrastructure and tooling costs without sacrificing reliability or velocity. Use this skill when reviewing monthly cloud or SaaS spend, finding unused resources, rightsizing infrastructure, negotiating vendor contracts, deciding what to consolidate, or planning for budget cuts. Triggers on cost…

rampstackco/claude-skills · 101 tokens

monitoring-and-alerting

Design and run a monitoring system for a website or web app. Use this skill when setting up uptime checks, defining SLOs, configuring error tracking, choosing what to alert on, designing on-call rotations, or fixing alert fatigue. Triggers on monitoring, alerts, uptime, SLO, SLA, error rate, on-call, pager, alert…

rampstackco/claude-skills · 99 tokens

launch-runbook

Plan and execute a launch runbook covering pre-launch verification, go-live procedures, DNS cutover, post-launch monitoring, and rollback procedures. Use this skill whenever the user is preparing to launch a website or product, planning a DNS cutover, building a go-live checklist, or executing a launch day. Triggers…

rampstackco/claude-skills · 127 tokens

cloudflare-api

Hit the Cloudflare REST API directly for operations that wrangler and MCP can't handle well. Bulk DNS, custom hostnames, email routing, cache purge, WAF rules, redirect rules, zone settings, Worker routes, D1 cross-database queries, R2 bulk operations, KV bulk read/write, Vectorize queries, Queues, and fleet-wide…

jezweb/claude-skills · 141 tokens

hono-api-scaffolder

Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and APIENDPOINTS.md documentation. Use after a project is set up with cloudflare-worker-builder or vite-flare-starter, when you need to add API routes, create endpoints, or generate API…

jezweb/claude-skills · 77 tokens

cloudflare-worker-builder

Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use whenever the user wants to create a Worker project, set up Hono on Cloudflare, configure D1 / R2 / KV / Queues bindings, or troubleshoot Worker export syntax…

jezweb/claude-skills · 86 tokens