shared-repo-guard
by naoanao · ★ 0 · updated 6 days ago
0
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.
Install
/plugin marketplace add naoanao/shared-repo-guard/plugin install shared-repo-guard@shared-repo-guardThen 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.startturn.completecommand.runui.rendertool.call- API calls
$.command.register$.fs.exists$.fs.list$.fs.read$.process.run$.session.cwd$.ui.invalidate$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
Bash|PowerShell callsRead callsWrite|Edit calls/"^(?!(Bash|PowerShell|Read|Write|Edit)$)"/ calls- Reach
- level 2 of 3 runs processesreads filesdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/naoanao/shared-repo-guard
- Path in repo
- repository root
- Source commit
a411030the exact code the scan read- Author
- @naoanao
- 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.