claudemods

All Claude Code modsameforge/claude-mods

guards

A Claude Code mod in ameforge/claude-mods

Shared guards that turn agent rules into checks: rg over recursive grep, a confirmation for git commit and push outside your own repos, a preview before a git command discards uncommitted changes, a confirmation before git add -A stages another session's files, a check before a reply hands back unchecked items, no bold or italic in markdown, no bullet character U+2022 in any file, no attribution in commits or PRs, and no private work terms in your public repos.

guards reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install guards --marketplace ameforge/claude-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, drives Claude, reads files, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash|PowerShell calls, Write|Edit calls
Hooks
tool.call {tool=Bash|PowerShell}, tool.call {tool=Write|Edit}, turn.complete
API calls
$.fs.read, $.process.run, $.prompt.submit, $.session.cwd, $.ui.ask
Validation
Passed
Scanned revision
9d34bc01ebc1
Marketplace passed
amemods

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 ameforge/claude-mods

Badge for your README

Reach badge for guards Validation badge for guards

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