claudemods

All Claude Code modsezoushen/claude-mods

prompt-redact

A Claude Code mod in ezoushen/claude-mods

Replaces secrets and credentials with stable placeholders inside Claude Code before the model or the session file ever sees them: prompts, tool results, replies and compaction summaries: and restores real values only in Edit/Write/NotebookEdit arguments.

prompt-redact reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.304.

Install hint

/plugin install prompt-redact --marketplace ezoushen/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readsreads files, reads mod state, draws

Validation

Passed on Claude Code 2.1.304

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, the system prompt, ? calls, every tool call
Hooks
session.start, prompt.submit, session.append, prompt.attachment, prompt.compose, prompt.section, tool.call {tool=?}, command.run {command=redact}, tool.call, ui.render {component=AbovePrompt}
API calls
$.command.register, $.fs.exists, $.fs.read, $.state.get, $.state.set, $.ui.log, $.ui.resolve
Validation on 2.1.304
Passed
Scanned revision
6a58d51a3f54
Marketplace passed
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from ezoushen/claude-mods

Badge for your README

Reach badge for prompt-redact Validation badge for prompt-redact

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ezoushen--claude-mods--prompt-redact-reach.svg)](https://mods.aidojo.si/mods/ezoushen--claude-mods--prompt-redact/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ezoushen--claude-mods--prompt-redact-validates.svg)](https://mods.aidojo.si/mods/ezoushen--claude-mods--prompt-redact/)