code-graph-review

code-graph-review is a skill for Claude Code, Codex from oleg494/coding-kit. It costs 92 tokens per session (758 once invoked), scanned A, original, MIT.

A code-review aid that maps how a proposed change may affect the rest of a codebase. It examines changed files, connected code paths, architecture, dead code, and possible rename effects.

In plain words
What is it for?
Use it before committing or reviewing a change when you need to assess its impact, affected user flows, architectural connections, dead code, or rename risks.
Why use it?
It helps reveal breakage outside the files you edited and points out areas where tests or understanding may be missing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it before committing or reviewing a change when you need to assess its impact, affected user flows, architectural connections, dead code, or rename risks.

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

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 code-graph-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oleg494/coding-kit/code-graph-review"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/code-graph-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 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.00092 $0.00758
Opus 5.5 $0.00037 $0.00303
Sonnet 5.5 $0.00018 $0.00152
Haiku 4.5 $0.00009 $0.00076

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

Security

Grade A, and why

code-graph-review 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 16d 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.

.agents/skills/code-graph-review/SKILL.md · 60 lines

How it starts

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

Code graph review: what will the change break

Answers "what does this N-file change break", alongside a quality review rather than instead of one: it produces the impacted paths and symbols that a reviewer judges, and issues no verdict of its own. Applies when a change spans several files, to a rename, to a blast-radius or affected-flow question, or to an explicit graph review; a single-file edit with local callers needs only its callers read.

The graph path applies only when the code-review-graph MCP server and a built graph exist in this environment; otherwise use the native fallback. Nothing obliges you to install or build a graph for a review. Never claim graph-level findings (hubs, communities, flows) that a native search did not produce.

Workflow (graph path — MCP present)

  1. Applicable diagnostics — configured LSP and repository checks; unrelated ones are not a blocker.
  2. Graph freshness — update incrementally only when writes are authorized; on a read-only review over a stale graph, use source/LSP and state the limitation.
  3. detect_changes — diff → risk score, priorities (what to inspect first), test gaps. The main review tool.
  4. get_impact_radius (BFS depth over the diff) and get_review_context (code snippets) — the blast radius itself.
  5. get_affected_flows / list_flows — which user paths pass through the changed files.
  6. Structural questions only — get_hub_nodes, get_bridge_nodes, get_surprising_connections, get_architecture_overview, get_knowledge_gaps, get_suggested_questions.
  7. Dead code and rename are analysis — refactor_tool(mode="dead_code") and refactor_tool(mode="rename") return candidates and a per-site preview. apply_refactor_tool writes to the codebase, so it is not part of review; applying a plan needs an implementation task with authority to edit.
  8. Confirm dead-code candidates via LSP (find_references) before reporting them removable: detection false-positives on callbacks and Thread(target=...) registrations.

Read the full file on GitHub · 60 lines

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. 16d ago Changed 0c665774add7
  2. 25d ago Changed 0f79af9e31e0
  3. 1mo ago Changed · +12 lines · +11 tokens per session 81dc96df58aa
  4. 1mo ago Changed dbcd8e4b78ec
  5. 1mo ago Changed af82076fb4e8
  6. 1mo ago Changed f1005c3323cf
  7. 1mo ago Changed 0d87c0944688
  8. 1mo ago Changed · +8 lines · +10 tokens per session 931ee2cdb8a8
  9. 1mo ago Changed c25e5300bb89
  10. 2mo ago First seen · 40 lines · 71 tokens per session scan A 26e0f2c16d16

Subscribe to this mod's changes

code-graph-review is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed 16d ago), licensed MIT. It adds 92 tokens to every session and 758 once invoked, about $0.0004 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-31.

Related

code-graph-review compared with skills from other repositories

code-graph-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-graph-reviewoleg494/coding-kitSkill316d agoMITA92Claude Code, Codex
spae-inspectmystilleef/spae-frameworkSkill22d agoMITC60Claude Code
code-reviewmystilleef/spae-frameworkSkill22d agoMITC28Claude Code
cleanmystilleef/spae-frameworkSkill22d agoMITC13Claude Code
reviewmystilleef/spae-frameworkSkill22d agoMITC31Claude Code
spec-kitty-mission-reviewPriivacy-ai/spec-kittySkill1.7k11d agoMITA155Claude Code, Codex
resolve-pr-commentsfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A47Claude Code