secrets-management

secrets-management is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 39 tokens per session (1,242 once invoked), scanned A, original, MIT.

Practices for storing, delivering, rotating, and checking credentials such as passwords, API keys, and certificates.

In plain words
What is it for?
It helps set up secret stores, inject credentials at runtime, rotate database keys, detect leaks, and handle exposed secrets.
Why use it?
It keeps secrets out of source code, logs, and version history, and provides a response when one is exposed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps set up secret stores, inject credentials at runtime, rotate database keys, detect leaks, and handle exposed secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/secrets-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 nimadorostkar/Claude-Skills-collection --skill secrets-management
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/secrets-management"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/secrets-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01242
Opus 5 $0.00019 $0.00621
Sonnet 5 $0.00008 $0.00248
Haiku 4.5 $0.00004 $0.00124

Measured 9d ago against content hash 6110f3416b42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

secrets-management 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 9d ago.

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/security/secrets-management/SKILL.md · 121 lines

How it starts

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

Secrets Management

Purpose

Keep credentials out of code, out of logs, and out of git history — and be able to rotate them quickly when, inevitably, one leaks.

When to Use

  • Setting up secret storage for an application.
  • A secret has been committed or exposed.
  • Implementing rotation.
  • Auditing a repository or a running system for exposed credentials.

Capabilities

  • Secret storage: cloud secret managers, Vault, sealed secrets.
  • Injection: environment, mounted files, SDK-based retrieval.
  • Rotation, including zero-downtime rotation of database credentials.
  • Leak detection in code, history, logs, and error reports.
  • Incident response for an exposed secret.

Inputs

  • The secrets an application needs, and their blast radius if leaked.
  • The runtime and how it can receive them.
  • The rotation capability of each upstream provider.

Outputs

  • No secrets in the repository, the image, or the logs.
  • Secrets injected at runtime from a managed store.
  • A rotation procedure that has been tested.

Workflow

  1. Eliminate static credentials first — Prefer workload identity: IAM roles, OIDC federation, managed identities. A secret that does not exist cannot leak. This is the single most effective change available.
  2. Store what remains in a secret manager — Never in code, never in a config file in the repository, never in a container image layer.
  3. Inject at runtime — Mounted file or environment variable, fetched from the manager at start. The application never contains the value.
  4. Redact in logs — Structured logging with a redaction filter on known secret field names, and never logging the full request body of an auth endpoint.
  5. Scan continuously — A pre-commit hook and a CI scan on the full history. Detection after the fact is far better than not detecting it.
  6. Rotate on a schedule and on exposure — And test the rotation before you need it in an emergency.

Best Practices

  • A secret committed to git is compromised the moment it is pushed, regardless of whether the repository is private, whether it was force-pushed away, or whether anyone noticed. Rotate it. Deleting the commit is not a remediation.
  • Environment variables are visible in /proc, in crash dumps, in some error reporters, and to any process running as the same user. A mounted file with restricted permissions is stronger.
  • Rotation must be zero-downtime: support two valid credentials simultaneously (issue the new one, deploy, revoke the old one). A rotation that requires an outage will not be done.
  • Never pass a secret as a command-line argument. It is visible in ps to every user on the host.
  • Do not build a secret into a container image, even in a "private" registry. Image layers are extractable with docker history and are cached in many places.
  • Short-lived, dynamically generated credentials (Vault's database secrets engine, IAM database authentication) make rotation continuous and leak impact minimal.

Read the full file on GitHub · 121 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. 9d ago First seen · 121 lines · 39 tokens per session scan A 6110f3416b42

Subscribe to this mod's changes

secrets-management is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 25d ago), licensed MIT. It adds 39 tokens to every session and 1,242 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

offensive-container-escape

Container escape and breakout techniques targeting Docker, containerd, and Podman runtimes. Covers privileged container breakout via host filesystem mount and nsenter, Docker socket abuse through /var/run/docker.sock, Linux capability exploitation including CAPSYSADMIN, CAPSYSPTRACE, and CAPNETADMIN, cgroup v1…

SnailSploit/Claude-Red · 196 tokens

offensive-cloud

Cloud security attack methodology covering AWS, Azure, and GCP. Includes credential harvesting (IMDS, /.aws, env vars, leaked CI secrets, instance roles), enumeration with cloud-specific tools (pacu, ScoutSuite, Prowler, ROADtools, gcpenum), privilege escalation paths (IAM PassRole, AssumeRole chains, Lambda/Functions…

SnailSploit/Claude-Red · 238 tokens

coolify-operator

Master Coolify operator for self-hosted deployment platform. Use when the user mentions 'coolify', 'deploy on coolify', 'list/restart/redeploy applications', 'view coolify logs', 'coolify API/CLI', 'manage coolify servers/databases/apps', or 'coolify context'. Automates deployments and management via REST API or…

fabricioctelles/skills · 79 tokens

pier-cloud

This skill should be used when the user needs to consume the Pier Cloud (Lighthouse) API for cloud cost management — including JWT authentication, listing contexts, workspaces, and FinOps data views. Trigger whenever there is a need to integrate, automate, or debug calls to the Pier Cloud platform via Python, Node.js…

fabricioctelles/skills · 72 tokens

datarobot-workload-api

Use when the user wants to create, configure, scale, debug, observe, or roll out container workloads on DataRobot's Workload API. Triggers include: deploying a container as a managed service, listing/starting/stopping workloads, changing replica counts or autoscaling, picking CPU/GPU compute bundles, injecting…

datarobot-oss/datarobot-agent-skills · 152 tokens

neo-azure-pipelines

Use this skill when the user asks to create, review, debug, or modernize Azure Pipelines YAML for CI/CD, especially .NET builds, Azure App Service deploys, or IIS/on-premises deploys. Prefer bundled templates and verify task syntax against Microsoft docs when version-specific accuracy matters.

Benknightdark/neo-skills · 66 tokens