wisp-diagnose

wisp-diagnose is a skill for Claude Code from Samuel0101010/wisp-orchestrator. It costs 77 tokens per session (820 once invoked), scanned A, original, Apache-2.0.

A diagnostic procedure for failed or stuck WISP runs that examines the run’s event timeline and detailed failure output.

In plain words
What is it for?
Use it with a run ID to summarize important events, highlight failures, and print full verification-failure details.
Why use it?
It shows where an agent run failed and includes the underlying verification errors needed to investigate the cause.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wisp plugin — 12 skills, 1 command, 4 agents, 6 hooks shipped together

Good fit Use it with a run ID to summarize important events, highlight failures, and print full verification-failure details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/samuel0101010/wisp-orchestrator/wisp-diagnose
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 Samuel0101010/wisp-orchestrator --skill wisp-diagnose
Clone the repo
git clone --depth 1 https://github.com/Samuel0101010/wisp-orchestrator

Made for: Claude Code.

Or install wisp, the plugin that ships this one along with the rest of its 12 skills, 1 command, 4 agents, 6 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/samuel0101010/wisp-orchestrator/wisp-diagnose"><img src="https://agentmods.dev/badge/skills/samuel0101010/wisp-orchestrator/wisp-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 820 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00077 $0.00820
Opus 5 $0.00039 $0.00410
Sonnet 5 $0.00015 $0.00164
Haiku 4.5 $0.00008 $0.00082

Measured 10d ago against content hash 98f764366250, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

wisp-diagnose scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "http://127.0.0.1:${WISP_PORT:-4400}/api/runs/<runId>/events?limit=500"
skills/wisp-diagnose/SKILL.md · 61 lines

How it starts

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

WISP — Diagnose Run

Inspect a run's event timeline to figure out what failed and why.

Platform note: snippets below show both bash and PowerShell forms. Pick the one matching the user's shell. The bash form also runs from Git Bash / WSL on Windows.

Inputs

  • runId: the run UUID. Ask the user if not provided.

Steps

  1. Fetch the events:

    # bash
    curl -s "http://127.0.0.1:${WISP_PORT:-4400}/api/runs/<runId>/events?limit=500"
    
    # PowerShell
    $port = if ($env:WISP_PORT) { $env:WISP_PORT } else { 4400 }
    Invoke-RestMethod -Uri "http://127.0.0.1:$port/api/runs/<runId>/events?limit=500"
    

    Response: {"events": [{"type":"...", "payload":..., ...}, ...]} ordered oldest-first.

  2. Show the timeline, condensed: print one line per event of interest. Skip noisy types (task.text-delta, task.usage — print usage totals at the end instead). Format:

    <timestamp>  <event type>  <task id>  <one-line summary>
    
  3. Highlight failures: for each task.failed, harness.verify-failed, qa.replan-triggered, qa.replan-exhausted, rate-limit.hit, run.paused event, print the FULL payload (not a one-liner). Especially:

    • harness.verify-failed.payload.failures[*] — kind, cmd, exitCode, tail
    • harness.verify-failed.payload.output — full output (truncate to last 100 lines if huge)
    • qa.replan-triggered.payload.reason — what QA reported
  4. Token & duration totals: query /api/runs/<runId> to get the per-task token/turn totals. Print as a small table.

  5. Verdict: in 1-2 sentences, summarise WHY the run failed (or what it's currently stuck on). Quote a specific event payload as evidence.

Useful event types to know

Type Means
task.started A task subprocess began
task.completed The subprocess returned (regardless of verify result)
harness.verify-failed The verify gate (build/test/lint/custom/preflight) rejected the task; full failures + output payload
task.failed Terminal failure; subsequent dependent tasks were cancelled
qa.replan-triggered M5 — QA failure caused the walker to swap in a new plan
qa.replan-exhausted M5 — replan cap hit OR replan callback returned null
rate-limit.hit A subprocess hit a Claude rate limit; usually followed by run.paused
run.paused Walker paused (rate-limit / user / shutdown / consecutive-failures)

Read the full file on GitHub · 61 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. 10d ago First seen · 61 lines · 77 tokens per session scan A 98f764366250

Subscribe to this mod's changes

wisp-diagnose is a skill published in the GitHub repository Samuel0101010/wisp-orchestrator (4 stars, last pushed 6d ago), licensed Apache-2.0. It adds 77 tokens to every session and 820 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

postmortem

Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.

SethGammon/Citadel · 58 tokens

systematic-debugging

4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.

SethGammon/Citadel · 45 tokens

root-cause

Find the mechanism behind a failure instead of patching its symptom - reproduce first, one variable per experiment with the prediction written before the run, exit by naming the mechanism and pinning it with a failing test. Use for a bug, an unexplained red test, or a failure that will not reproduce.

jjanczur/tyran · 61 tokens

defect-hunting

Use when reviewing code, auditing an app, writing a guard rule or test, or certifying any threshold/constant/formula. Finds the defects a diff review structurally cannot see — the second write path, the mis-calibrated constant, the rule that cannot fail. Triggers from code-reviewer, /app-audit, qa-engineer…

vmobifystudio/app-dev-team · 96 tokens

mutation-testing

Use when adding or reviewing a gate, guard rule, CI grep, or test assertion in this plugin's own scripts — and whenever a suite is green and you need to know whether that means anything. Runs scripts/mutate.sh, which breaks the code on purpose and reports which assertions failed to notice. Triggers from code-reviewer…

vmobifystudio/app-dev-team · 83 tokens

performance-review

Use as a review dimension on any diff that could cost startup time, frames, memory, battery, bandwidth or bundle size — by code-reviewer during review and by web-developer and test-automation-engineer before claiming a UI or harness ticket done. The studio's position is that this is a dimension with existing auditors…

vmobifystudio/app-dev-team · 75 tokens