secret-mask
by Gary · ★ 2 · updated 2 days ago
Mask token-like strings in tool output before they reach the conversation
Install
/plugin marketplace add homieyangg/claude-code-mods/plugin install secret-mask@claude-code-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
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