All shelves / Mods / Safety
secret-pane
By bengous
secret-pane is a Claude Code safety mod by bengous.
Opens a masked box beside the transcript when Claude needs a secret, gives Claude a placeholder, and puts the real value back only inside a Bash command.
DrawsHolds a command
Install
The marketplace name is bengous-plugins.
/plugin marketplace add bengous/claude-code-plugins /plugin install secret-pane@bengous-plugins
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.3.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-15
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
- Calls another program on this machine
Ask for something that needs a secret, or say use secret-pane to ask me for the name. Paste the value into the box, which draws dots and a character count; Enter keeps it, and a value under 8 characters is not kept. Esc cancels. On a terminal narrower than 144 columns the box draws in the band above the prompt: press ctrl+x then tab to type in it. Only Bash gets the real value; Write, Edit, and NotebookEdit refuse a placeholder of this session. The vault is memory only, so a reload, a new session, or /clear forgets every value. One secret at a time. claude -p, and a session drawn on a phone alone, have no box. The author says it keeps a value out of the transcript by accident and is no sandbox against a model trying to leak one.
The marketplace, bengous-plugins, holds Augustin Bengolea's 25 plugins, todos, pinpoint, and agent-hooks among them. This one installs on its own. Keeping secrets out of the transcript is why this page files it under safety. transcript-redactor swaps secrets in the session for stable placeholders and puts the real value back on the way into Bash, Write, and Edit. secret-guard hides API keys before the model sees them and blocks commands that print secrets. This one asks you for the value in its own box, so it never reaches the conversation, and hides it again in whatever a command prints. While a value is kept, a command that may commit or publish is checked first: git outside the local subcommands, or gh other than gh secret. Where the permission dialog would ask, the mod asks instead, since the dialog would show the value.
Demo
![The Use section of the secret-pane README: Claude asks for a secret by name, you paste it into a box that draws dots and a count, Enter keeps it, and Claude writes a placeholder such as [secret-pane:PARENT_REPO_PAT:3f9a1c2e] in its Bash commands where the value goes.](/thumbs/secret-pane-shot-1600.4e102ab8c3.webp)
What it hooks into
session.startWhen a session startssession.endWhen a session endstool.callAround a tool call, where it can hold onemcp__secret-pane__request_secretWriteEditNotebookEditBashReadMonitorGetTaskLSPui.renderDraws into the sessionPaneAbovePromptui.closeWhen its pane closestool.checkA Claude Code eventBashsession.appendWhen an entry is written to the transcriptprompt.submitWhen you send a prompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 7 files. They load when you open them.
Facts
- Author
- bengous
- Category
- Safety
- Marketplace
- bengous-plugins
- Folder
- secret-pane
- Version
- 0.3.0
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-15
- Language
- TypeScript
- Files
- 11