ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install display-redaction@melodic-software
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.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

The display-redaction section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • ui.renderDraws into the sessionAssistantMessageUserMessageCommandOutputToolUseToolResultAskUserQuestionInfoNotice
  • session.startWhen a session starts
  • session.endWhen a session ends
  • command.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
Repo
melodic-software/claude-code-plugins
Folder
plugins/display-redaction
Version
0.1.4
License
MIT
Repo stars
28
Last change
2026-10-20
Language
Shell
Files
14

Same repo on other shelves

Skills

  1. 20728design-thinkingmelodic-software/claude-code-plugins264
  2. 22318plantuml-syntaxmelodic-software/claude-code-plugins212
  3. 23438architecture-documentationmelodic-software/claude-code-plugins181

Marketplaces

  1. 658melodic-software/claude-code-pluginsmelodic-software/claude-code-pluginsClaude Code plugin marketplace: repo-agnostic skills, hooks, agents, and MCP servers.32

Other mods in Safety

jev-permission-gatemadisonrickertHolds a commandHolds routine tool calls in auto mode for Jev to allow or deny, and sends the uncertain ones on to Claude Code's built-in classifier.subagent-wallerikdarlingdataHolds a commandHolds a subagent after a time limit to git, gh, and Markdown or text writes, and nudges a code-changing subagent that has edited nothing.public-repo-guardSzotaszHolds a commandAsks in a popup before a push to a public GitHub repo, or before one goes public, when outgoing commits hold keys, emails, local paths, or private repo names.agentic-qe-fleetproffesor-for-testingHolds a commandHolds a command that would delete or overwrite .agentic-qe learning data, and toasts when the guard is set to notify.secrets-guardBioInfoHolds a commandDenies writes of secret files and credential-shaped content, and Bash that would print those secrets.wp-credential-guardnathanonnHolds a commandMasks a WordPress username and application password, refuses a slash command that carries one, and denies Bash when a placeholder is unknown.cockpittsergeytovarovHolds a commandDraws context weather and the plan limits above the prompt, and can stop a dangerous command.taxi-speedcamdevbrother2024Holds a commandStops a risky shell command and asks before it runs, shown as a taxi speed camera.guardrails-mdberget-aiHolds a commandSends each Bash command to a Berget AI scoring model and blocks it when the score says it destroys data, leaks a secret, or breaks your GUARDRAILS.md.pdpa-thaiBoom-VittHolds a commandRefuses a tool call that repeats a placeholder for Thai or other personal data it redacted before sending, and masks that data on screen.subagent-fenceerikdarlingdataHolds a commandRefuses a force-push, a push to a protected branch, a git command that skips hooks, and killing a process by name.launch-codesOneWave-AIHolds a commandHolds a dangerous shell command until you type a one-time code and press LAUNCH, and denies it otherwise.
All 73 in Safety