using-sops — Claude Code skill: what it does, how to install
Guides agents to handle encrypted environment files with age identities via the pnpm secrets wrapper.
npx skills add jssblck/agents --skill using-sops -a claude-codeWhat using-sops does
This skill teaches coding agents how to work with repositories that store encrypted dotenv files under secrets/dev.env and secrets/prod.env. Direct calls to sops are forbidden. The agent works exclusively through the repo wrapper script tools/secrets.ts to prevent credentials from leaking into chat context or output streams.
Local development secrets are managed automatically without bothering the user. When an authorized task needs production credentials, the agent handles elevation independently by pulling the required identity from the 1Password CLI (op read). Without .sops.yaml and the pnpm secrets script present in the project, the workflow fails immediately.
What it helps with
- read or edit environment values in
secrets/dev.env - run application scripts with decrypted values via
pnpm secrets exec - elevate production credentials using the 1Password CLI
- keep environment schemas in sync across encrypted environment targets
Example prompts for the agent
- Show all decrypted development secrets with pnpm secrets.
- Update STRIPE_KEY in dev.env and launch the app via pnpm secrets exec.
- Verify production credentials access and elevate via 1Password if required.
How to install using-sops
1Skills CLI (Vercel)
npx skills add jssblck/agents --skill using-sops -a claude-code2Manually: put the files in place
~/.claude/skills/using-sops/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/using-sops/
1Skills CLI (Vercel)
npx skills add jssblck/agents --skill using-sops -a codex2Manually: put the files in place
.agents/skills/using-sops/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jssblck/agents --skill using-sops -a cursor2Manually: put the files in place
.cursor/skills/using-sops/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jssblck/agents using-sops2Manually: put the files in place
.github/skills/using-sops/SKILL.md1Skills CLI (Vercel)
npx skills add jssblck/agents --skill using-sops -a gemini-cli2Platform CLI
gemini skills install https://github.com/jssblck/agents --path skills/using-sopsManually: put the files in place
.devin/skills/using-sops/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jssblck/agents --skill using-sops -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about using-sops
How to install using-sops in Claude Code?
Run npx skills add jssblck/agents --skill using-sops -a claude-code in your terminal.
What does using-sops do?
It provides strict procedures for managing age-encrypted environment files without printing private keys into git history or command logs.
Can the agent run sops directly?
Direct execution of sops is strictly prohibited by the rules. The agent must interact solely through the pnpm secrets CLI wrapper.