Spinwatch
Description
Alarm when your coding agent spins instead of works — catches repeated identical tool calls and endless talk-without-action in live or past sessions. Reads Claude Code, Codex, and opencode transcripts.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
spinwatch
Alarm when your coding agent spins instead of works.
Autonomous coding agents (Claude Code, OpenAI Codex CLI) sometimes stop making progress but keep burning tokens: the same failing tool call retried forever, or "let me write the document" repeated across turns without any tool ever being called. Users report losing 12% of a weekly quota — real money — on a single stuck session before noticing.
Billing dashboards can't help: productive work and degenerate spin look identical in a cost chart, and the alert arrives after the money is gone. spinwatch reads what the agent actually **did** — the tool-call sequence in its transcript — and raises an alarm while the session is still alive:
- REPEAT — the same tool call (same name AND same normalized arguments) fired N times within a sliding window of tool calls. Catches the retried-too-large-file loop and re-fired idempotent actions.
- TALK — K consecutive assistant text turns with zero tool calls between them. Catches "assembling the document now" ×∞.
Install
No dependencies; Python 3.10+ stdlib only.
git clone https://github.com/pixle-codes/spinwatch && cd spinwatch
python3 -m spinwatch --help
Usage
# scan transcript files or whole directories (*.jsonl and *.db are discovered)
python3 -m spinwatch scan ~/.claude/projects ~/.codex/sessions ~/.local/share/opencode
# machine-readable / cron-friendly forms
python3 -m spinwatch --statusline scan ~/transcripts # "spinwatch SPIN: ..."
python3 -m spinwatch --json scan session.jsonl # exit 0 clean / 1 spin
# stricter / looser detection
python3 -m spinwatch scan --window 12 --repeat-threshold 3 --talk-threshold 6 s.jsonl
# live watch while a session runs (Ctrl-C stops; alarms once per streak)
python3 -m spinwatch --follow --interval 5 ~/.local/share/opencode
Exit codes: `0` no spin · `1` findings · `2` usage error.
Live watch (`--follow`)
Scan answers "did it spin?"; `--follow` answers "is it spinn
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11