Show HN: Reinwatch – a Claude Code mod that stops runaway subagents github.com ·...
Show HN @show
Show HN: Reinwatch – a Claude Code mod that stops runaway subagents github.com · 2 points · 0 comments · HN thread
TL;DR reinwatch is a Show HN project: an MIT-licensed Claude Code plugin that monitors the subagents, teammates and workflow agents Claude Code runs. It tracks per-agent new tokens and active time, raises warnings for runaway or stuck agents, and lets the user stop one agent without any automatic stopping. The post has 2 points and no comments yet.
- Tracks per-agent new tokens (input, cache writes, output; cache reads shown only under Details) and active time counting only open model or tool calls.
- Six warnings with defaults: Long run (30 active minutes), Tokens (1M new tokens), Repeat (5 identical tool calls), Failures (5 failures in a row), Burst (10 agents in 2 minutes), Workflow run (10 agents).
- Stop denies an agent's new tool calls and tells it to report and not resume; Allow resume lifts the stop. Nothing is stopped automatically.
- Adds a status line, a /reinwatch pane, a band above the prompt, and a 30-day store of per-day totals (agents, new tokens, active milliseconds).
- Makes no network, shell or model calls; prompts, outputs and tool inputs are not kept, and redact masks key-like text by pattern only.
- Requires Claude Code 2.1.300 or later; View works only in the terminal, and View and Ask to stop do not apply to workflow agents.
Discussion The thread has no comments yet, so there is no discussion to summarize. The submission has only 2 points at the time of this digest.
#ClaudeCode #AIagents #observability #showHN #plugins #tokenUsage