All Claude Code modsYuehengHan/my-claude-mods
repo-guard
Blocks destructive git commands and asks before Claude first edits a repo other than the session's own
marketplace fails
repo-guard reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 2
- API methods referenced: 3
- Access from classified calls: L1, reads: reads files, draws
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L1 Readsreads files, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call
- Hooks
tool.check {tool=Bash}, tool.check, tool.call- API calls
$.fs.exists, $.session.cwd, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
a09e61f0a19e- Marketplace failed
- my-claude-mods: plugins[3].name: Plugin name "claude-pet" is reserved: it passes as one of Anthropic's own. A third party's plugin name cannot start with "claude-", "anthropic-", "anthropics-", or "cc-plugin-", be "claude", "anthropic", "anthropics", "claude-code", or "claude-mods", or put "official" beside "claude" or "anthropic". Name it for what it does.; plugins[4].name: Plugin name "claude-mood" is reserved: it passes as one of Anthropic's own. A third party's plugin name cannot start with "claude-", "anthropic-", "anthropics-", or "cc-plugin-", be "claude", "anthropic", "anthropics", "claude-code", or "claude-mods", or put "official" beside "claude" or "anthropic". Name it for what it does.
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.
More from YuehengHan/my-claude-mods
- claude-moodClaude's mood in the status line, from what the turn has read, written and broken
- claude-petA pet in the status line that levels up with your work, gets dizzy on errors, sleeps when you're away, and un…
- control-tower/tower: one pane showing every Claude Code session on this machine: which is working, which waits for you, wh…
- done-pingWhen a long turn finishes or Claude needs you: a macOS notification with a distinct sound for done, failed an…
- fortuneProgrammer jokes after the working spinner, and a daily fortune (/fortune): 今日宜重构,忌周五上线
- sdk-syncAfter an SDK release (v* tag): /release-check gathers what changed and asks Claude for a read-only audit of t…
- tldrA one-line TL;DR under every long answer, written by Haiku, so a session you switch back to reads at a glance
- where-am-iA band above the prompt: repo, branch, uncommitted changes and this session's task
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/YuehengHan--my-claude-mods--repo-guard/)
[](https://mods.aidojo.si/mods/YuehengHan--my-claude-mods--repo-guard/)