What is prime-guard?
prime-guard is a Claude Code mod by settanun-prime that 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. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | settanun-prime |
| Repository | settanun-prime/prime-studio-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (72/100) |
| Rank | #8,322 of 9,397 Claude Code mods; #849 in Security |
| License | MIT |
| Last commit | 2026-10-29 |
| Hooks | 8 events |
| Sees | every prompt, every tool call, the system prompt |
| Draws on | AssistantMessage, UserMessage |
Is prime-guard safe to install?
prime-guard scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.fs.read | reads files |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install prime-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/settanun-prime/prime-studio-mods claude plugin validate ./prime-studio-mods/prime-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add settanun-prime/prime-studio-mods && claude plugin install prime-guard@prime-studio-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs prime-guard for you:
Install the "prime-guard" Claude Code mod from https://github.com/settanun-prime/prime-studio-mods/tree/main/prime-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from settanun-prime/prime-studio-mods
This repository has 3 Claude Code mods on MCPMods.
- prime-agents-panel: Side pane listing project, user and plugin agents with a run button each; /prime-agents-panel toggles it. (Low risk)
- prime-ctbar: Context window breakdown and prompt-cache countdown above the prompt with interactive compact button; /prime-ctbar (or / (Low risk)