skills/sops-secret-editor/SKILL.md
Allows pi or any agent to put secrets safely via sops.
npx skillsauth add pratos/clanker-setup sops-secret-editorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When this skill is triggered, ALWAYS display this banner first:
╭─────────────────────────────────────────────────────────────╮
│ 🔐 SKILL ACTIVATED: sops-secret-editor │
├─────────────────────────────────────────────────────────────┤
│ Action: Safely write encrypted secrets via sops │
│ Output: Updated secrets file + redacted summary │
╰─────────────────────────────────────────────────────────────╯
nixpkgs/secrets/secrets.yaml)~/.config/sops/age/keys.txt)fpl/email)Confirm defaults
nixpkgs/secrets/secrets.yaml~/.config/sops/age/keys.txtValidate prerequisites
SOPS_AGE_KEY_FILE before running sops.Convert key paths to JSON indices
fpl/email → ["fpl"]["email"]aws/credentials → ["aws"]["credentials"]Apply updates (yolo mode)
nix run nixpkgs#sops -- set --value-stdin for each secret.Example (multi-secret, safe stdin + JSON encoding):
set -euo pipefail
export SOPS_AGE_KEY_FILE="$HOME/.config/sops/age/keys.txt"
secrets_file="nixpkgs/secrets/secrets.yaml"
# Repeat per secret (no echo; JSON-encode via python)
read -s FPL_EMAIL
printf '%s' "$FPL_EMAIL" | python3 - <<'PY' | nix run nixpkgs#sops -- set --value-stdin "$secrets_file" '["fpl"]["email"]'
import json, sys
print(json.dumps(sys.stdin.read()))
PY
read -s FPL_PASSWORD
printf '%s' "$FPL_PASSWORD" | python3 - <<'PY' | nix run nixpkgs#sops -- set --value-stdin "$secrets_file" '["fpl"]["password"]'
import json, sys
print(json.dumps(sys.stdin.read()))
PY
--value-stdin and JSON encoding.nixpkgs/secrets/secrets.yaml.development
Conducts comprehensive web research to find accurate, relevant information. Use when you need modern information only discoverable on the web, documentation, best practices, or technical solutions. Uses curl+markdown.new, Exa/Parallel APIs, and camoufox browser — no surf/WebFetch/WebSearch.
development
Enforces using uv to run all Python scripts and ty for type checking. Includes inline script metadata (PEP 723) for one-time scripts with dependencies.
development
Ensures .env files in TypeScript projects override sops-nix shell secrets. Use when setting up env loading, debugging missing/wrong API keys, or configuring dotenv in TS projects.
tools
Share agent session traces via the traces CLI. Use when the user asks to share/publish/upload a trace. Always use private visibility.