PlugMyPlugin
← Browse

wait-loop-guard

lucas-saldanha-werneck ★ 0

wait-loop-guard intercepts Bash until/while loops without a deadline and rejects them before execution, preventing Claude from hanging indefinitely on conditions that may never occur. The hook suggests three ways to add a deadline (timeout command, counter variable, or elapsed time check) and allows exceptions via a comment.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add lucas-saldanha-werneck/wait-loop-guard
> /plugin install wait-loop-guard

Source: https://github.com/lucas-saldanha-werneck/wait-loop-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
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 (lucas-saldanha-werneck).