Debugging Tool Loops

Loads when a session shows many tool calls (often the same name repeated) with no terminal text, no `complete` call, and either hits `stopWhen: stepCountIs(...)` (default 10) OR exhausts max output tokens. The LLM is in a tool loop without producing a final message. Distinguish from `debugging-empty-output` — that's about contract exits being absent; this is about the LLM never deciding to stop. Required: the agent prompt needs an explicit termination criterion.

friday-platform 651f9bc 3.0 KB Updated

File contents

friday-platform/friday-studio/tree/main/packages/system/skills/debugging-tool-loops commit 651f9bc662

Frequently asked questions

npx skillmds@latest add friday-platform/debugging-tool-loops