PlugMyPlugin
← Browse

agent-guard

ly-solutions ★ 0

agent-guard is a set of safety hooks that intercepts shell commands and file writes before a coding agent executes them, refusing destructive operations (like force pushes to main or rm -rf outside safe directories) and rewriting risky patterns (like pkill -f to pkill -A or git push --force to --force-with-lease). It runs without network dependencies using only Python 3.10+ and the standard library, silently passing through benign commands while guiding agents toward safe alternatives when dangerous operations are detected.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add ly-solutions/agent-guard
> /plugin install agent-guard

Source: https://github.com/ly-solutions/agent-guard

What it's made of

5 hooks

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
5 · PostToolUse, PreToolUse, SessionStart, UserPromptSubmit

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
python3
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 (ly-solutions).