Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add adbertram/cli-tools --skill cli-tool-secretsgit clone --depth 1 https://github.com/adbertram/cli-toolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/adbertram/cli-tools/cli-tool-secrets)<a href="https://agentmods.dev/skills/adbertram/cli-tools/cli-tool-secrets"><img src="https://agentmods.dev/badge/skills/adbertram/cli-tools/cli-tool-secrets/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/adbertram/cli-tools/cli-tool-secrets"><img src="https://agentmods.dev/badge/skills/adbertram/cli-tools/cli-tool-secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.01442 |
| Opus 5.5 | $0.00041 | $0.00577 |
| Sonnet 5.5 | $0.00021 | $0.00288 |
| Haiku 4.5 | $0.00010 | $0.00144 |
Grade A, and why
cli-tool-secrets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<source_of_truth> The canonical helper is:
<cli-tools-root>/_repo/_secret-manager/secrets.sh
It is backed by the macOS Keychain service namespace cli-tools.
The default Keychain file is
~/.local/share/cli-tools/cli-tools.keychain-db, alongside the CLI-tools user
profile directories.
For full lifecycle policy, read
<cli-tools-root>/_repo/skills/cli-tool/references/secrets.md.
If the task is broader CLI creation, update, testing, or auth implementation,
also load the repo-owned cli-tool skill and follow its agent-routing rules.
</source_of_truth>
Do not use it for CourseCraft, generic project automation, non-CLI workflows, or service runtime state owned by a CLI's auth system.
<quick_start>
- Choose the CLI tool name and the secret type. The canonical naming schema is
<cli-tool>-<type>, where both parts are lowercase hyphenated strings and<cli-tool>is the CLI command name. - Check for an existing name before asking Adam for a credential:
When a missing secret is an expected diagnostic result, shape<cli-tools-root>/_repo/_secret-manager/secrets.sh list <cli-tools-root>/_repo/_secret-manager/secrets.sh has <name>hasso the non-zero status is consumed and reported explicitly:if output="$(<cli-tools-root>/_repo/_secret-manager/secrets.sh has <name> 2>&1)"; then printf 'SECRET_PRESENT:%s\n' '<name>' else rc=$? if [ "$rc" -eq 1 ]; then printf 'EXPECTED_MISSING_SECRET:%s\n' '<name>' exit 0 fi printf '%s\n' "$output" >&2 exit "$rc" fi - If the secret exists, retrieve it with
get <name>and use it without printing the value. - Ask Adam only for missing reusable credentials.
- Store new values immediately through stdin or
SECRET_VALUE, not inline in command examples or.envfiles:printf '%s' "$SECRET_VALUE" | <cli-tools-root>/_repo/_secret-manager/secrets.sh set --tool <cli-tool> --type <type> SECRET_VALUE="$SECRET_VALUE" <cli-tools-root>/_repo/_secret-manager/secrets.sh set --tool <cli-tool> --type <type> - Verify storage with
has <name>. Do not verify by echoing the secret value. </quick_start>
Remote host form:
<cli-tools-root>/_repo/_secret-manager/secrets.sh --remote-host <host> <command> [args]
For set, prefer stdin or SECRET_VALUE so the secret does not appear in shell
history. Remote set copies the value through a private temporary file on the
remote host.
Never store or document reusable credentials in repo-local .env files,
profile .env files, .env.example, source files, final answers, screenshots,
logs, or general instructions.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 140 lines · 103 tokens per session scan A eca7d1e7e321
cli-tool-secrets is a skill published in the GitHub repository adbertram/cli-tools (6 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 1,442 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.
cli-tool-secrets compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cli-tool-secretsadbertram/cli-tools | Skill | 6 | today | MIT | A | 103 | Claude Code, Codex |
| opencli-autofixjackwener/OpenCLI | Skill | 31k | yesterday | Apache-2.0 | A | 61 | Claude Code |
| surfnicobailon/surf-cli | Skill | 684 | yesterday | MIT | A | 53 | Claude Code, Codex |
| rdc-cliBANANASJIM/rdc-cli | Skill | 193 | 14d ago | MIT | A | 82 | Claude Code, Codex |
| pixiv-cli-ciFlanChanXwO/pixiv-cli | Skill | 132 | yesterday | MIT | A | 61 | Codex |
| acrawl-mcpMingye-Lu/AgenticCrawler | Skill | 15 | yesterday | MIT | A | 200 | Claude Code, Codex |
| debug-hubrexleimo/aios | Skill | 62 | yesterday | MIT | B | 66 | Claude Code, Codex |