What is secrets?
secrets is a Claude Code mod by crockalet that hand Claude an API token without it reading the value: you type it into a field above the prompt, Claude uses it in Bash as $NAME, and it is redacted from every tool result. It is listed under Security and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | crockalet |
| Repository | crockalet/claude-mods |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Review before installing (72/100) |
| Rank | #1,735 of 5,272 Claude Code mods; #204 in Security |
| Last commit | 2026-10-12 |
| Hooks | 12 events |
| Sees | every prompt, every tool call, mcp__secrets__request_secret calls, subagent spawns |
| Draws on | AbovePrompt |
Is secrets safe to install?
secrets scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install secrets?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/crockalet/claude-mods claude plugin validate ./claude-mods/plugins/secrets
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add crockalet/claude-mods && claude plugin install secrets@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs secrets for you:
Install the "secrets" Claude Code mod from https://github.com/crockalet/claude-mods/tree/main/plugins/secrets. Run claude plugin validate on it first and show me what it can access before you enable it.
More from crockalet/claude-mods
This repository has 3 Claude Code mods on MCPMods.
- breadcrumbs: A pane beside the session that Claude talks to you through: the task, what it is doing, the notes it files, the question (High risk)
- breadcrumbs-launcher: Starts breadcrumbs' manual-test testers the moment you press Start, without going through the main agent. (High risk)