debug-issue

debug-issue is a skill for Claude Code, Codex from tirth8205/code-review-graph. It costs 13 tokens per session (275 once invoked), scanned A, original, MIT.

A systematic debugging guide that uses a code knowledge graph to trace how a suspected problem moves through the program.

In plain words
What is it for?
It is for finding related code, tracing callers and called functions, following execution paths, checking recent changes, and seeing which other files may be affected.
Why use it?
It helps narrow a bug to the code path that triggers it and checks whether a recent change may have caused it.

Skill for Claude CodeCodex

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

Good fit It is for finding related code, tracing callers and called functions, following execution paths, checking recent changes, and seeing which other files may be affected.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tirth8205/code-review-graph/debug-issue
About the project

code-review-graph is a local-first code intelligence graph that builds a persistent structural map of a codebase and supplies relevant context to AI coding tools through MCP and a CLI. It is used for code review and large-repository workflows, with catalogue add-ons providing integrations and instructions for operating it.

tirth8205/code-review-graph · 32,974 stars · on GitHub · code-review-graph.com

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 tirth8205/code-review-graph --skill debug-issue
Clone the repo
git clone --depth 1 https://github.com/tirth8205/code-review-graph

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tirth8205/code-review-graph/debug-issue"><img src="https://agentmods.dev/badge/skills/tirth8205/code-review-graph/debug-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 275 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. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 13 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00013 $0.00275
Opus 5.5 $0.00005 $0.00110
Sonnet 5.5 $0.00003 $0.00055
Haiku 4.5 $0.00001 $0.00028

Measured 17d ago against content hash 6a783011ec92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-issue 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 17d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/debug-issue/SKILL.md · 24 lines

What it actually says

Debug Issue

Trace a bug through the knowledge graph before reading source.

Steps

  1. Call semantic_search_nodes_tool to find code related to the issue.
  2. Call query_graph_tool with callers_of and callees_of to trace the call chain in both directions.
  3. Call get_flow_tool for the execution path that reaches the suspect code. Its entry point is where the bug is triggered.
  4. Call detect_changes_tool to check whether a recent change caused the issue.
  5. Call get_impact_radius_tool on the suspect files to see what a fix would affect.

Token Efficiency Rules

  • Call get_minimal_context_tool(task="<your task>") before any other graph tool.
  • Pass detail_level="minimal" unless it is not enough. Minimal drops source, so leave semantic_search_nodes_tool(include_source=True) and get_review_context_tool at standard.
  • Prefer a targeted query_graph_tool call over a broad listing call.
  • Budget: about five tool calls per task. Source snippets stand in for file reads.
  • Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.
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. 17d ago Changed 6a783011ec92
  2. 2mo ago Changed · -5 lines 17d008a2c6cb
  3. 3mo ago First seen · 29 lines · 13 tokens per session scan A 68dd9bd6810e

Subscribe to this mod's changes

debug-issue is a skill published in the GitHub repository tirth8205/code-review-graph (32,974 stars, last pushed 14d ago), licensed MIT. It adds 13 tokens to every session and 275 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

debug-issue compared with skills from other repositories

debug-issue next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debug-issuetirth8205/code-review-graphSkill33k14d agoMITA13Claude Code, Codex
systemic-issue-triageGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA57Claude Code, Codex
issue-root-resolutionGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA45Claude Code, Codex
rdd-defect-workflowGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA38Claude Code, Codex
autofixQwenLM/qwen-codeSkill31ktodayApache-2.0C30Claude Code
aoe-runtime-lifecycleagent-of-empires/agent-of-empiresSkill5.2ktodayMITA76Claude Code, Codex
codegraphhashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A55Claude Code, Codex