soothe: Skill for Claude Code

.agents/skills/diagnose-loop/SKILL.md

diagnose-loop is a skill for Claude Code, Codex from mirasoth/soothe. It costs 107 tokens per session (2,530 once invoked), scanned A, original, MIT.

A set of instructions for investigating Soothe agent loops, meaning repeated automated work cycles. It reads Soothe logs and examines plans, task lists, tool calls, and loaded skills.

In plain words
What is it for?
Use it to diagnose a specific loop or broad Soothe activity, inspect daemon and runner logs, investigate tool errors, and check plan, todo, and skill behavior.
Why use it?
It helps locate the cause of hangs, failed steps, missing progress, repeated tool use, inefficient plans, or skills that were not applied.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is mirasoth/soothe's own configuration. It tells Claude Code and Codex how to work on soothe itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything soothe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mirasoth/soothe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mirasoth/soothe/main/.agents/skills/diagnose-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mirasoth/soothe

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 diagnose-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/mirasoth/soothe/diagnose-loop/github.svg)](https://agentmods.dev/skills/mirasoth/soothe/diagnose-loop)
Your own site
<a href="https://agentmods.dev/skills/mirasoth/soothe/diagnose-loop"><img src="https://agentmods.dev/badge/skills/mirasoth/soothe/diagnose-loop/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 diagnose-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/mirasoth/soothe/diagnose-loop"><img src="https://agentmods.dev/badge/skills/mirasoth/soothe/diagnose-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,530 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00107 $0.02530
Opus 5.5 $0.00043 $0.01012
Sonnet 5.5 $0.00021 $0.00506
Haiku 4.5 $0.00011 $0.00253

Measured 15d ago against content hash 80cc4cbed1b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnose-loop 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 15d 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.

.agents/skills/diagnose-loop/SKILL.md · 251 lines

How it starts

The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diagnose Loop

Systematic log forensics for Soothe loops, daemon lifecycle, and CLI/TUI.

For autopilot jobs (job id, rail, DAG, parallelism, goal execution history), use inspect-autopilot-job.

Routing

if user mentions job id / autopilot / rail / pool / multi-goal / "low parallelism"
     / goal DAG / job execution history
  → inspect-autopilot-job (then Workflow B here on hot loops if needed)
else if specific loop id / suffix / hang / tools / plan / skills
  → Workflow B (and A if broad)
else
  → Workflow A broad triage

Prefer the venv CLI when available (.venv/bin/soothe).

When to Use

  • Loop hang, failed step, spinner stuck, or missing TUI progress
  • Analyze ~/.soothe/logs/ or a specific loop (UUID or 4-char suffix)
  • Tool errors, slow steps, repetitive tool calls
  • StrangeLoop plan / CoreAgent todo waste
  • Skill did not load, /skill:name failed, or skill instructions ignored

Not this skill: autopilot job DAG, rail conformance, pool parallelism, job-level execution history → inspect-autopilot-job.

Log Locations

File Logger / purpose Loop correlation
~/.soothe/logs/soothe.log soothe.* — StrangeLoop, CoreAgent, tools, planner 4-char suffix [7cba]
~/.soothe/logs/daemon.log soothe_daemon.* — WebSocket, workers Full UUID [loop=…]
~/.soothe/logs/cli.log soothe_cli.* — connection, TUI events May include loop context
~/.soothe/data/loops/{loop_id}/runner.log Same as soothe.log, one loop Prefer for pooled workers

Rotated backups: *.log.1, *.log.2, etc. Runtime defaults are daemon.log and cli.log (not soothed.log / soothe-cli.log).

Resolve Loop Identity

User may give full UUID, 4-char suffix (7cba), or step id prefix (UZH-01).

soothe loop list
ls ~/.soothe/data/loops/ | grep -i '<suffix>'
rg '\[<suffix>\]' ~/.soothe/logs/soothe.log*
rg 'loop=.*<suffix>' ~/.soothe/logs/daemon.log*

Read the full file on GitHub · 251 lines

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. 15d ago Changed 80cc4cbed1b9
  2. 2mo ago First seen · 251 lines · 107 tokens per session scan A a921630a07d5

Subscribe to this mod's changes

diagnose-loop is a skill published in the GitHub repository mirasoth/soothe (13 stars, last pushed yesterday), licensed MIT. It adds 107 tokens to every session and 2,530 once invoked, about $0.0004 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-31.

Related

diagnose-loop compared with skills from other repositories

diagnose-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnose-loopmirasoth/sootheSkill13yesterdayMITA107Claude Code, Codex
diag-harnessruvnet/metaharnessSkill738yesterdayMITA85Claude Code
C31-debugChianW/C31Skill12mo agoMITA32Claude Code, Codex
C31-researchChianW/C31Skill12mo agoMITA36Claude Code, Codex
gsd-map-codebaseChianW/C31Skill12mo agoMITA65Claude Code, Codex
C31-workflow-bug-reproductionChianW/C31Skill12mo agoMITA53Claude Code, Codex
node-connectspinabot/brigadeSkill11k3d agoMITA79Claude Code, Codex