← Browse
exit-status-guard
karlkfi ★ 3
exit-status-guard is a PreToolUse hook that prevents Claude Code from running shell commands where the exit status could be lost or masked—such as commands piped into filters, backgrounded commands that end with echo, or sequences using semicolons instead of &&. It identifies these unsafe patterns before execution and suggests specific rewrites using Claude's scratchpad directory or alternative operators.
Install
> /plugin marketplace add karlkfi/claude-bouncer/tree/HEAD/plugins/exit-status-guard
> /plugin install exit-status-guard
Source: https://github.com/karlkfi/claude-bouncer/tree/HEAD/plugins/exit-status-guard
What it's made of
1 command · 1 hook
- Commands
- 1
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
run-python-hook.cmd- 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 (karlkfi).