claudemods

All Claude Code modsnaoanao/shared-repo-guard

shared-repo-guard

A Claude Code mod in naoanao/shared-repo-guard

For repos where several AI agents (or you and an agent) work in the same folder: stops secret values from leaving your .env, pushes to public remotes, and git commands that would wipe work this session did not write.

review UI rewrite

shared-repo-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install shared-repo-guard --marketplace naoanao/shared-repo-guard

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, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash|PowerShell calls, Read calls, Write|Edit calls, /"^(?!(Bash|PowerShell|Read|Write|Edit)$)"/ calls
Hooks
session.start, turn.complete, command.run {command=guard}, command.run {command=preflight}, ui.render {component=AbovePrompt}, tool.call {tool=Bash|PowerShell}, tool.call {tool=Read}, tool.call {tool=Write|Edit}, tool.call {tool=/"^(?!(Bash|PowerShell|Read|Write|Edit)$)"/}
API calls
$.command.register, $.fs.exists, $.fs.list, $.fs.read, $.process.run, $.session.cwd, $.ui.invalidate, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
a411030adde2
Marketplace passed
shared-repo-guard
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. hooks/rules.js:151

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. How the scan works.

Badge for your README

Reach badge for shared-repo-guard Validation badge for shared-repo-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/naoanao--shared-repo-guard--shared-repo-guard-reach.svg)](https://mods.aidojo.si/mods/naoanao--shared-repo-guard--shared-repo-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/naoanao--shared-repo-guard--shared-repo-guard-validates.svg)](https://mods.aidojo.si/mods/naoanao--shared-repo-guard--shared-repo-guard/)