Skip to content
Kitbay
Skill0.1.0

runaway-stopper

MITUpdated on Nov 11, 2026141,174GitHub stars

A gstack skill for the Capy agent platform that finds threads and subagents using too many tokens or waking too often, stops or rotates them, and writes rules to prevent repeats.

What the skill teaches

A gstack skill for the Capy agent platform that finds threads and subagents using too many tokens or waking too often, stops or rotates them, and writes rules to prevent repeats. A read-only scan fetches recent transcripts and runs gstack's runaway scorer, which flags each thread to rotate, check in, stop, report, warn or leave alone while a pull request is open or merging. Limits include rotating standing threads past 500 million tokens or three days and stopping subagents past 100 million. Rotation hands work to a successor through a handoff file and archives the old thread only after its pull requests close. It needs Capy's thread tools and records usage in gstack's local analytics folder.

Capabilities

  • Scan threads and subagents for token overuse
  • Stop runaway subagents
  • Rotate long-running threads with a handoff
  • Add prevention rules to agent briefs