All shelves / Mods / Safety
display-redaction
By melodic-software
display-redaction is a Claude Code safety mod by melodic-software.
Masks email addresses and secret-shaped text in what Claude Code draws, and leaves the transcript, the model's context, and the files unchanged.
Draws
Install
The marketplace name is melodic-software.
/plugin marketplace add melodic-software/claude-code-plugins /plugin install display-redaction@melodic-software
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.1.4
- License
- MIT
- Repo stars
- 28
- Last change
- 2026-10-20
What it can reach
- Draws in the session
Claude Code 2.1.287 or later. The author says the marketplace lists the plugin as off by default, so enable it after installing. It masks the screen only: the model, the transcript on disk, and anything you copy out keep the real text. The author says it is not a privacy, DLP, or data control, and its patterns can miss a secret, so check a recording before you share it. It masks email addresses, sk- keys, GitHub tokens, Slack xox tokens, AWS AKIA key IDs, JWTs, and PEM and PGP private-key blocks, plus your own extra_patterns, in Claude's replies, your prompts, tool calls and their output, command output, question prompts, and notices. By default a match in a reply, a prompt, or command output draws as a solid dark bar that shows the value while the pointer is over it, and tool rows draw [hidden]. In that block mode the real value sits behind the bar, so text-based recorders, terminal search, and screen readers still capture it; mask_style set to text swaps each match for [hidden] instead. The permission dialog, thinking blocks, the prompt input box, toasts, the status line, notifications, spinners, hints, and other plugins' rows are not masked. If a masking hook fails or runs too long, the row draws [hidden]. /display-redaction off shows the real text for this session, and masking returns at the next session. The author tested it in the plugin test kit on Claude Code 2.1.296, with no live session yet.
The marketplace, melodic-software, lists 91 plugins, display-redaction among them. This one installs on its own. Keeping secrets off a recording is why this page files it under safety. recording-mode, by nateherkai, masks keys, personal details, and business figures on screen while you record, and hides results from mail, chat, and finance tools. secret-shield, by Singh-AP, replaces keys and tokens in tool output before the model or the transcript sees them. This one changes only what is drawn. The author says it reproduces the hide-email mod in Anthropic's Mods in Claude Code video, colors included on a full-color terminal.
Demo

What it hooks into
ui.renderDraws into the sessionAssistantMessageUserMessageCommandOutputToolUseToolResultAskUserQuestionInfoNoticesession.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/display-redaction
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
- melodic-software
- Category
- Safety
- Marketplace
- melodic-software
- Folder
- plugins/display-redaction
- Version
- 0.1.4
- License
- MIT
- Repo stars
- 28
- Last change
- 2026-10-20
- Language
- Shell
- Files
- 14