foreground-guard
This plugin intercepts Bash commands before execution to prevent main-thread blocking—catching foreground watch/poll patterns (like `kubectl logs -f`, `gh run watch`) and slow commands about to be killed by inadequate timeouts. The hook feeds back specific fixes to Claude Code agents, such as using non-blocking snapshots, timeouts, or background monitors instead of asking a human to approve a fundamentally broken operation.
Install
Source: https://github.com/karlkfi/claude-bouncer/tree/HEAD/plugins/foreground-guard
What it's made of
1 command · 1 skill · 1 hook
- Commands
- 1
- Agents
- 0
- Skills
- 1
- 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).