prime-guard
by settanun-prime (Prime Studio) · ★ 0 · updated 24 days ago
Helps reduce personal data sent to Claude: redacts detected Thai and international personal data before sending and masks it on screen. Detection runs locally and the mod makes no network calls of its own; the redacted conversation is still sent to your configured model provider (Anthropic by default). Also keeps secret files (.env, keys) closed to the file tools and shell, and refuses a tool...
Install
/plugin marketplace add settanun-prime/prime-studio-mods/plugin install prime-guard@prime-studio-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.startcommand.runprompt.submitsession.appendprompt.attachmentprompt.contexttool.callui.render- API calls
$.clock.now$.command.register$.fs.read$.process.run$.state.get$.state.set$.ui.resolve$.ui.status$.ui.toast- Draws
AssistantMessageUserMessage- Can see
every promptthe system promptevery tool call- Reach
- level 2 of 3 runs processesreads filesreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/settanun-prime/prime-studio-mods
- Path in repo
prime-guard- Source commit
385ebf8the exact code the scan read- Author
- settanun-prime (Prime Studio) @settanun-prime
- License
- MIT
- 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 settanun-prime/prime-studio-mods
prime-agents-panel
settanun-prime/prime-studio-mods
Side pane listing project, user and plugin agents with a run button each; /prime-agents-panel toggles it.
prime-ctbar
settanun-prime/prime-studio-mods
Context window breakdown and prompt-cache countdown above the prompt with interactive compact button; /prime-ctbar (or /ctbar) toggles it.