PlugMyPlugin
← Browse

agent-guards

JorgeCostaMacia ★ 2

agent-guards is a Claude Code plugin that hooks into PreToolUse events to enforce security rules on Bash, PowerShell, Read, and Grep commands, preventing accidental risky operations like commits to protected branches, credential exposure, and secret file access. It blocks dangerous git operations, GitHub CLI actions, package publishing, piped downloads, and environment variable/secret file leaks while allowing safe equivalents and legitimate workflows.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add JorgeCostaMacia/agent-harness/tree/HEAD/hooks/agent-guards
> /plugin install agent-guards

Source: https://github.com/JorgeCostaMacia/agent-harness/tree/HEAD/hooks/agent-guards

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
node
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (JorgeCostaMacia).