call-diagnostics

call-diagnostics is a skill for Claude Code, Codex from sonichi/sutando. It costs 0 tokens per session (767 once invoked), scanned A, original, MIT.

A tool for examining phone-call monitoring data, finding problems, and following those problems across multiple calls.

In plain words
What is it for?
It is for checking the latest call, reviewing all calls, viewing a timeline, and generating repair recommendations or an HTML issue tracker.
Why use it?
It helps distinguish one-off failures from recurring issues, so fixes can address the underlying pattern instead of treating each call separately.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sonichi/sutando/call-diagnostics
Any agent
npx skills add sonichi/sutando --skill call-diagnostics
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

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 call-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/call-diagnostics.svg)](https://agentmods.dev/skills/sonichi/sutando/call-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/call-diagnostics"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/call-diagnostics.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00767
Opus 5 $0.00000 $0.00383
Sonnet 5 $0.00000 $0.00153
Haiku 4.5 $0.00000 $0.00077

Measured 4d ago against content hash 7fe21ee837cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

call-diagnostics 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analysis.py, scripts/diagnose.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/call-diagnostics/SKILL.md · 63 lines

How it starts

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

Call Diagnostics & Repair

Analyze phone call observability data, detect problems, track them across calls, and recommend systematic repairs.

Usage

python3 $CLAUDE_CONFIG_DIR/skills/call-diagnostics/scripts/diagnose.py              # last call
python3 $CLAUDE_CONFIG_DIR/skills/call-diagnostics/scripts/diagnose.py --all        # all calls + repair recommendations
python3 $CLAUDE_CONFIG_DIR/skills/call-diagnostics/scripts/diagnose.py -t           # show timeline
python3 $CLAUDE_CONFIG_DIR/skills/call-diagnostics/scripts/diagnose.py -v           # verbose (show detail)
python3 $CLAUDE_CONFIG_DIR/skills/call-diagnostics/scripts/diagnose.py --all --tracker  # generate HTML tracker + open

When to use

  • After every phone call: run on latest call to detect issues
  • Before making fixes: run --all to see persistent patterns and repair recommendations
  • Never apply ad-hoc patches — check the repair recommendations first to understand if the problem is persistent and what the systematic fix should be

Detections

  • Tool returned too fast (<10ms) — likely error/not-found
  • Hallucination — Gemini claimed action state without tool verification
  • Inline task via work — recording/screenshot/play delegated instead of inline
  • Long delay — >30s between user request and tool execution
  • Repeated failures — same tool failing 3+ times
  • Timestamp lag — caller speech logged after tool that it triggered
  • Wrong tool — Gemini used the wrong tool for the request
  • User correction — user explicitly corrected Sutando's behavior
  • Unmet expectation — user repeated a request (not understood)
  • Auto-invocation — tool called without matching user request

Repair workflow

ALWAYS follow this workflow. Never skip steps.

  1. Diagnose: run --all --tracker to see the full picture across all calls
  2. Identify persistent problems: only fix issues that appear across multiple calls. Ignore one-offs.
  3. Find root cause: ask "why does this happen?" not "how do I patch this instance?"
  4. Make ONE minimal fix: prefer prompt over code, prefer removing code over adding. If >20 LOC, reconsider.
  5. Deploy and track: restart servers, then monitor the next 3+ calls in the tracker
  6. Verify or revert: if the issue count doesn't drop after 2-3 calls, revert and try a different approach
  7. Never modify source code for call tasks: when a user asks to change something during a call (subtitle color, video edit), use runtime tools (ffmpeg, scripts), not code changes

Read the full file on GitHub · 63 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 63 lines · 0 tokens per session scan A 7fe21ee837cc

Subscribe to this mod's changes

call-diagnostics is a skill published in the GitHub repository sonichi/sutando (390 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 767 tokens. 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

cc-hooks

Multi-agent hook system: author hooks once as rulesync-canonical hooks.json (HookDefinitionSchema), deploy via superskill install / superskill hook emit to Claude Code, Codex, OpenCode, Pi (pi-hooks), and Gemini CLI. Covers command, prompt, and http hooks, cross-platform event mapping, and safety invariants.

gobing-ai/superskill · 71 tokens

mode

Adopt the lead role for this session: plan work, delegate to executors via relay, review reports, never implement large work directly. Invoke with /relay:mode.

spacegrowth/claude-relay · 37 tokens

verify

Machine-check an executor's report against its staged reality — TL;DR block well-formed, claimed files actually staged, declared counts cross-checked — stamping MALFORMED / MISMATCH / INCONCLUSIVE / COUNTS-MATCH. Invoke with /relay:verify, or when asked "check that report", "did it really do what it says", "verify X's…

spacegrowth/claude-relay · 83 tokens

auto

Flip this lead session's autonomous posture: proceed by default on routine in-plan steps instead of asking, or go back to waiting. Invoke with /relay:auto, or when asked to "go autonomous", "stop asking me every time", "just proceed", "turn auto off", "what posture am I in".

spacegrowth/claude-relay · 65 tokens

collaborating-with-gemini

Delegates coding tasks to Gemini CLI for prototyping, debugging, and code review. Use when needing algorithm implementation, bug analysis, or code quality feedback. Supports multi-turn sessions via SESSIONID.

haoyu-haoyu/Multi-AI-Workflow · 47 tokens

handoff

Hand this lead session off to a fresh successor. Invoke with /relay:handoff, or when asked to "hand off", "hand this off to a new session", "start a successor lead".

spacegrowth/claude-relay · 44 tokens