Skip to content
Agentmart
Submit a tool

repo-graph-debug

Start from a failure, not a filename — turn a stacktrace, failing test, or diff into the exact code that matters, then read it.

Skill by James-Chahwan

IndexedMIT★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/james-chahwan-repo-graph-debug

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Start from a failure, not a filename — turn a stacktrace, failing test, or diff into the exact code that matters, then read it. Use when you have an error and need to know where to look.

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/repo-graph-debug

What's inside

Skill name
repo-graph-debug
Description
Start from a failure, not a filename — turn a stacktrace, failing test, or diff into the exact code that matters, then read it. Use when you have an error and need to know where to look.
License
MIT
Instructions
18 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# repo-graph debug

Paste the error, get the code. The on-ramp when something's broken — instead of grepping file names out of a traceback and opening each one.

## When to use

- You have a stacktrace, a failing-test id (`path::test_name`), or a diff / list of changed files.
- "Where do I even start with this error?"

## Steps

1. Call `find` with `query=<the raw stacktrace / test id / unified diff>`. It sniffs the shape (or pass `kind=stacktrace|test|diff`), resolves the frames/symbols/paths to nodes, then ranks the surrounding subgraph by relevance (Personalized PageRank). Every row carries `path:line`.
2. Call `read` with `node=<top result>` to pull that node's exact source, sliced from its file by the graph's line span — no grep, no scrolling. Add `context_lines=N` for padding around it.
3. Widen if needed: `impact` on the node for blast radius (it takes several comma-separated nodes — feed it the whole changed set) — `direction=both` at `depth=1` for direct callers/callees.

`find` only resolves frames that actually exist in the graph — if it returns nothing, the signal's paths/symbols don't match this repo; fall back to `find` with a plain keyword.

From James-Chahwan/repo-graph, MIT.

Signals

Stars
87
Forks
1
Open issues
1
Contributors
1
Last commit (this folder)
Jul 8, 2026 (3 months ago)
Last release
Oct 2, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from James-Chahwan

Cite this page

repo-graph-debug skill. Agent Mart. https://agentmart.dev/skills/james-chahwan-repo-graph-debug (last updated 2026-10-24)