ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add bengous/claude-code-plugins
/plugin install secret-pane@bengous-plugins
Open the repo

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.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • tool.callAround a tool call, where it can hold onemcp__secret-pane__request_secretWriteEditNotebookEditBashReadMonitorGetTaskLSP
  • ui.renderDraws into the sessionPaneAbovePrompt
  • ui.closeWhen its pane closes
  • tool.checkA Claude Code eventBash
  • session.appendWhen an entry is written to the transcript
  • prompt.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
Repo
bengous/claude-code-plugins
Folder
secret-pane
Version
0.3.0
License
MIT
Repo stars
6
Last change
2026-10-15
Language
TypeScript
Files
11

Same repo on other shelves

Marketplaces

  1. 1219bengous/claude-code-pluginsbengous/claude-code-plugins6

Other mods in Safety

ultramodmertkayacsHolds a commandPacks ten mods: limits and context above the prompt, a guard with undo for rm -rf and git reset --hard, .env reads refused, and a receipt under each answer.envdavekissHolds a commandOpens a card when Claude needs a key, so you paste the value into a pane Claude can't read, and holds Claude's reads of .env files and commands that print them.model-allowlisterikdarlingdataHolds a commandRefuses a subagent spawn that pins a model id instead of a tier alias such as opus or sonnet, and holds spawns to model rules you write per agent type.ruflo-browserruvnetHolds a commandRefuses ruflo browser opens of file, javascript, data, or chrome URLs, credentialed or cloud-metadata hosts, unsafe Chrome flags, and cookie-reading scripts.ruflo-intelligenceruvnetHolds a commandRefuses a key, token, or password in what ruflo learns from, an email address in a public transfer, and a reset of ruflo's intelligence without confirm.ruflo-jujutsuruvnetHolds a commandRefuses a pull request ruflo creates or reviews when its title or body holds a key, token, or password, and a merge or close that does not carry confirm.ruflo-neural-traderruvnetHolds a commandRefuses a live order from ruflo's neural-trader tools unless it is confirmed, paper, or a dry run, and any trader call or memory write that holds a broker key.ruflo-loop-workersruvnetHolds a commandRefuses a ruflo background worker dispatch whose context holds a key, token, or password, and any dispatch past a per-session cap, which catches a stuck loop.ruflo-workflowsruvnetHolds a commandRefuses a ruflo workflow definition, run, or workflow memory record that holds a secret, and a workflow_delete that names no single workflow id.ruflo-federationruvnetHolds a commandRefuses ruflo federation publishes and syncs to other machines that hold a key, token, or password, or personal data such as an SSN or a card number.ruflo-agentruvnetHolds a commandRefuses text sent into a ruflo agent runtime, a local WASM sandbox or Anthropic's managed cloud agents, when it holds a key, token, or password.ruflo-agentdbruvnetHolds a commandRefuses a write to ruflo's agent memory, or a memory import, that holds a private key, token, or key-like value, and can add the best memories to each prompt.
All 73 in Safety