From secret-box
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
10 events · 17 calls
Ships in secret-box. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.writefs.existsfs.readenv.getprompt.submitprompt.contextprompt.attachmentEach event it registers a hook on, with the matcher when it sets one
session.startsession.attachtool.call{tool=Bash}tool.call{tool=/"^(Bash|Read|Grep|Edit|MultiEdit|NotebookEdit)$"/}prompt.mention{path=/"(^|[\\\\/])\\.env(\\.[\\w.-]+)?$"/}tool.call{tool=mcp__secret-box__request_secret}ui.render{component=Pane}ui.render{component=AbovePrompt}ui.closeprompt.submittool.callprompt.contextprompt.attachmentprompt.mentionagent.spawnEvery mods API method its source calls, by namespace
nowgetexistsreadwriteruncwdrootsurfacesregistercloseinvalidatelognoticeopenresolvetoastOSWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.jsx (written ./register.jsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub rajesh-kumar-r/rajesh-claude-mods --plugin secret-box