debugging-tool-loops

debugging-tool-loops is a skill for Claude Code, Codex from friday-platform/friday-studio. It costs 113 tokens per session (798 once invoked), scanned A, original, no licence file.

A troubleshooting guide for an agent stuck repeatedly calling tools without producing a final message. A tool loop is a cycle where the agent keeps taking actions instead of finishing.

In plain words
What is it for?
Use it when a session contains repeated tool calls, no completed result, and stops because of a step-count or output limit.
Why use it?
It helps distinguish this situation from a tool that returned no output and identify when the agent has exceeded its allowed steps or output limit.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when a session contains repeated tool calls, no completed result, and stops because of a step-count or output limit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/friday-platform/friday-studio/debugging-tool-loops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add friday-platform/friday-studio --skill debugging-tool-loops
Clone the repo
git clone --depth 1 https://github.com/friday-platform/friday-studio

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debugging-tool-loops

README.md
[![agentmods](https://agentmods.dev/badge/skills/friday-platform/friday-studio/debugging-tool-loops/github.svg)](https://agentmods.dev/skills/friday-platform/friday-studio/debugging-tool-loops)
Your own site
<a href="https://agentmods.dev/skills/friday-platform/friday-studio/debugging-tool-loops"><img src="https://agentmods.dev/badge/skills/friday-platform/friday-studio/debugging-tool-loops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debugging-tool-loops

Your own site · 80×15
<a href="https://agentmods.dev/skills/friday-platform/friday-studio/debugging-tool-loops"><img src="https://agentmods.dev/badge/skills/friday-platform/friday-studio/debugging-tool-loops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.00798
Opus 5.5 $0.00045 $0.00319
Sonnet 5.5 $0.00023 $0.00160
Haiku 4.5 $0.00011 $0.00080

Measured 1mo ago against content hash a3d50f50a5b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debugging-tool-loops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/system/skills/debugging-tool-loops/SKILL.md · 89 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 89 lines · 113 tokens per session scan A a3d50f50a5b4

Subscribe to this mod's changes

debugging-tool-loops is a skill published in the GitHub repository friday-platform/friday-studio (104 stars, last pushed 1mo ago), with no licence file. It adds 113 tokens to every session and 798 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

monitoring-observability

OpenTelemetry, structured logging, distributed tracing, alerting, and dashboards. Use when instrumenting services, designing logs/traces/metrics, defining SLOs and alerts, or debugging production behavior from telemetry.

travisjneuman/.claude · 48 tokens

debug-systematic

Systematic 4-phase debugging methodology for complex, intermittent, or mysterious issues. Use when investigating bugs, race conditions, or unexplained failures.

travisjneuman/.claude · 33 tokens

observability

OpenTelemetry, distributed tracing, structured logging, metrics (Prometheus, Grafana, Datadog). Use when implementing monitoring, tracing, or debugging production issues.

TheBeardedBearSAS/claude-craft · 0 tokens

agent-cpp-expert

Specialist subagent: C and C++ development, modern C++ (C++17/20/23), CMake, systems programming, and memory management specialist. Use when writing C/C++ code, debugging memory issues, or building systems-level software. Trigger phrases: C++, C language, CMake, modern C++, systems programming, memory management…

travisjneuman/.claude · 88 tokens

audit-dead-code

Read-only hunt for dead and unused code across four labeled lanes (Knip for TS/JS, vulture for Python, gopls for Go, grep for shell and files no lane owns), each candidate adjudicated dead, uncertain or alive. Use when asked to 'find dead code', to find what is unused in a repository (exports, functions, orphaned…

melodic-software/claude-code-plugins · 99 tokens

debug-methodical

Debugging méthodique en 4 phases (reproduce → isolate → fix → verify). Use when investigating a bug, regression, flaky test, or unexpected behavior.

TheBeardedBearSAS/claude-craft · 38 tokens