superplan-debug

superplan-debug is a skill for Claude Code, Codex from superplan-md/superplan-plugin. It costs 32 tokens per session (406 once invoked), scanned A, original, Apache-2.0.

A structured debugging skill for finding the cause of failed checks, flaky results, runtime bugs, or unexplained behavior before changing code.

In plain words
What is it for?
Use it to characterize a failure, narrow down its cause, choose a discriminating test, fix the underlying issue, and verify the result.
Why use it?
It replaces guesswork with reproduction, trusted diagnostics, explicit hypotheses, and targeted checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to characterize a failure, narrow down its cause, choose a discriminating test, fix the underlying issue, and verify the result.

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

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 superplan-debug

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/superplan-md/superplan-plugin/superplan-debug"><img src="https://agentmods.dev/badge/skills/superplan-md/superplan-plugin/superplan-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 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.00032 $0.00406
Opus 5.5 $0.00013 $0.00162
Sonnet 5.5 $0.00006 $0.00081
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

superplan-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 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.

output/skills/superplan-debug/SKILL.md · 58 lines

What it actually says

Systematic Debugging

Overview

Debug by evidence and hypothesis, not patch roulette.

Root-Cause Law

Do not start broad fixes before reproducing or characterizing the failure well enough to distinguish symptom from cause.

If the current evidence does not isolate the failure mode, gather more evidence first.

Hard Gate

Do not propose or apply speculative fixes before Phase 1 has produced a concrete failure model.

Trigger

Use when:

  • execution is blocked by a bug, failing check, flaky result, or broken behavior
  • unexpected behavior appears during tracked work
  • the system is tempted to fix before understanding

Phases

  1. Reproduce or characterize the failure.
  2. Narrow the failure surface with logs, scripts, tests, and diagnostics already trusted by the repo.
  3. Form explicit hypotheses.
  4. Run the cheapest discriminating check.
  5. Fix the root cause.
  6. Verify against the relevant task contract and acceptance criteria.

Core Rules

  • gather evidence from the repo's existing logs, scripts, harnesses, and diagnostics first
  • change one variable at a time when narrowing the cause
  • fix the root cause, not the most recent symptom
  • if the bug reveals a durable trap, record it in .superplan/gotchas.md
  • if the fix changes the intended path materially, update .superplan/decisions.md

Forbidden Behavior

  • guessing the fix before understanding the failure
  • changing multiple variables at once and calling the result evidence
  • treating one passing rerun as proof the root cause is solved
  • rewriting the task contract just to make the bug look smaller

Handoff

Once root cause is clear, execution may continue through superplan-execute. If the investigation reveals structural drift, hand back to superplan-shape.

Files

What ships with it

1 file 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 · 58 lines · 32 tokens per session scan A 3560b0c77b71

Subscribe to this mod's changes

superplan-debug is a skill published in the GitHub repository superplan-md/superplan-plugin (75 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 406 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-30.

Related

Other skills, from other repositories

ci-triage

Diagnose failing CI, build, release-gate, or test runs for Cool Workflow. Use when a GitHub Actions check, local npm test, npm run build, release gate, smoke test, or generated-manifest check fails and Codex must identify the first actionable failure with logs and verifier commands.

coo1white/cool-workflow · 66 tokens

pr-review

Review Cool Workflow pull requests or branch diffs. Use when Codex must inspect code changes for bugs, regressions, FreeBSD/POLA violations, missing tests, generated artifact drift, release-contract risk, or CI implications, and return findings first with file/line citations.

coo1white/cool-workflow · 58 tokens

code_explorer

Explores the repository to locate primary source files, coupled UI components, and test files for bug reports or feature requests.

google-gemini/gemini-cli · 28 tokens

test-failure-explorer

Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.

QwenLM/qwen-code · 32 tokens

feedback

Skill "feedback" from Hmbown/Codewhale, covering feedback, when to use, setup, workflow and non-goals.

Hmbown/Codewhale · 0 tokens

session-investigator

Investigate fast-agent session and history files to diagnose issues. Use when a session ended unexpectedly, when debugging tool loops, when correlating sub-agent traces with main sessions, or when analyzing conversation flow and timing. Covers session.json metadata, history JSON format, message structure, tool…

evalstate/fast-agent · 68 tokens