All shelves / Mods / Safety
transcript-redactor
By ray-amjad
transcript-redactor is a Claude Code safety mod by ray-amjad.
Swaps secrets and email addresses in the session for stable placeholders, and puts the real value back on the way into Bash, Write, and Edit.
Draws
Install
The marketplace name is claude-code-mods.
claude plugin marketplace add ray-amjad/claude-code-mods claude plugin install transcript-redactor@claude-code-mods
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.5.1
- License
- MIT
- Repo stars
- 70
- Last change
- 2026-10-16
What it can reach
- Draws in the session
- Sees tool calls
Tested with Claude Code 2.1.296. There is no command: once installed it works on every turn. A toast says when a key was swapped out of your prompt, and a count sits on the tool row. The author says tools that send data off the machine, WebFetch and MCP tools, are left out of the restore list on purpose. A placeholder Claude writes into a curl is sent as the real key if Bash is still in restoreTools.
The marketplace name is claude-code-mods, the same string hamzafer, arasovic, and karanb192 use. Add ray-amjad/claude-code-mods. The author says secret-box is this mod plus a way to hand Claude a new key, and to run one or the other, not both.
Demo

What it hooks into
prompt.submitWhen you send a prompttool.callAround a tool call, where it can hold oneprompt.contextA Claude Code eventprompt.attachmentA Claude Code eventprompt.mentionA Claude Code eventagent.spawnWhen a subagent starts
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, 5 files. They load when you open them.
Facts
- Author
- ray-amjad
- Category
- Safety
- Marketplace
- claude-code-mods
- Folder
- plugins/transcript-redactor
- Version
- 0.5.1
- License
- MIT
- Repo stars
- 70
- Last change
- 2026-10-16
- Language
- TypeScript
- Files
- 19