redact

by JinhaoFang · ★ 0 · updated 4 days ago

ToastsCommandsvalidates

0

Rewrites sensitive data (emails, IPs, credentials, addresses) out of what enters the model context

install redact

Install

/plugin marketplace add JinhaoFang/claude-mods
/plugin install redact@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.appendsession.startcommand.run
API calls
$.command.register$.state.get$.state.set$.ui.log$.ui.toast
Reach
level 1 of 3 other: $.state.getother: $.state.setdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/JinhaoFang/claude-mods
Path in repo
mods/redact
Source commit
b8700d5 the exact code the scan read
Author
@JinhaoFang
License
Apache-2.0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from JinhaoFang/claude-mods

agent-flow

JinhaoFang/claude-mods

The agent flow pane: /flow opens a live tree of the session's subagents and teammates beside the transcript, fed by engine events, with a text fallback where no pane can be drawn.

★ 0PanesStatus lineReskins

block-destructive-commands

JinhaoFang/claude-mods

Denies Bash commands that match destructive patterns (recursive rm on roots, force push, hard reset, destructive SQL, disk formatting) before they run. A tool.call hook with a Bash matcher that returns { deny } without calling next.

★ 0Guards

context-band

JinhaoFang/claude-mods

A band above the prompt showing the session's context usage, plan quota or cost

★ 0BandsCommands

image-view

JinhaoFang/claude-mods

See the images you paste into Claude Code: thumbnails above the prompt instead of bare [Image #1] tags

★ 0Bands