/solo:solo-secrets [scan <path> | set <name> | migrate <file> <key> <name> | due]from solo
Stores API keys, tokens, and passwords in the OS keystore (macOS Keychain, Linux libsecret) instead of plaintext files, configs, or chat logs. Scans for leaked credentials, tracks rotation schedules, and migrates existing .env values into the keystore.
Ships in solo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One CLI, scripts/secret (stdlib Python 3.10+, no install), and one registry of
metadata only. Values live in the OS keystore; everything a human or an agent sees
is masked to the first 4 characters and the length: cfut…(45).
S=${CLAUDE_PLUGIN_ROOT:-.}/skills/secrets/scripts/secret # or copy the path; alias it
secret leak <name> --where "<where>" and tell the user to rotate it now.
Claude Code writes prompts to ~/.claude/projects/*/*.jsonl; a blocked prompt is
still echoed there.pbpaste | secret set example-api-token --class api-scoped --used-in "<tool>"
(or run secret set <name> for a hidden prompt). Shell history and ps both see argv.secret migrate prints the snippet), then blank
the plaintext. Keep the old value until the new one works; never delete the only copy.secret rotate <name> shows where to issue a new
value, stores it, and resets the clock. Revoke the old value at the provider.| Command | Does |
|---|---|
secret set <name> [--class C --scope S --used-in P --rotate-url U --note T] | value from stdin or a hidden prompt → keystore; metadata → registry |
secret add <name> [same flags] | metadata only: an item already in the keystore, or one tracked for rotation |
secret get <name> | value to stdout, for piping: TOKEN="$(secret get x)" |
secret exec A=ENV [B=ENV2] -- cmd | runs one command with the values in its environment, nothing exported |
secret list | metadata + whether the keystore holds the item |
secret due | overdue / due in 30 days; exit 1 when overdue |
secret rotate <name> [--revoked] | guided rotation; --revoked = old value killed, no replacement |
secret leak <name> --where W | class → leaked, due today |
secret scan [paths] [--json] [--min high] [--gh] | plaintext secrets, masked; --gh asks GitHub if a remote is PUBLIC |
secret migrate <file> <key> <name> [--remove] | a.b.c in YAML or KEY in env/toml/ini → keystore, read back, then (optionally) blanked |
secret check [paths] | one counted line for a recurring health check; exit 1 on critical/high/overdue |
Registry: $SECRETS_REGISTRY, default ~/.config/secrets/registry.json. It holds no
values, so it can be committed to a private repo. Its scan block takes paths
(default scan roots), exclude (globs) and owners (remote substrings that are yours;
a tracked hit in a clone of someone else's repo is reported low).
| Class | Rotate every | For |
|---|---|---|
prod-admin | 90 days | account-wide or write access to production: cloud admin, DNS, payments, DB owner |
api-scoped | 180 days | a token limited to one API and one project (the default) |
personal-low | 365 days | read-only or low-blast-radius personal tokens |
leaked | now | anything seen in a chat, log, screenshot, commit or public place |
Rules that do not bend:
.p8, .pem, service-account JSON): keep them in
~/.secrets/ with chmod 600 (directory 700), outside every repo, and register
them with secret add <name> --note "file: ~/.secrets/…". If a tool can take the
content instead of a path, store it base64: base64 < key.p8 | secret set example-p8-key
and decode at use: secret get example-p8-key | base64 -d.secret scan walks the paths (skipping node_modules, venvs, build output, lockfiles,
files over 1 MB) and reports three kinds of evidence:
sk-, sk-ant-, ghp_, github_pat_, glpat-, xox?-,
AKIA, AIza, cfut_, hf_, npm_, whsec_, Telegram bot tokens, JWTs, private key
blocks, DSN passwords. Counted anywhere, docs and tests included.*_TOKEN, api_key, clientSecret…)
with a value that is not a reference (${X}, os.environ, config.x), a placeholder,
a URL, a path or an identifier, and has the entropy of a key. In code files only quoted
literals count; in tests, docs, examples and translations only long high-entropy ones.AuthKey_*.p8, *.pem, *.p12, service-account JSON,
*token*.txt.Severity is about where it sits, not what it is: critical = tracked in git (strong
rule, or any rule in a PUBLIC repo); high = untracked but not gitignored, one git add -A
from a commit; medium = gitignored or outside git, plaintext still to move; low = a
Supabase anon JWT (public by design) or a third-party clone. A bare hash or UUID is never
flagged on its own. A line can opt out with secret-scan: ignore.
A tracked secret is not fixed by deleting the file. It is in history and in every
clone: rotate first, then decide whether to rewrite history (git filter-repo) — that is
the owner's call, it breaks every clone and fork.
The CLI picks the backend: macOS security (Keychain, generic password,
service=<name>, account=$USER), else Linux secret-tool (libsecret, needs a running
Secret Service such as GNOME Keyring). For 1Password, store with
op item create --category "API Credential" --title example-api-token and read with
op read "op://Private/example-api-token/credential"; op run --env-file is the
equivalent of secret exec. Keep the registry either way: rotation dates are the part no
keystore tracks for you.
security add-generic-password -w <value> puts the value in argv. The CLI writes
through security -i on stdin with a hex value instead.security find-generic-password -w prints hex for values with non-printable bytes;
store binary as base64..env is still plaintext on disk and in every backup; it is medium, not fine.secret list (masked).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
71 skills in this plugin
/solo-android-releaseShip an Android app to testers or to Google Play, or push an update to an app already listed there. Use when the user says "make the Android app available to testers", "internal/open testing link", "publish to Play", "release the APK/AAB", "Play Console", "upload a new version", wants install attribution set up (Play referrer UTMs, Install Referrer API, an in-app counter and the matching Data safety form), or hits a Play policy deadline ("app doesn't meet target API level requirements"). Leads with the MINIMAL tester-link workflow (fastest), then the FULL production listing, then UPDATE for an existing app. Carries the exact Play Console browser steps, signing/keystore setup, the testing-track comparison, required assets, and the gotchas (lintVitalRelease crash, 16 KB alignment, target API deadline) so you don't re-learn them./solo-apple-app-iconBuild an iOS 26+ layered app icon (.icon / Icon Composer) from a designer's SVG, generated by script rather than drawn by hand, and check every appearance without launching the app. Use when the user says "иконка приложения", "сделай иконку", "app icon", "Icon Composer", "layered icon", "иконка не как в фигме", "тёмная иконка выглядит плохо", or when an app still ships a folder of flattened PNGs. Do NOT use for in-app icons and SF Symbols (that is symbol work), or for the App Store screenshot set./solo-auditUse when "audit KB", "check frontmatter", "find broken links", "tag cleanup", "knowledge base quality", or docs need health check. Do NOT use for SEO audits (/seo-audit) or code reviews (/review)./solo-boardParticipate on Get Posting Board (getpostingboard.dev), the API-only bulletin board where agents exchange findings. Use when the user says "иди на борду", "board", "getpostingboard", "пообщайся с агентами", "выложи находку", "спроси на доске", asks to set up a recurring board loop, or asks how to post there. Also covers coordinating several sessions of one operator on the board. Do NOT use for social media or Reddit (/reddit) or for GitHub outreach (/github-outreach)./solo-buildUse when "build it", "start building", "execute plan", "implement tasks", "ship it", track ID referenced, or plan tasks need execution. Do NOT use for planning (/plan) or scaffolding (/scaffold)./solo-call-enStart live transcription and a rolling agent summary for a phone call in English in seconds, without editing config. Use when user says "звонок по-английски, включи английский", "call-en", "english call", or a call in English is about to start. Do NOT use for a room or conference in English (use /supervox) or for transcribing a finished recording (use /transcribe).npx claudepluginhub fortunto2/solo-factory --plugin soloOther plugins' skills for the same job