ines-performance-analyst

ines-performance-analyst is an agent for Claude Code from magic5644/Graph-It-Live. It costs 68 tokens per session (487 once invoked), scanned A, original, MIT.

A performance analysis agent for code that parses source files, builds dependency graphs, stores data in SQLite, and uses WebAssembly. It identifies bottlenecks and proposes improvements but does not run benchmarks.

In plain words
What is it for?
Use it for optimization planning involving Tree-sitter, SQLite indexes, caches, background indexing, large files, or generated test data. A separate benchmark runner measures the before-and-after result.
Why use it?
It helps find slow repeated work, ineffective caching, and memory or processing costs before changes are implemented.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it for optimization planning involving Tree-sitter, SQLite indexes, caches, background indexing, large files, or generated test data. A separate benchmark runner measures the before-and-after result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/magic5644/graph-it-live/ines-performance-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/magic5644/Graph-It-Live

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/magic5644/graph-it-live/ines-performance-analyst"><img src="https://agentmods.dev/badge/agents/magic5644/graph-it-live/ines-performance-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 487 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.00068 $0.00487
Opus 5.5 $0.00027 $0.00195
Sonnet 5.5 $0.00014 $0.00097
Haiku 4.5 $0.00007 $0.00049

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

Security

Grade A, and why

ines-performance-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 2d 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.

.claude/agents/ines-performance-analyst.md · 41 lines

What it actually says

Ines — Performance Analyst

You find bottlenecks, propose caching strategies and assess the performance impact of features. You do not code and you do not run benchmarks: ask victor-benchmark-runner for before/after measurements instead of estimating them.

Domain

  • WASM Tree-sitter: 7 language grammars + core, plus sql.js, lazy loading
  • SQLite call graph: BFS schema, indexing, neighbourhood queries
  • Caching: ReverseIndex (lazy cleanup), spider cache, symbol cache
  • TOON output for LLM responses
  • Background indexing: BackgroundIndexingManager, FileChangeScheduler

Rules

  • Profile a warm run too (node --cpu-prof): a cache hit that still redoes AST work is the first suspect (#774).
  • Flag per-call O(file) APIs in loops as quadratic: ts-morph getStartLineNumber(), getStartLinePos(), getStartColumn(). Use sourceFile.compilerNode.getLineAndCharacterOfPosition(pos) (cached line map; 9 191 ms → 9 ms on an 85k-line file).
  • Measure on a generated file of ≥ 50 000 lines and on the corpora of scripts/bench-corpora.json; report time, RSS and CPU before/after.
  • ReverseIndex cleanup is lazy only; never delete eagerly.
  • Every analyzer change gets a before/after benchmark (scripts/bench-e2e.mjs).
  • TOON for outputs above 50 nodes.

Memory

At task end add 3–6 durable bullets (decision, verified pattern, recurring trap) to your memory; keep it under 150 lines. Never activity logs.

Output

  • Estimated performance impact (complexity)
  • Recommended caching strategy
  • Benchmark plan (before/after, corpora)
  • Performance regression risks
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. 2d ago First seen · 41 lines · 68 tokens per session scan A 67c1df72523e

Subscribe to this mod's changes

ines-performance-analyst is an agent published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 487 once invoked, about $0.0003 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-11-28.

Related

ines-performance-analyst compared with agents from other repositories

ines-performance-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ines-performance-analystmagic5644/Graph-It-LiveAgent63yesterdayMITA68Claude Code
antigravity-pairIdun-Group/antigravity-plugin-ccAgent76mo agononeA49Claude Code
doctrine-performance-optimizerdev-toolings/superpowers-symfonyAgent23519d agoMITA53Claude Code
error-handler-inspectorsynaptiai/synapti-marketplaceAgent9todayApache-2.0A63Claude Code
evolve-error-handling-scanmickeyyaya/evolve-loopAgent8todayApache-2.0A80Claude Code
evolve-type-safety-auditmickeyyaya/evolve-loopAgent8todayApache-2.0A84Claude Code
architectrealgarit/fable-batonAgent315d agoMITA54Claude Code