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 2mo 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.
- 2mo 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 (14 stars, last pushed 15d 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.
code-structure compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-structureMaquinaTech/graph-indexer | Agent | 14 | 15d ago | MIT | A | 129 | Claude Code |
| build-failure-analystdotnet/skills | Agent | 6.4k | today | MIT | A | 108 | Claude Code |
| verifierJeffallan/claude-skills | Agent | 13k | today | MIT | A | 47 | Claude Code |
| swiftui-performance-analyzerCharlesWiltgen/Axiom | Agent | 1.3k | 22d ago | MIT | A | 45 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 668 | yesterday | MIT | A | 63 | Claude Code |
| predictive-analystsoftspark/ai-toolkit | Agent | 180 | 13d ago | Apache-2.0 | A | 35 | Claude Code |
| silent-failure-hunterkumaran-is/claude-code-onboarding | Agent | 37 | today | MIT | A | 0 | Claude Code |