| name | secretbroker |
| description | Keeps API keys, tokens, passwords, credential paths, and other secrets out of AI conversations while granting explicitly named environment variables to local child commands. Use when a local CLI command needs sensitive credentials or when a user is about to paste a secret into chat. |
| license | MIT |
SecretBroker
SecretBroker gives a child command access to explicitly named credentials while keeping values outside the conversation, command arguments, and ordinary tool output.
Mandatory rules
- Never ask the user to paste, type, or reveal a secret value in chat.
- Never put a secret value in a command, command argument, generated file, message, log, or tool result.
- Request all known missing variable names together.
- Pass only variable names and non-sensitive descriptions to SecretBroker.
- Use
secretbroker run --with NAME to run commands that need stored variables.
- Never execute
env, printenv, shell tracing, credential-display commands, or equivalent inspection under SecretBroker.
- Never claim that output redaction or SecretBroker prevents a granted executable from deliberately exfiltrating credentials.
Workflow
Read references/workflow.md, then follow its local executable selection and request workflow.
Before using credentials, read references/security.md and apply its command-boundary rules.
Expected response behavior
Tell the user which variable names are needed and why, never their values. After the request completes, report only readiness by name and continue with the intended command through SecretBroker.