secret-box

by Ray Amjad · ★ 118 · updated 8 days ago

PanesBandsGuardsPromptTools & agentsvalidates

0

Claude can use a secret without seeing it: a masked box saves keys to .env and gives Claude a placeholder, every key a tool prints comes back as a placeholder, and committing .env is refused

install secret-box

Install

/plugin marketplace add ray-amjad/claude-code-mods
/plugin install secret-box@claude-code-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
prompt.submittool.callprompt.contextprompt.attachmentprompt.mentionagent.spawnsession.startsession.attachui.renderui.close
API calls
$.clock.now$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.session.cwd$.session.root$.session.surfaces$.tool.register$.ui.close$.ui.invalidate$.ui.log$.ui.notice$.ui.open$.ui.resolve$.ui.toast
Draws
PaneAbovePrompt
Can see
every promptevery tool callthe system promptsubagent spawnsBash calls/"^(Bash|Read|Grep|Edit|MultiEdit|NotebookEdit)$"/ callsmcp__secret-box__request_secret calls
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/ray-amjad/claude-code-mods
Path in repo
plugins/secret-box
Source commit
39e5177 the exact code the scan read
Author
Ray Amjad @ray-amjad
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from ray-amjad/claude-code-mods

cache-clock

ray-amjad/claude-code-mods

A one-line band above the prompt: context used, and a countdown until the prompt cache goes cold

★ 118BandsCommandsPrompt

decision-tree

ray-amjad/claude-code-mods

When Claude ends a reply with a question, explains the choice in a side pane and lets you explore any option, or your own, in a real forked session

★ 118PanesCommands

diagram-pane

ray-amjad/claude-code-mods

A side pane that pins every diagram Claude draws, keeps a live map of the work, and lets you go into boxes and change them

★ 118PanesGuardsCommands

dream-pass

ray-amjad/claude-code-mods

A dreaming pass over Claude's memory folder: merges duplicates, rewrites stale entries, removes dead ones and tidies MEMORY.md, with a backup and undo

★ 118PanesBandsGuards

jev-skill-suggestion

ray-amjad/claude-code-mods

Scores every skill against your prompt with TypeSafe Jev as you type; observe, block or steer skill loading

★ 118PanesBandsGuards

memory-fork

ray-amjad/claude-code-mods

After each turn Haiku decides whether memory needs a change; a tool-less fork of the session drafts it and the mod writes it, with a band and a pane showing what changed

★ 118PanesBandsGuards

prompt-bouncer

ray-amjad/claude-code-mods

Bounces vague prompts before Claude sees them, and suggests the project's own term

★ 118Status lineCommandsPrompt

transcript-redactor

ray-amjad/claude-code-mods

Keeps secrets and email addresses out of the session transcript: swaps each one for a stable placeholder on the way in, and puts the real value back on the way into a tool call

★ 118ToastsGuardsPrompt

vercel-deploy-status

ray-amjad/claude-code-mods

Pins the Vercel deploy queue of the linked project under the prompt: every deploy queued, building or just finished, with its phase and elapsed time

★ 118BandsGuards