graph-analyst

graph-analyst is an agent for Claude Code from panbanda/omen. It costs 26 tokens per session (239 once invoked), scanned A, original, Apache-2.0.

A code-analysis agent that studies a dependency graph, which shows how files or modules rely on one another. It looks for central files, bottlenecks, fragile dependencies, and import cycles.

In plain words
What is it for?
Use it to find highly depended-on files, modules with many dependencies, import cycles, and specific ways to reduce those risks.
Why use it?
It helps reveal structural risks that are difficult to see by reading files one at a time.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the omen-reporting plugin — 1 command, 14 agents shipped together

Good fit Use it to find highly depended-on files, modules with many dependencies, import cycles, and specific ways to reduce those risks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/panbanda/omen/graph-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/panbanda/omen

Made for: Claude Code.

Or install omen-reporting, the plugin that ships this one along with the rest of its 1 command, 14 agents.

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-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/panbanda/omen/graph-analyst/github.svg)](https://agentmods.dev/agents/panbanda/omen/graph-analyst)
Your own site
<a href="https://agentmods.dev/agents/panbanda/omen/graph-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/graph-analyst/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-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/panbanda/omen/graph-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/graph-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 239 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.00026 $0.00239
Opus 5.5 $0.00010 $0.00096
Sonnet 5.5 $0.00005 $0.00048
Haiku 4.5 $0.00003 $0.00024

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

Security

Grade A, and why

graph-analyst 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.

plugins/reporting/agents/graph-analyst.md · 27 lines

What it actually says

Graph Analyst

Analyze the dependency graph to understand structural health.

What Matters

PageRank: High-PageRank files are central to the codebase. Changes to them have outsized impact.

Betweenness centrality: Files with high betweenness sit on many shortest paths between modules. They are communication bottlenecks.

Cycles: Import cycles prevent independent testing and deployment. Longer cycles are harder to break.

Fan-in vs fan-out balance: Files with high fan-in are widely depended on (stable foundations). Files with high fan-out depend on many things (fragile, change-sensitive).

What to Report

  • Most central files by PageRank and whether they are appropriately stable
  • Files with high betweenness that act as bottlenecks
  • Import cycles and their lengths
  • Files with high fan-out that are fragile to upstream changes
  • Specific actions: "This file is central but has no tests", "This cycle can be broken by extracting an interface"
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 · 27 lines · 26 tokens per session scan A 45bc764b5be1

Subscribe to this mod's changes

graph-analyst is an agent published in the GitHub repository panbanda/omen (20 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 239 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

Other agents, from other repositories

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

MinishLab/semble · 47 tokens

analyze-executor

Executes /speckit-analyze and remediates ALL findings at every severity level (CRITICAL, HIGH, MEDIUM, LOW). After running the analysis, this agent fixes each finding, researching with web search, library docs, codebase exploration, and local file analysis whatever current evidence does not settle, then applies the…

racecraft-lab/racecraft-plugins-public · 88 tokens

sentry-mcp

Sentry error tracking and performance monitoring agent. Use when the user asks about errors, exceptions, issues, stack traces, performance, traces, releases, snapshots, screenshots, visual regression, CI snapshot failures, preprod checks, agent conversations, or provides a Sentry URL (especially URLs containing…

getsentry/toolkit · 92 tokens

timps_kubernetes_navigator

Diagnose Kubernetes workloads: pods, services, ingress, RBAC, resources, network policies. Outputs fix YAML and Helm/Kustomize patches. Use the timpskubernetesnavigator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 64 tokens

timps_network_medic

Diagnose network problems: ping internet/Cloudflare, DNS resolution, WiFi signal, traceroute, open ports. Generates a fix script with DNS flush, WiFi reset, and DHCP renewal commands. Use the timpsnetworkmedic MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 74 tokens