Claude Code mod

redact

Redacts secrets and PII from every row Claude Code stores, before the model reads it and before the transcript keeps it. Reach L0: no network, no processes, no files.

2 starsGuard & safety mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add karanb192/claude-code-redact
/plugin install redact@claude-code-redact

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L1Reads: reads mod state, draws
Sees
every prompt, Edit|Write|NotebookEdit calls, the system prompt
Hooks
session.startprompt.submitsession.appendtool.callprompt.sectioncommand.run

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
plugins/redact
Marketplace
claude-code-redact
Author
Karan Bansal
License
MIT
Last updated
3 October 2026

FAQ

What is redact?

Redacts secrets and PII from every row Claude Code stores, before the model reads it and before the transcript keeps it. Reach L0: no network, no processes, no files. It is a mod for Claude Code, from karanb192/claude-code-redact on GitHub.

What can the redact mod access?

Its widest reach is "reads" (reads mod state, draws). It sees every prompt, Edit|Write|NotebookEdit calls, the system prompt. Like any mod, it runs with your permissions.

How do I install redact?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add karanb192/claude-code-redact and then /plugin install redact@claude-code-redact.

Is redact popular?

karanb192/claude-code-redact has 2 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 3 October 2026.

More guard & safety mods

rate-limit-guard

2

sciccolella/claude-ratelimit-mod

At 90% of the 5-hour limit, tells the orchestrator and every subagent to checkpoint and stop at a safe point, then resumes them after the window resets.

Guard & safety mods/plugin install

secret-drop

2

aislam23/secret-drop

Secure input window for API keys and passwords: Claude asks, you type into a masked field, the mod writes .env / GitHub Secrets itself. The value never enters the chat.

Guard & safety mods/plugin install

pii-guard

2

dave-net-positive/Claude_Code_PII_Redactor

Holds prompts, @file contents and Read results that contain PII or secrets behind a review pane with per-type allow/redact decisions.

Guard & safety mods/plugin install

shroud

2

revenantworks/claude-skills

Revenantworks shroud mod for Claude Code 2.1.287+: masks secrets (its own shapes plus the gitleaks rule set), stream keys and, if you turn them on, personal data and your own word list before Claude reads them (restoring a value only into the gitignored file it came from), flags a credential keywarden marked for rotation, and marks web, MCP and mail results and messages from routines or other sessions as data. Kept apart from the vigil plugin, so safety never depends on the dashboard. Never blocks your work; keeps no record; contacts no service.

Guard & safety mods/plugin install

obw

2

musingfox/cc-plugins

Obsidian Workspace — project-scoped vault productivity (capture / notes / PM). Skills own folder layout and templates; /obw:pm splits a spec into blocking tickets; /issue is a Claude Mod pane that lists a view of the project's dashboard, draws Mermaid as text diagrams, and can open a card in the browser through viz. Vault I/O uses the Obsidian CLI via the official obsidian-cli skill.

Guard & safety mods/plugin install

tamirs-superpowers-guard

2

Tamircohen28/tamirs-superpowers

In-process guard for tamirs-superpowers: holds a destructive shell command (force push, rm -rf, git reset --hard, ...) until you answer Proceed or Cancel, and refuses a file write in the main checkout while an orchestration objective is active. Companion to the core plugin; Claude Code and Claude Desktop only.

Guard & safety mods/plugin install

Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.