Pular para o conteúdo
Kitbay
Skill0.1.0

runaway-stopper

MITAtualizado em 20 de nov. de 2026142.151Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

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