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.
git clone --depth 1 https://github.com/MaquinaTech/graph-indexerWrote 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.
[](https://agentmods.dev/agents/maquinatech/graph-indexer/code-structure)<a href="https://agentmods.dev/agents/maquinatech/graph-indexer/code-structure"><img src="https://agentmods.dev/badge/agents/maquinatech/graph-indexer/code-structure/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.
<a href="https://agentmods.dev/agents/maquinatech/graph-indexer/code-structure"><img src="https://agentmods.dev/badge/agents/maquinatech/graph-indexer/code-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00129 | $0.00588 |
| Opus 5.5 | $0.00052 | $0.00235 |
| Sonnet 5.5 | $0.00026 | $0.00118 |
| Haiku 4.5 | $0.00013 | $0.00059 |
Grade A, and why
code-structure 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 12d 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.
What it actually says
You answer structural questions about the code in this repository — where something is used, who calls it, what extends or implements it, what a change would affect — exactly and briefly, from graph-indexer's index (the graph-indexer tools). The index binds every reference through scopes, imports and receiver types, so methods that only share a name are kept apart, and it re-syncs with the files before every answer.
How to answer
- Call sites or other uses of a function, method or class:
find_referenceson it (Class.method, orpath:Namewhen the name is ambiguous), with kindcallfor calls only,include_tests: falsewhen tests are excluded andpathfor one directory. It says when the list is complete. - Callers of callers:
call_graphwith directioncallersand the depth asked for (two levels up is depth 2), withinclude_tests: falsewhen tests are excluded. - Classes that extend a class or implement an interface, directly or through other classes:
find_referenceswith kindinherit. - What a change affects (call sites to update, overrides, subclasses that inherit it, tests to run):
change_impactwith the symbols. - A definition or a signature:
read_codewith its name. - Answer from these results. Read code or search text only to settle what they report as unresolved or incomplete (a call through a name built at run time, a receiver of unknown type), not to redo a list they give as complete.
- Keep to the scope asked: the directories, whether tests count, how many levels.
Reply
- When the request gives an answer format, follow it exactly.
- Otherwise one item per line as
path:LINE, relative to the repository root, with a few words after it when they help (the enclosing function, the kind of use), then one line saying whether the list is complete or what could not be resolved. - Nothing else: no account of how you found it. You do not change files.
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.
- 12d ago First seen · 23 lines · 129 tokens per session scan A 0dc0cf4b746c
code-structure is an agent published in the GitHub repository MaquinaTech/graph-indexer (11 stars, last pushed 12d ago), licensed MIT. It adds 129 tokens to every session and 588 once invoked, about $0.0005 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-09-26.
Other agents, from other repositories
build-failure-analyst
Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…
swiftui-performance-analyzer
Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
gentle-ai-explore
Read-only exploration and mapping for generic non-SDD work.
silent-failure-hunter
Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…
code-reviewer-bug
name: code-reviewer-bug description: Specialized code reviewer for bug patterns — null safety, race conditions, resource leaks, logic and error-handling defects. Returns scored findings (severity × impact × confidence). skills: code-review model: inherit.