{"id":"75b2cd3c-ef23-4ff5-843f-2584603c0ecf","shortId":"nmAezn","kind":"skill","title":"secrets","tagline":"Fetch credentials and API keys. Use when a skill needs an API token, password, or other secret.","description":"All secrets are stored in the macOS Keychain under service `chezmoi`. The account name matches the secret name declared in `$(chezmoi source-path)/.chezmoidata/local.yaml` under the `secrets` key — these are lowercase (e.g. `slack_user_token`), not the uppercase env var convention a skill body might use (e.g. `$SLACK_USER_TOKEN`).\n\nThis works non-interactively from any agent context (including remote sessions) — no Touch ID, no biometric prompts.\n\n## Fetch a secret\n\n```bash\nMY_TOKEN=$(security find-generic-password -s \"chezmoi\" -a \"<secret-name>\" -w)\n```\n\nIf the command fails with `The specified item could not be found in the keychain`, the secret hasn't been populated yet. Tell the user: \"The Keychain entry for `<secret-name>` is missing. Please add it via `security add-generic-password -U -s chezmoi -a <secret-name> -w <value>` and let me know when done.\"\n\n## Adding a new secret\n\n1. Add an entry to `$(chezmoi source-path)/.chezmoidata/local.yaml` under `secrets` (the entry can be empty: `my_secret: {}`).\n2. Add the value to Keychain:\n   ```bash\n   security add-generic-password -U -s \"chezmoi\" -a \"<name>\" -w \"<value>\"\n   ```\n3. Verify the fetch works:\n   ```bash\n   security find-generic-password -s \"chezmoi\" -a \"<name>\" -w\n   ```","tags":["secrets","dotfiles","athal7","agent-skills"],"capabilities":["skill","source-athal7","skill-secrets","topic-agent-skills"],"categories":["dotfiles"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/athal7/dotfiles/secrets","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add athal7/dotfiles","source_repo":"https://github.com/athal7/dotfiles","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,250 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:36.105Z","embedding":null,"createdAt":"2026-05-18T13:22:31.592Z","updatedAt":"2026-05-18T19:14:36.105Z","lastSeenAt":"2026-05-18T19:14:36.105Z","tsv":"'/.chezmoidata/local.yaml':43,167 '1':158 '2':177 '3':194 'account':31 'ad':154 'add':135,140,159,178,186 'add-generic-password':139,185 'agent':77 'api':5,13 'bash':91,183,199 'biometr':86 'bodi':63 'chezmoi':29,39,100,145,163,191,206 'command':105 'context':78 'convent':60 'could':111 'credenti':3 'declar':37 'done':153 'e.g':51,66 'empti':174 'entri':130,161,171 'env':58 'fail':106 'fetch':2,88,197 'find':96,202 'find-generic-password':95,201 'found':114 'generic':97,141,187,203 'hasn':120 'id':84 'includ':79 'interact':74 'item':110 'key':6,47 'keychain':26,117,129,182 'know':151 'let':149 'lowercas':50 'maco':25 'match':33 'might':64 'miss':133 'name':32,36 'need':11 'new':156 'non':73 'non-interact':72 'password':15,98,142,188,204 'path':42,166 'pleas':134 'popul':123 'prompt':87 'remot':80 'secret':1,18,20,35,46,90,119,157,169,176 'secur':94,138,184,200 'servic':28 'session':81 'skill':10,62 'skill-secrets' 'slack':52,67 'sourc':41,165 'source-athal7' 'source-path':40,164 'specifi':109 'store':22 'tell':125 'token':14,54,69,93 'topic-agent-skills' 'touch':83 'u':143,189 'uppercas':57 'use':7,65 'user':53,68,127 'valu':180 'var':59 'verifi':195 'via':137 'w':102,147,193,208 'work':71,198 'yet':124","prices":[{"id":"c06fe12f-78f7-42db-a6fe-3f07c882ee95","listingId":"75b2cd3c-ef23-4ff5-843f-2584603c0ecf","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"athal7","category":"dotfiles","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:31.592Z"}],"sources":[{"listingId":"75b2cd3c-ef23-4ff5-843f-2584603c0ecf","source":"github","sourceId":"athal7/dotfiles/secrets","sourceUrl":"https://github.com/athal7/dotfiles/tree/main/skills/secrets","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:31.592Z","lastSeenAt":"2026-05-18T19:14:36.105Z"}],"details":{"listingId":"75b2cd3c-ef23-4ff5-843f-2584603c0ecf","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"athal7","slug":"secrets","github":{"repo":"athal7/dotfiles","stars":6,"topics":["agent-skills"],"license":null,"html_url":"https://github.com/athal7/dotfiles","pushed_at":"2026-05-18T18:53:57Z","description":null,"skill_md_sha":"f9a7a80df07cf0a9f8c9a8d4cd17595149ea82be","skill_md_path":"skills/secrets/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/athal7/dotfiles/tree/main/skills/secrets"},"layout":"multi","source":"github","category":"dotfiles","frontmatter":{"name":"secrets","license":"MIT","description":"Fetch credentials and API keys. Use when a skill needs an API token, password, or other secret."},"skills_sh_url":"https://skills.sh/athal7/dotfiles/secrets"},"updatedAt":"2026-05-18T19:14:36.105Z"}}