Install
$ agentstack add skill-markoblogo-abvx-agent-skills-graph-guided-code-reading ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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
- Start from the highest-signal anchor:
- changed files;
- failing test;
- route, command, job, or entry function;
- exact symbol or error text.
- Build a compact focus set:
- entrypoint;
- implementation module;
- adjacent callers/callees or imports;
- validating tests.
- Read narrow slices around the relevant symbols first.
- Expand one edge at a time only if the current node does not answer the question.
- 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:
rgfor symbol ownership;git diff --name-onlyor 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.
Long Audits
- Partition the codebase into focused subgraphs.
- Finish one subgraph with evidence before opening the next.
Guardrails
- Do not force graph formalism on tiny repos where two files answer the question.
- Do not skip critical config, generated interfaces, or migration boundaries when they affect behavior.
- Do not keep expanding the graph after the winning path is already clear.
Final Report
Include the focus set, the decisive nodes, what was not read, and any remaining uncertainty at the edges.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: markoblogo
- Source: markoblogo/abvx-agent-skills
- License: MIT
- Homepage: https://abvx.xyz/work/abvx-agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.