debugging-and-triage

debugging-and-triage is a skill for Claude Code, Codex from GxFn/Wakeflow. It costs 47 tokens per session (852 once invoked), scanned A, original, MIT.

A structured method for investigating a failing or uncertain behavior by reproducing it, tracing its likely cause, and classifying who or what owns the issue.

In plain words
What is it for?
Use it to investigate failed tests, smoke runs, runtime observations, dashboard problems, cold-start issues, or user reports before sending the issue to the responsible team.
Why use it?
It replaces guesses with a repeatable feedback loop and separates product bugs from environment problems, missing evidence, and out-of-scope requests.

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/gxfn/wakeflow/debugging-and-triage
Any agent
npx skills add GxFn/Wakeflow --skill debugging-and-triage
Clone the repo
git clone --depth 1 https://github.com/GxFn/Wakeflow

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-and-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/gxfn/wakeflow/debugging-and-triage.svg)](https://agentmods.dev/skills/gxfn/wakeflow/debugging-and-triage)
Your own site
<a href="https://agentmods.dev/skills/gxfn/wakeflow/debugging-and-triage"><img src="https://agentmods.dev/badge/skills/gxfn/wakeflow/debugging-and-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00047 $0.00852
Opus 5 $0.00023 $0.00426
Sonnet 5 $0.00009 $0.00170
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

debugging-and-triage 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 5d 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.

3. HTTP/curl script against a local or test service.
test/fixtures/legacy-origins/claude-code-0.5.3-f6eba08d/static/shared-setup/WakeflowFixture/Test/skills/debugging-and-triage/SKILL.md · 121 lines

How it starts

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

Debugging And Triage

Build a reliable signal, reproduce the issue, isolate the likely cause, and return evidence to the controller. Test may diagnose and classify; product code fixes stay with the owning repository unless the task card explicitly says otherwise.

Source Skills Used

  • mattpocock/skills/engineering/diagnose: feedback loop first, reproduce, ranked falsifiable hypotheses, targeted instrumentation, fix/regression discipline, cleanup, and post-mortem.
  • systematic-debugging: reproduce, localize, trace, fix, verify, and condition-based waiting.
  • triage: classify bug, environment, out-of-scope, missing owner, or missing evidence.
  • Industry basis: scientific debugging and SRE symptom/cause separation.

Wakeflow Role

Use this skill for Test-scoped failures:

  • a controller test card failed;
  • a product window backfill has uncertain evidence;
  • a runtime/dashboard/cold-start observation is inconsistent;
  • a reproducer is needed before routing to a product window.

Stop Before Guessing

Do not hypothesize from vibes. First create or identify a pass/fail signal.

Try these feedback-loop forms in order:

  1. Targeted failing test at the right seam.
  2. CLI command with fixture input and expected output.
  3. HTTP/curl script against a local or test service.
  4. Browser or UI script with explicit assertions.
  5. Replay captured request, event, trace, or log.
  6. Minimal harness around the failing path.
  7. Repeated loop for flaky behavior.
  8. Human-in-the-loop checklist only when automation cannot observe the issue.

If no credible loop can be built, stop and request the missing artifact: environment access, logs, HAR/trace, repro steps, fixture, or instrumentation permission.

Workflow

  1. Build the feedback loop.
    • Make it specific, fast enough, and deterministic where possible.
    • For flake, raise reproduction rate and record rate.
  2. Reproduce the described behavior.
    • Confirm it is the user's/controller's failure, not a nearby failure.
    • Capture exact symptom and evidence path.
  3. Generate three to five ranked hypotheses.
    • Each must be falsifiable.
    • Each must state a prediction.
  4. Probe one variable at a time.
    • Prefer debugger/inspection when available.
    • Use targeted logs with a unique prefix if logs are needed.
    • Do not "log everything".
  5. Classify.
    • Product defect.
    • Test defect.
    • Environment/configuration.
    • Flaky/non-deterministic.
    • Missing evidence.
    • Out of scope.
    • Needs owner decision.
  6. Return to controller.
    • Evidence.
    • Classification.
    • Owner recommendation.
    • Whether a regression test seam exists.
    • Residual risk.

Read the full file on GitHub · 121 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. 5d ago First seen · 121 lines · 47 tokens per session scan A 22cdb31754c9

Subscribe to this mod's changes

debugging-and-triage is a skill published in the GitHub repository GxFn/Wakeflow (5 stars, last pushed 11d ago), licensed MIT. It adds 47 tokens to every session and 852 once invoked, about $0.0002 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

archon

Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across context windows. Use for work that spans multiple sessions and needs persistent state, quality judgment, and strategic decomposition.

SethGammon/Citadel · 54 tokens

fleet

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave in isolated worktrees, collects discoveries, shares context between waves. Use when work decomposes into 3+ independent streams that can run simultaneously.

SethGammon/Citadel · 56 tokens

daemon

Continuous autonomous operation mode. Keeps campaigns running 24/7 by chaining Claude Code sessions via RemoteTrigger. Each session picks up from the campaign's continuation state, works until context runs low or the phase completes, then schedules the next session. Auto-stops on campaign completion or budget…

SethGammon/Citadel · 69 tokens

evolve

Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope. Accumulates a persistent belief model and…

SethGammon/Citadel · 60 tokens

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

setup

First-run experience for the harness. Three modes: Recommended (guided, 3 min), Full Tour (guided + skill walkthrough, 8 min), and Express (zero questions, 30 sec). Installs hooks first, detects stack, configures harness.json, runs a live demo on real code, and prints a reference card.

SethGammon/Citadel · 69 tokens