claudemods

All Claude Code modssettanun-prime/prime-studio-mods

prime-guard

A Claude Code mod in settanun-prime/prime-studio-mods

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 call that would send a credential or personal data off the machine. It also hides who and where: the user's account and machine names (learned from the machine), profile paths, host and ssh-config names, LAN URLs, MAC addresses, SIDs, SSH key lines and private key blocks. Before a git push, gh release or package publish it reads the commits that would go out and refuses when they hold personal data or secrets (it names the file and the kind, never the value). `/prime-guard git on` adds global git hooks that scan every push on the machine, inside or outside Claude Code. Images and files are not read: it warns, or blocks in block mode. Best effort, not legal advice.

review UI rewrite

prime-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install prime-guard --marketplace settanun-prime/prime-studio-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

L2 Writes or runsruns processes, reads files, reads mod state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, the system prompt, every tool call
Hooks
session.start, command.run {command=prime-guard}, command.run {command=guard}, command.run {command=pdpa-guard}, prompt.submit, session.append, prompt.attachment, prompt.context, tool.call, command.run {command=prime-blur}, command.run {command=blur}, command.run {command=pdpa-blur}, ui.render {component=AssistantMessage}, ui.render {component=UserMessage}
API calls
$.clock.now, $.command.register, $.fs.read, $.process.run, $.state.get, $.state.set, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed with warnings
Scanned revision
385ebf88006d
Marketplace passed
prime-studio-mods
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. prime-guard/hooks/detect.ts:190, prime-guard/hooks/publish.ts:50, prime-guard/hooks/publish.ts:65

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 settanun-prime/prime-studio-mods

Badge for your README

Reach badge for prime-guard Validation badge for prime-guard

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/settanun-prime--prime-studio-mods--prime-guard-reach.svg)](https://mods.aidojo.si/mods/settanun-prime--prime-studio-mods--prime-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/settanun-prime--prime-studio-mods--prime-guard-validates.svg)](https://mods.aidojo.si/mods/settanun-prime--prime-studio-mods--prime-guard/)