claudemods

All Claude Code modsYuehengHan/my-claude-mods

repo-guard

A Claude Code mod in YuehengHan/my-claude-mods

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 with warnings.

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

Validation

Passed with warnings

View 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
Passed with warnings
Scanned revision
2b3ec2401dda
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. What a mod can access and how the scan works.

More from YuehengHan/my-claude-mods

Badge for your README

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