Add Secret — Development skill for Claude Code
Walk the user through encrypting a new (or rotated) secret into the chezmoi source.
How to install Add Secret
Installs to ~/.claude/commands/edjchapman-dotfiles-add-secret.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/edjchapman/Dotfiles/HEAD/.claude/commands/add-secret.md -o ~/.claude/commands/edjchapman-dotfiles-add-secret.md Restart Claude Code, or start a new session, for it to be picked up.
What Add Secret does
description: Walk the user through encrypting a new (or rotated) secret into the chezmoi source. argument-hint:
The user wants to add or rotate a secret at `$ARGUMENTS`.
Steps:
- Confirm the path exists in
$HOMEand is readable. If not, ask for the correct path. - Read the file just enough to confirm it looks like a secrets file (e.g.,
.zshrc.local, AWS config, an env file). Do not print its contents back to the user. If it doesn't look like
Alternatives in Development
- Implementation Plan — You are tasked with creating detailed implementation plans through an interactive, iterative process 10k ★
- JWT Scan — JWT attack toolkit (offline) — alg:none forgery, RS256→HS256 algorithm confusion, weak-secret crack, static cl 4.5k ★
- Memory Gc — Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl) 3.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Command Tour
Command tour — walk a new user through every verb
Secret
Ask the human for a secret through the local paste window
Virtual Library Guide
a guide you can give your vibe coding platform of choice (lovable, replit, claude code, etc). to walk you thro
Comment Cleanup
Walk through changed code comments and pick a writing variation for each
Sdd Onboard.Prompt
Walk through a real SDD cycle on the current codebase.
Safe Change
Walk an infra change through the staged, reversible, observe-first protocol
Related Agents
Dotfile Drift Reporter
Detect drift between the chezmoi source state and the live $HOME files. Summarize what's out of sync and propo
Test Coverage Analyst
Proactively invoked when the user asks to "generate tests", "add test coverage", "find untested code", or "aud
Scope Discoverer
Discovers functional scope from existing codebase for reverse documentation. Identifies targets through multi-