secrets

secrets is a skill for Claude Code, Codex from get-bb/bb. It costs 22 tokens per session (387 once invoked), scanned A, original, MIT.

Instructions for requesting credentials such as API keys and passwords through bb secret, then writing them to a dotenv file without showing their values to the agent.

In plain words
What is it for?
Use them when a task needs credentials for an API, database, webhook, or other service.
Why use it?
They reduce the risk of exposing secrets in chat, commands, logs, or source files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when a task needs credentials for an API, database, webhook, or other service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-bb/bb/secrets
About the project

bb is an agentic IDE that lets users control, customize, and automate a software-development environment through a desktop app, web app, command-line interface, or HTTP API. Developers use it to run work in observable threads that can be steered or handed off to other agents. Its catalogue add-ons provide skills and instructions for working with bb.

get-bb/bb · 6,228 stars · on GitHub · getbb.app

Install

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.

Any agent
npx skills add get-bb/bb --skill secrets
Clone the repo
git clone --depth 1 https://github.com/get-bb/bb

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for secrets

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-bb/bb/secrets/github.svg)](https://agentmods.dev/skills/get-bb/bb/secrets)
Your own site
<a href="https://agentmods.dev/skills/get-bb/bb/secrets"><img src="https://agentmods.dev/badge/skills/get-bb/bb/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.

agentmods 80×15 button for secrets

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-bb/bb/secrets"><img src="https://agentmods.dev/badge/skills/get-bb/bb/secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 17
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Excessive Agency · line 8
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 24
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00387
Opus 5.5 $0.00009 $0.00155
Sonnet 5.5 $0.00004 $0.00077
Haiku 4.5 $0.00002 $0.00039

Measured 1mo ago against content hash 368f2f912d17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo ago.

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.

plugins/secrets/skills/secrets/SKILL.md · 28 lines

What it actually says

Request secrets securely

Use bb secret request when the user needs to supply a credential. Do not ask the user to paste a secret into chat.

Batch every currently known variable into one request. Inspect documentation or .env.example to identify variable names, but do not read or print an existing secret-bearing env file.

bb secret request OPENAI_API_KEY RESEND_API_KEY \
  --purpose "Configure application credentials" \
  --describe OPENAI_API_KEY "OpenAI API key used by the server" \
  --describe RESEND_API_KEY "Resend API key used for transactional email" \
  --write-env .env.local

Always provide the exact --write-env destination, a concise purpose, and one short plain-language description per variable. Relative destinations resolve from the CLI working directory; absolute destinations may point anywhere on the thread's host. Never place secret values in argv, prompts, comments, logs, or follow-up messages.

The command blocks until the user submits or cancels the form. Secret values never appear in command arguments, model-visible output, or persisted interaction data. After success, trust the command's path, variable names, and added/updated/unchanged counts. Never verify by running cat, sed, env, or another command that would reveal the completed file.

If the command reports duplicate dotenv assignments, fix the file structure without reading values and rerun the request. If it reports repeated write conflicts, rerun the same request; do not ask the user to paste values. Under the workspace sandbox (Accept Edits / Approve for me), Claude's macOS sandbox permits the loopback access plugin CLI commands need; Linux and other provider sandboxes may still require escalation approval.

Changes

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.

  1. 1mo ago Changed · +3 lines 368f2f912d17
  2. 2mo ago Changed · -26 tokens per session beb7dac2b21c
  3. 3mo ago First seen · 25 lines · 48 tokens per session scan A d7e989101069

Subscribe to this mod's changes

secrets is a skill published in the GitHub repository get-bb/bb (6,228 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 387 once invoked, about $0.0001 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-08-30.

Related

secrets compared with skills from other repositories

secrets next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
secretsget-bb/bbSkill6.2ktodayMITA22Claude Code, Codex
using-grovebearlike/GroveSkill913d agoMITA92Claude Code
working-in-grovebearlike/GroveSkill913d agoMITA100Claude Code
collaborating-on-diagramsbearlike/GroveSkill913d agoMITA68Claude Code
mocking-up-in-grovebearlike/GroveSkill913d agoMITA90Claude Code
leading-in-grovebearlike/GroveSkill913d agoMITA182Claude Code
configuring-grovebearlike/GroveSkill913d agoMITB92Claude Code