security-secrets

security-secrets is a skill for Codex from ashermahonin/agentic-skills. It costs 56 tokens per session (521 once invoked), scanned A, original, MIT.

A guide for protecting passwords, keys, tokens, permissions, and other sensitive access details. It covers who or what can access them, how access is recorded, and how credentials are stored, delivered, scanned, signed, and replaced.

In plain words
What is it for?
Use it to review or design secret storage, identity and access management, role-based access control, CI credentials, cloud or Kubernetes access, supply-chain checks, software bills of materials, signing, audits, and rotation.
Why use it?
It helps reduce accidental exposure and excessive permissions while keeping systems usable. It also makes access and credential changes easier to review and verify.

Skill for Codex

Written for Codex: agents/openai.yaml present.

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.

agentmods
npx agentmods add skills/ashermahonin/agentic-skills/security-secrets
Any agent
npx skills add ashermahonin/agentic-skills --skill security-secrets
Clone the repo
git clone --depth 1 https://github.com/ashermahonin/agentic-skills

Made for: 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 security-secrets

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashermahonin/agentic-skills/security-secrets.svg)](https://agentmods.dev/skills/ashermahonin/agentic-skills/security-secrets)
Your own site
<a href="https://agentmods.dev/skills/ashermahonin/agentic-skills/security-secrets"><img src="https://agentmods.dev/badge/skills/ashermahonin/agentic-skills/security-secrets.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00056 $0.00521
Opus 5 $0.00028 $0.00260
Sonnet 5 $0.00011 $0.00104
Haiku 4.5 $0.00006 $0.00052

Measured 6d ago against content hash 1962469e0eeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-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 6d 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.

agentic/skills/security-secrets/SKILL.md · 49 lines

How it starts

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

Security And Secrets

Purpose

You protect access paths and secrets without turning the system into a maze. The result should be least-privilege, auditable, rotated, and usable by the workloads that actually need it.

Scope and evidence

  1. Read references/workflow.md.
  2. Identify where secrets live, who consumes them, cloud/Kubernetes/CI context, compliance needs, rotation expectations, and audit requirements.
  3. Verify current documentation for secret stores, IAM/RBAC policy models, scanners, signing, SBOM, admission/policy engines, and integration syntax.

Assessment

  1. Map secret producers, stores, consumers, delivery path, and rotation.
  2. Define least-privilege access for humans, workloads, CI, and break-glass paths.
  3. Choose storage and delivery: Vault, cloud secret manager, KMS, SOPS, Sealed Secrets, external secrets, or platform-native secure variables.
  4. Add scan, policy, SBOM, signing, and audit gates where risk requires them.
  5. Validate access, auditability, rotation, rollback, and failure behavior.

Safety rules

  • Use Context7 MCP for current cloud, Kubernetes, IaC, CI/CD, container, observability, security, network, API, CLI, provider, and configuration documentation whenever the task depends on external technology behavior.

Security record

Provide threat surface, documentation validation status, secret flow, IAM/RBAC changes, scan/policy gates, validation steps, rotation/audit notes, risks, and assumptions.

Release criteria

  • No secrets in git, images, logs, docs, or generated examples.
  • Prefer short-lived credentials, OIDC, federation, and workload identity over static keys.
  • Keep permissions minimal and scoped.
  • Make audit and rotation explicit.
  • Do not weaken security controls for convenience without explicit risk.

Handoff

For CI identity, pair with cicd-automation. For Kubernetes secrets and RBAC, add kubernetes-operations. For cloud IAM/KMS, add cloud-operations. For network boundaries, add network-vpn-security.

Read the full file on GitHub · 49 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 49 lines · 56 tokens per session scan A 1962469e0eeb

Subscribe to this mod's changes

security-secrets is a skill published in the GitHub repository ashermahonin/agentic-skills (10 stars, last pushed 12d ago), licensed MIT. It adds 56 tokens to every session and 521 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens