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.

Updated 2026-10-12

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.

TypeClaude code mod
Authorcrockalet
Repositorycrockalet/claude-mods
Popularity1 GitHub stars
CategorySecurity
SecurityReview before installing (72/100)
Rank#1,735 of 5,272 Claude Code mods; #204 in Security
Last commit2026-10-12
Hooks12 events
Seesevery prompt, every tool call, mcp__secrets__request_secret calls, subagent spawns
Draws onAbovePrompt

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.process.runruns processes
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install secrets?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)