โ Browse
pgrep-pkill-guard
rvenutolo โ
0
A PreToolUse hook that blocks dangerous pgrep/pkill patterns that would kill the agent's own session or create infinite loops waiting on processes that cannot exit. It provides specific mitigation advice (using PIDs, --ignore-ancestors, or bracket tricks) when denying unsafe command shapes.
Install
> /plugin marketplace add rvenutolo/claude-pgrep-pkill-guard
> /plugin install pgrep-pkill-guard
Source: https://github.com/rvenutolo/claude-pgrep-pkill-guard
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
pgrep-pkill-guard.sh- Talks to
- nothing external detected
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 (rvenutolo).