secret-mask

by Gary · ★ 2 · updated 2 days ago

ToastsGuardsCommandsvalidates

0

Mask token-like strings in tool output before they reach the conversation

install secret-mask

Install

/plugin marketplace add homieyangg/claude-code-mods
/plugin install secret-mask@claude-code-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.starttool.callsession.appendcommand.run
API calls
$.command.register$.state.get$.state.set$.ui.log$.ui.toast
Can see
Bash calls
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/homieyangg/claude-code-mods
Path in repo
secret-mask
Author
Gary @homieyangg
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

Anthony@ezlo_app

Made three mods for Claude Code: plan-bar: progress bars while Claude works through a plan leftovers: tracks containers and services Claude left running, so you can clean them up secret-mask: masks tokens in command output before Claude reads them https://github.com/homieyangg/claude-code-mods

More from homieyangg/claude-code-mods

leftovers

homieyangg/claude-code-mods

Keeps a ledger of what Claude left running or lying around on your machine and servers

★ 21 postsBandsReskinsGuards

plan-bar

homieyangg/claude-code-mods

Live progress bars above the prompt for multi-step work: one row per plan, with stages, percent, waiting and failed colors, and sounds

★ 21 postsBandsGuardsCommands