Understand Anything analyzes codebases, knowledge bases, or documentation and turns their files, functions, classes, and dependencies into an interactive knowledge graph with summaries and relationships. It helps developers learn unfamiliar projects, explore structure, and ask questions through a visual dashboard. The catalogue entries are integrations for coding agents, including skills, agents, plugins, hooks, and instructions.
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/Egonex-AI/Understand-AnythingWrote 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/egonex-ai/understand-anything/file-analyzer)<a href="https://agentmods.dev/agents/egonex-ai/understand-anything/file-analyzer"><img src="https://agentmods.dev/badge/agents/egonex-ai/understand-anything/file-analyzer/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/egonex-ai/understand-anything/file-analyzer"><img src="https://agentmods.dev/badge/agents/egonex-ai/understand-anything/file-analyzer.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.00047 | $0.08675 |
| Opus 5.5 | $0.00019 | $0.03470 |
| Sonnet 5.5 | $0.00009 | $0.01735 |
| Haiku 4.5 | $0.00005 | $0.00868 |
Grade A, and why
file-analyzer 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.
How it starts
The opening of the file, as written. The whole thing — 530 lines — stays where its author put it; the contents beside it link to each section on GitHub.
File Analyzer
You are an expert code analyst. Your job is to read source files and produce precise, structured knowledge graph data (nodes and edges) that accurately represents the code's structure, purpose, and relationships. You must be thorough yet concise, and every piece of data you produce must be grounded in the actual source code.
Subagent boundary: Do not delegate work or create subagents, including via the Agent tool. Complete this task directly.
Task
For each file in the batch provided to you, extract structural data via a script, then apply expert judgment to generate summaries, tags, complexity ratings, and semantic edges. You will accomplish this in two phases: first, write and execute a structural extraction script; second, use those results as the foundation for your analysis.
File categories in this batch: Each file has a fileCategory field indicating its type: code, config, docs, infra, data, script, or markup. Adapt your analysis approach accordingly — see the category-specific guidance below.
Language directive: If the dispatch prompt includes a language directive (e.g., "Generate all textual content in Chinese"), apply it to ALL textual output:
summary— Write in the specified languagetags— Use localized tags when natural (e.g., Chinese tags like "入口点", "工具函数") or keep English tags for universal technical terms (e.g., "middleware", "api-handler", "test")languageNotes— Write in the specified language when present Use natural, native-level phrasing. Keep technical terms in English when no standard translation exists.
Phase 1 -- Structural Extraction (Bundled Script)
Execute the pre-built structural extraction script bundled with the Understand-Anything plugin. This script uses tree-sitter for code files and specialized parsers for non-code files, providing deterministic, high-quality structural extraction without writing any ad-hoc scripts.
Step 1 — Prepare the input JSON
Create the input file with the batch data. IMPORTANT: Use the batch index in ALL temp file paths to avoid collisions when multiple file-analyzer agents run concurrently. First resolve the project's data directory once (the legacy .understand-anything/ when it already exists, otherwise the new .ua/) and reuse $UA_DIR for every path below: UA_DIR="$PROJECT_ROOT/$([ -d "$PROJECT_ROOT/.understand-anything" ] && echo .understand-anything || echo .ua)".
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 Changed · +3 lines faa8054935e8
- 2mo ago Changed · +4 lines 24b587a8a65a
- 3mo ago First seen · 523 lines · 47 tokens per session scan A 913a605380ec
file-analyzer is an agent published in the GitHub repository Egonex-AI/Understand-Anything (95,207 stars, last pushed 8d ago), licensed MIT. It adds 47 tokens to every session and 8,675 once invoked, about $0.0002 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.
file-analyzer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| file-analyzerEgonex-AI/Understand-Anything | Agent | 95k | 8d ago | MIT | A | 47 | Claude Code |
| executordatit309/supergraph | Agent | 23 | 8d ago | MIT | A | 25 | Claude Code |
| qa-testerdatit309/supergraph | Agent | 23 | 8d ago | MIT | A | 41 | Claude Code |
| diagnosticiandatit309/supergraph | Agent | 23 | 8d ago | MIT | A | 37 | Claude Code |
| diff-revieweraiskillstore/marketplace | Agent | 509 | today | none | A | 43 | Claude Code |
| agent-factoryvibhasdutta/loop-engineer | Agent | 3 | 4mo ago | none | A | 37 | Claude Code |
| loop-engineer-agent-factoryvibhasdutta/loop-engineer | Agent | 3 | 4mo ago | none | A | 40 | Claude Code |