debug-workflow

debug-workflow is a skill for Claude Code from synaptiai/agent-capability-standard. It costs 35 tokens per session (2,317 once invoked), scanned A, original, Apache-2.0.

A guided workflow for investigating software bugs and code changes from symptoms to root cause. It includes evidence tracking, safety checkpoints, rollback planning, and audit records.

In plain words
What is it for?
Use it to investigate failing tests or other issues, inspect the relevant files, trace causes with evidence, and document safe code changes.
Why use it?
It reduces the risk of changing code before the cause is understood. It keeps the investigation reproducible and makes recovery possible if a change fails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the agent-capability-standard plugin — 42 skills, 2 hooks shipped together

Good fit Use it to investigate failing tests or other issues, inspect the relevant files, trace causes with evidence, and document safe code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/agent-capability-standard/debug-workflow
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 synaptiai/agent-capability-standard --skill debug-workflow
Clone the repo
git clone --depth 1 https://github.com/synaptiai/agent-capability-standard

Made for: Claude Code.

Or install agent-capability-standard, the plugin that ships this one along with the rest of its 42 skills, 2 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 debug-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/debug-workflow/github.svg)](https://agentmods.dev/skills/synaptiai/agent-capability-standard/debug-workflow)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/debug-workflow"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/debug-workflow/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 debug-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/debug-workflow"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/debug-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,317 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.
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.00035 $0.02317
Opus 5.5 $0.00014 $0.00927
Sonnet 5.5 $0.00007 $0.00463
Haiku 4.5 $0.00003 $0.00232

Measured 1mo ago against content hash 06fc6dc59365, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-workflow 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 1mo 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.

skills/debug-workflow/SKILL.md · 293 lines

How it starts

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

Intent

Run the composed workflow debug-workflow using atomic capability skills to systematically debug code changes with full safety and audit capabilities.

Success criteria:

  • Every step output is grounded with evidence anchors
  • Safety gates are respected (checkpoint before any mutation)
  • All issues are traced to root cause with supporting evidence
  • Final result includes complete audit trail
  • Rollback pathway documented and verified

Compatible schemas:

  • reference/workflow_catalog.yaml

Inputs

Parameter Required Type Description
goal Yes string The debugging objective (e.g., "identify why tests fail after refactor")
scope Yes string|array Files, directories, or components to investigate
constraints No object Hard limits (e.g., time budget, files to exclude, severity threshold)
prior_context No object Previous debugging attempts or known information

Procedure

  1. Create checkpoint marker if mutation might occur:

    • Create .claude/checkpoint.ok after confirming rollback strategy
  2. Invoke /inspect and store output as inspect_out

    • Examine the scope for symptoms, error patterns, recent changes
  3. Invoke /search and store output as search_out

    • Find related code, error messages, similar patterns
  4. Invoke /map-relationships and store output as map-relationships_out

    • Map dependencies, call graphs, data flows
  5. Invoke /model-schema and store output as model-schema_out

    • Model the expected vs actual behavior
  6. Invoke /critique and store output as critique_out

    • Critically analyze hypotheses, identify weak points
  7. Invoke /plan and store output as plan_out

    • Create remediation plan with verification criteria
  8. Invoke /act-plan and store output as act-plan_out

    • Execute the fix with checkpoint protection
  9. Invoke /verify and store output as verify_out

    • Confirm fix addresses root cause

Read the full file on GitHub · 293 lines

Files

What ships with it

5 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. 1mo ago First seen · 293 lines · 35 tokens per session scan A 06fc6dc59365

Subscribe to this mod's changes

debug-workflow is a skill published in the GitHub repository synaptiai/agent-capability-standard (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 2,317 once invoked, about $0.0001 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

Other skills, from other repositories

deep-code-review

Use when reviewing current branch for bugs before pushing or merging, when wanting a thorough multi-agent review of local changes, or when preparing work for human review.

Peaky8linders/eu-ai-act-scanner · 34 tokens

sodam-harness-self-check

A self-checking instruction set for an AI agent. It tells the agent to verify important work, show evidence, and clearly disclose anything it could not check.

sodam-ai/SoDam-Harness-Eng · 51 tokens

sodam-loop-repair

A Bash safety rule requiring every Bash call to include a timeout calculated from validation settings, with a stated default of 300000 milliseconds. Bash is a command-line shell used to run scripts and commands.

sodam-ai/SoDam-Loop-Eng · 66 tokens

sodam-loop-status

A self-check command for SoDamLoop, a software system with safety components. It checks whether those components are still working normally.

sodam-ai/SoDam-Loop-Eng · 55 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

release-it

Build production-ready systems with stability patterns: circuit breakers, bulkheads, timeouts, and retry logic. Use when the user mentions "production outage", "circuit breaker", "deployment pipeline", "chaos engineering", "retry storm", "health checks", "my service keeps crashing", "prevent cascading failures", or…

wondelai/skills · 131 tokens