parallel-debug

A debugging coordinator that investigates several plausible causes of a difficult software bug at the same time using separate investigation sessions. It gathers the findings, decides whether they agree, and coordinates the final result.

In plain words
What is it for?
Use it when multiple root causes need parallel testing, a sequential investigation was inconclusive, or time pressure calls for concurrent debugging. It is intended for development environments, not production systems.
Why use it?
It can shorten investigations when the cause is unclear, intermittent, or hard to reproduce. Separating hypotheses helps compare competing explanations instead of committing too early to one.

Skill for Claude CodeCodex

Part of the debugging-workflow plugin — 1 skill, 2 agents shipped together

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/sembraniteam/claude-plugins/parallel-debug
Any agent
npx skills add sembraniteam/claude-plugins --skill parallel-debug
Clone the repo
git clone --depth 1 https://github.com/sembraniteam/claude-plugins

Made for: Claude Code, Codex.

Or install debugging-workflow, the plugin that ships this one along with the rest of its 1 skill, 2 agents.

Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,554 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.00176 $0.04554
Opus 5 $0.00088 $0.02277
Sonnet 5 $0.00035 $0.00911
Haiku 4.5 $0.00018 $0.00455

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

Security

Grade A, and why

parallel-debug 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 2d 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.

debugging-workflow/skills/parallel-debug/SKILL.md · 192 lines

How it starts

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

Parallel Debug Workflow

This skill is the orchestrator. It owns everything the individual agents (hypothesis-investigator, hypothesis-arbitrator) do not: session setup, isolation, collecting reports, deciding whether arbitration is even needed, applying the final result, and cleaning up afterward.

When to Use

Use parallel-debug when:

  • The root cause is genuinely unclear (multiple plausible theories coexist)
  • The bug is intermittent or hard to reproduce consistently
  • A previous sequential debug pass was inconclusive
  • Time pressure demands concurrent investigation over sequential elimination

For bugs with an obvious root cause, a direct sequential investigation is faster and uses fewer resources. This is a development-phase tool only — it never runs against a production environment. See the plugin README's "When NOT to Use" section for the full list of cases where a manual investigation beats this workflow (simple bugs, heavy test environments, tight deadlines).


Step 0 — Session setup

  1. Create a session directory: .claude/debug-sessions/{session_id}/ where session_id is a short timestamp-based slug (e.g. 20260701-1432). If the project's .gitignore does not already exclude .claude/debug-sessions/, tell the user to add it — otherwise session directories and reports show up as untracked files in git status. "No uncommitted changes" in step 2 refers only to tracked files; untracked leftover session directories from a prior run do not block a new session, but should still be cleaned up if stale.
  2. Confirm the repo has no uncommitted changes to tracked files on the current branch before proceeding. If it does, ask the user whether to stash them first — do not silently stash or discard user work.
  3. Record the base commit SHA in .claude/debug-sessions/{session_id}/base.txt. Every investigator worktree and the final patch application will be diffed against this SHA.
  4. Read .claude/debugging-workflow.local.md if it exists. Parse the YAML frontmatter:
    • max_parallel_agents — integer 2–5, default 4; caps how many hypothesis-investigator agents run concurrently (see the batching rule in Step 3), independent of hypothesis_count
    • time_budget_minutes — integer 1–15, default 5, approximate time budget per agent (agents run in parallel, so this is not a total)
    • hypothesis_count — integer 2–4, default 3
    • preflight_max_minutes — integer, default 5; wall-clock cap for item 5 below
    • degraded_mode — boolean, default false; forces the single-worktree, sequential-hypothesis execution path in Steps 2/3/7 — see references/resource-constraints.md

Read the full file on GitHub · 192 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. 2d ago First seen · 192 lines · 176 tokens per session scan A 2ee41bcaaf8b

Subscribe to this mod's changes

parallel-debug is a skill published in the GitHub repository sembraniteam/claude-plugins (2 stars, last pushed 29d ago), licensed MIT. It adds 176 tokens to every session and 4,554 once invoked, about $0.0009 per session on Opus 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens