Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when encountering bugs, test failures, runtime errors, unexpected behavior, broken builds, or "this doesn't work" reports. Systematic root-cause analysis before any patch — never blind-patches symptoms. Standalone (off the spec → scope → dispatch chain). Ends with a thinking-tier review of the fix.
.claude/skills/ccplugins-trace/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 119% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 81% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 53% | 0% |
Root cause, not symptom. Never patch over a bug without understanding why it happened.
Dispatcher and reviewer — Opus 4.7 (thinking-tier). Implementer/Searcher/Writer — Sonnet 4.6.
Every substantive step dispatches at least one Agent.
| Step | Worker tier | Thinking tier | Notes | |---|---|---|---| | 1 — Reproduce | Searcher (Sonnet) if repro missing | Reviewer (Opus) confirms repro is valid | Both tiers if dispatched | | 2 — Gather evidence | Searcher × 3 (Sonnet) parallel | Reviewer (Opus) verifies evidence coverage | Both tiers | | 3 — Hypothesize | — | Debugger (Opus) produces ranked hypotheses | Pure thinking | | 4 — Verify | Implementer (Sonnet) minimal change | Debugger (Opus) re-evaluates against evidence | Both tiers · loop | | 5 — Fix at root | Implementer (Sonnet) | Reviewer (Opus) checks no error-swallow / no symptom-patch | Both tiers | | 6 — Regression test | Writer (Sonnet) | Reviewer (Opus) confirms test fails-without / passes-with | Both tiers | | 7 — Memory + final | Writer (Sonnet) appends pitfall | Reviewer (Opus) final validation | Both tiers |
Agents — Searcher (Sonnet, if needed) ⇒ Reviewer (Opus).
Searcher — locating bug reproduction in recent changes/tests.**Reviewer** — confirming reproduction is valid to validate the repro actually fails for the stated reason (not a flake).Agents — Searcher × 3 (Sonnet) parallel ⇒ Reviewer (Opus).
Searcher — reading error stack traces and logsSearcher — mapping the code paths involvedSearcher — finding related tests (passing and failing)**Reviewer** — verifying evidence coverage to confirm the three Searchers actually triangulate the failure surface. If gaps remain, redispatch.Agents — Debugger (Opus, thinking-tier).
Dispatch **Debugger** — root cause analysis: <bug-summary> — model: opus.
Apply 5 Whys + hypothesis testing + bisect mindset:
Agents — Implementer (Sonnet) ⇒ Debugger (Opus).
Implementer — verifying hypothesis: <hypothesis> — make the minimal change needed to confirm/falsify.**Debugger** — re-evaluating hypothesis against test result to re-check against the evidence from Step 2.Agents — Implementer (Sonnet) ⇒ Reviewer (Opus).
Implementer — fixing root cause: <root-cause> with full context: the bug, the verified root cause, the minimal fix.**Reviewer** — checking fix is at root to verify the fix actually addresses the cause and doesn't patch the symptom.Constraints (non-negotiable):
Agents — Writer (Sonnet) ⇒ Reviewer (Opus).
Writer — adding regression test for <bug>.**Reviewer** — confirming regression test fails-without and passes-with the fix..hyperflow/memory/pitfalls.md.Agents — Writer (Sonnet) ⇒ Reviewer (Opus).
Writer — appending pitfall to .hyperflow/memory/pitfalls.md per memory-system.md: the bug pattern, why tests missed it, prevention strategy. Tags — pitfall plus domain tags.**Reviewer** — final validation of fix + test + memory entry. This is the integration review for the trace flow.| Symptom patch | Why it's wrong | |---|---| | "Just catch the exception" | Find why it threw | | "Add a null check" | Find why it was null | | "Increase the timeout" | Find why it's slow | | "Retry on failure" | Understand the failure mode first |
── Debug Result ─────────────────────
Bug: <one-line>
Reproducible: yes / no / intermittent
Root cause: <one-line>
Fix: <one-line summary>
Files changed: <list>
Regression test: <path>
─────────────────────────────────────End with usage summary (model names, agent count, token totals) per output-style.md.
Debug is off the auto-chain — it's standalone. After Step 7 reviewer passes, stop and suggest /hyperflow:deploy to run pre-push gates and commit the fix + regression test together. Do not auto-invoke ship — push requires explicit user opt-in.
Full rules in DOCTRINE.md. See also worker-prompt.md and reviewer-prompt.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 8,823 | 15,813 | +79% | 1 | 1 | 0% | 383 | 1,752 | +357% | 0 | 0 | — |
case-02 | fail→fail | 7,217 | 7,325 | +1% | 1 | 1 | 0% | 194 | 1,955 | +908% | 0 | 0 | — |
case-03 | fail→fail | 7,012 | 7,239 | +3% | 1 | 1 | 0% | 357 | 2,088 | +485% | 0 | 0 | — |
case-04 | fail→fail | 5,214 | 15,813 | +203% | 1 | 1 | 0% | 715 | 4,437 | +521% | 0 | 0 | — |
case-05 | pass→fail | 39,854 | 8,363 | -79% | 1 | 1 | 0% | 8,229 | 2,028 | -75% | 0 | 0 | — |
case-06 | pass→fail | 8,514 | 9,114 | +7% | 1 | 1 | 0% | 1,369 | 1,830 | +34% | 0 | 0 | — |
case-07 | fail→pass | 12,781 | 6,411 | -50% | 1 | 1 | 0% | 1,840 | 2,433 | +32% | 0 | 0 | — |
case-08 | fail→pass | 11,832 | 5,446 | -54% | 1 | 1 | 0% | 1,701 | 2,340 | +38% | 0 | 0 | — |
case-09 | fail→pass | 13,151 | 20,815 | +58% | 1 | 1 | 0% | 2,160 | 4,726 | +119% | 0 | 0 | — |
case-10 | fail→fail | 10,726 | 8,838 | -18% | 1 | 1 | 0% | 1,498 | 2,604 | +74% | 0 | 0 | — |
case-11 | fail→fail | 13,002 | 8,512 | -35% | 1 | 1 | 0% | 1,853 | 2,689 | +45% | 0 | 0 | — |
case-12 | pass→pass | 15,311 | 26,695 | +74% | 1 | 1 | 0% | 2,449 | 5,815 | +137% | 0 | 0 | — |
case-13 | fail→pass | 15,420 | 16,564 | +7% | 1 | 1 | 0% | 2,018 | 3,660 | +81% | 0 | 0 | — |
case-14 | fail→fail | 11,122 | 9,758 | -12% | 1 | 1 | 0% | 1,573 | 2,850 | +81% | 0 | 0 | — |
case-15 | fail→fail | 13,425 | 4,451 | -67% | 1 | 1 | 0% | 1,944 | 2,088 | +7% | 0 | 0 | — |
case-16 | fail→pass | 10,885 | 5,565 | -49% | 1 | 1 | 0% | 1,378 | 2,114 | +53% | 0 | 0 | — |
case-17 | fail→pass | 7,307 | 5,188 | -29% | 1 | 1 | 0% | 928 | 2,242 | +142% | 0 | 0 | — |
case-18 | fail→pass | 10,380 | 4,267 | -59% | 1 | 1 | 0% | 1,386 | 2,022 | +46% | 0 | 0 | — |
case-19 | fail→pass | 10,994 | 3,509 | -68% | 1 | 1 | 0% | 1,555 | 2,030 | +31% | 0 | 0 | — |
case-20 | pass→pass | 23,564 | 3,189 | -86% | 1 | 1 | 0% | 2,689 | 1,847 | -31% | 0 | 0 | — |
case-21 | pass→pass | 9,098 | 4,298 | -53% | 1 | 1 | 0% | 1,285 | 2,081 | +62% | 0 | 0 | — |
case-22 | fail→pass | 13,431 | 7,276 | -46% | 1 | 1 | 0% | 1,877 | 2,083 | +11% | 0 | 0 | — |
case-23 | fail→fail | 14,303 | 4,490 | -69% | 1 | 1 | 0% | 2,205 | 2,114 | -4% | 0 | 0 | — |
case-24 | fail→pass | 8,769 | 4,473 | -49% | 1 | 1 | 0% | 1,099 | 2,062 | +88% | 0 | 0 | — |
case-25 | fail→pass | 10,437 | 2,839 | -73% | 1 | 1 | 0% | 1,533 | 1,857 | +21% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 25 cases were attempted, and 20 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +36 percentage points is the difference between those two pass rates over the 20 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.