← Browse
guards
pgoell ★ 1
This Claude Code plugin provides a PreToolUse hook that blocks shell commands like `pkill -f` and `pgrep -f` that would self-destruct the agent's bash shell by matching it in the process list. When a dangerous command is detected, the hook denies it and suggests safer alternatives such as using `fuser` or bracketing the pattern.
Install
> /plugin marketplace add pgoell/pgoell-claude-tools/tree/HEAD/plugins/guards
> /plugin install guards
Source: https://github.com/pgoell/pgoell-claude-tools/tree/HEAD/plugins/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
pkill-self-match- 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 (pgoell).