graph-guided-code-reading

graph-guided-code-reading is a skill for Codex from markoblogo/abvx-agent-skills. It costs 62 tokens per session (628 once invoked), scanned A, original, MIT.

A method for reading a medium or large code repository by following its important symbols, entry points, dependencies, changed files, and tests. It treats the codebase as connected parts instead of reading every file.

In plain words
What is it for?
Use it for pull-request reviews, architecture questions, cross-module bugs, onboarding, and tracing a command, route, job, or error through the repository.
Why use it?
It reduces wasted reading and helps identify the smallest set of files that explains a behavior or change. This is useful when reviewing code, debugging, or learning an unfamiliar project.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for pull-request reviews, architecture questions, cross-module bugs, onboarding, and tracing a command, route, job, or error through the repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/markoblogo/abvx-agent-skills/graph-guided-code-reading
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 markoblogo/abvx-agent-skills --skill graph-guided-code-reading
Clone the repo
git clone --depth 1 https://github.com/markoblogo/abvx-agent-skills

Made for: 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 graph-guided-code-reading

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/graph-guided-code-reading"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/graph-guided-code-reading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 628 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.00062 $0.00628
Opus 5.5 $0.00025 $0.00251
Sonnet 5.5 $0.00012 $0.00126
Haiku 4.5 $0.00006 $0.00063

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

Security

Grade A, and why

graph-guided-code-reading 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/graph-guided-code-reading/SKILL.md · 87 lines

How it starts

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

Graph Guided Code Reading

Save tokens by reading the codebase as a dependency graph, not as a pile of files.

Core Principle

Most repo-reading waste comes from opening too many files too early. Build a small relevance graph first, then read only the nodes that matter.

Minimal Relevance Graph

For each task, identify only:

  • the user-visible entrypoint or changed surface;
  • the owning module or service;
  • the direct dependencies and dependents that shape behavior;
  • the nearest tests, config, or contracts that constrain the change.

Stop expanding once the next action is clear.

Reading Workflow

  1. Start from the highest-signal anchor:
    • changed files;
    • failing test;
    • route, command, job, or entry function;
    • exact symbol or error text.
  2. Build a compact focus set:
    • entrypoint;
    • implementation module;
    • adjacent callers/callees or imports;
    • validating tests.
  3. Read narrow slices around the relevant symbols first.
  4. Expand one edge at a time only if the current node does not answer the question.
  5. Maintain a short checked-location ledger so files are not reopened without a reason.

Preferred Tools

  • If a repo graph, repomap, AST, or change-impact tool exists, use it first.
  • If not, emulate graph reading with:
    • rg for symbol ownership;
    • git diff --name-only or failing-test paths for anchors;
    • imports, call sites, and config references for edges;
    • nearby tests for behavior contracts.

Task Patterns

PR Review

  • Start with changed files and public interfaces.
  • Trace immediate blast radius: callers, consumers, schemas, tests.
  • Review the impact set before reading unrelated modules.

Debugging

  • Start from the failing surface and walk inward.
  • Prefer one causal path over opening every suspected file.
  • Keep hypotheses tied to specific nodes in the focus set.

Architecture Questions

  • Start from entrypoints and major seams, not internal helpers.
  • Build a compact service/module map before diving into implementation details.

Read the full file on GitHub · 87 lines

Files

What ships with it

2 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 · 87 lines · 62 tokens per session scan A 48264788680c

Subscribe to this mod's changes

graph-guided-code-reading is a skill published in the GitHub repository markoblogo/abvx-agent-skills (16 stars, last pushed 6d ago), licensed MIT. It adds 62 tokens to every session and 628 once invoked, about $0.0002 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

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

deck-retro

Run a fully local agent-deck retrospective over the user's own transcripts, Recall index and logs. Use when a user wants to find recurring failures or take their own finding from investigation through synthetic reproduction, a user-filed issue, a test-first fix and contributor PR handoff. Also use for weekly usage…

asheshgoplani/agent-deck · 86 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens