manage-secrets

manage-secrets is a skill for Claude Code from urmzd/dotfiles. It costs 48 tokens per session (1,756 once invoked), scanned B, original, Apache-2.0.

A workflow for storing and using passwords, API keys, and other credentials through 1Password, a password manager. It keeps project files pointing to 1Password entries instead of containing the secret values.

In plain words
What is it for?
Use it to organize 1Password vaults, refer to stored credentials from environment configuration, run local commands with injected secrets, and rotate credentials.
Why use it?
It prevents credentials from being committed to source control, saved in shell history, or left in long-lived environment variables. Secrets are supplied only when a command runs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is op run --env-file=.env -- node scripts/migrate.js.

Good fit Use it to organize 1Password vaults, refer to stored credentials from environment configuration, run local commands with injected secrets, and rotate credentials.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/urmzd/dotfiles
agentmods
npx agentmods add skills/urmzd/dotfiles/manage-secrets

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/manage-secrets"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/manage-secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00048 $0.01756
Opus 5.5 $0.00019 $0.00702
Sonnet 5.5 $0.00010 $0.00351
Haiku 4.5 $0.00005 $0.00176

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

Security

Grade B, and why

manage-secrets scanned grade B with 1 finding 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.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 config.yaml
dot_agents/skills/manage-secrets/SKILL.md · 183 lines

How it starts

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

Secrets with 1Password

Philosophy

Secrets never sit in plaintext in the repo, in shell history, or in long-lived shell env. 1Password is the only source of truth. Files commit references (op://vault/item/field); resolution happens at command time, in the child process only, via op run or op inject. Scanning and leak response stay in [[audit-security]]; this skill owns the storage and injection workflow.

Prerequisites

op --version             # CLI present (installed via Brewfile: cask "1password-cli")
op whoami                # signed in; if not: `op signin` (or unlock via the 1Password desktop app)
op vault list            # confirm the target vault exists

The 1Password desktop app unlocks biometric integration and enables the op shell plugins (op plugin init aws|gh|...). For headless / CI, use a service account token instead (see CI section).

The reference format

op://<vault>/<item>/[<section>/]<field>

Examples: op://Dev/aws/access_key_id, op://Dev/snowflake/credentials/password. Vaults and items can be addressed by name or UUID; UUIDs survive renames and are preferred in committed files for projects with churn.

Store a secret

For ad-hoc storage, prefer creating a typed item over stashing things in a Secure Note (typed items get the right field names, masking, and shell-plugin support):

# API token / opaque credential
op item create --vault Dev --category "API Credential" --title myservice \
  credential="$(pbpaste)"                      # never type the value on the command line

# Login (username + password + URL)
op item create --vault Dev --category login --title github-bot \
  username=ci-bot password=- url=https://github.com    # `=-` reads value from stdin

# Add or update a field on an existing item
op item edit myservice --vault Dev "credential[concealed]=$(pbpaste)"

After creation, get the reference (do not echo the value):

op item get myservice --vault Dev --format json | jq -r '.fields[] | "\(.label) -> op://Dev/myservice/\(.id)"'

Read the full file on GitHub · 183 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 · 183 lines · 48 tokens per session scan B 8120dd1a497d

Subscribe to this mod's changes

manage-secrets is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 48 tokens to every session and 1,756 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

manage-secrets compared with skills from other repositories

manage-secrets next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manage-secretsurmzd/dotfilesSkill64d agoApache-2.0B48Claude Code
metaceptionmagic3007/dotfilesSkill115d agoMITA332Claude Code
astropymagic3007/dotfilesSkill115d agoMITA56Claude Code, Codex
benchling-integrationmagic3007/dotfilesSkill115d agoMITA50Claude Code
mcp-notion-usage-guidemagic3007/dotfilesSkill115d agoMITA174Claude Code, Codex
esmmagic3007/dotfilesSkill115d agoMITA96Claude Code, Codex
ralph-loopmagic3007/dotfilesSkill115d agoMITA63Claude Code, Codex