An open source project by Egonex-AI (
Egonex-AI/Understand-Anything, MIT).
Why it matters
You just joined a new team, and the codebase is 200,000 lines of code. Reading file by file and assembling the architecture in your head takes a long time, and the code alone rarely tells you which files belong to which business flow.
Understand Anything analyzes the whole project, builds a knowledge graph where every file, function, and class is a node, and opens it in an interactive dashboard. Select any node to see its code, relationships, and a plain-English explanation, or follow a guided tour ordered by dependency to learn the codebase in the right order.
What you can do with it
-
A knowledge graph and dashboard for your codebase
/understandsaves the graph to.ua/knowledge-graph.json, and/understand-dashboardopens it color-coded by architectural layer (API, Service, Data, UI, Utility), searchable and clickable. The live demo on the homepage lets you pan, zoom, search, and explore without installing anything. -
Onboarding guides for new team members
/understand-onboardgenerates an onboarding guide. Commit the graph once and teammates skip the pipeline. The README points to GoogleCloudPlatform/microservices-demo as an example with a committed graph. -
A map of business logic
/understand-domainextracts business domain knowledge (domains, flows, and steps) and lays it out as a horizontal graph. In the homepage example, functions such aslogin()andverify_token()are grouped into an “Authentication” flow. -
A graph of your wiki
Point
/understand-knowledgeat a Karpathy-pattern LLM wiki to get a force-directed knowledge graph with wikilinks, categories, and implicit relationships between articles.
For example, when you pick up unfamiliar payment code, you can run /understand-chat How does the payment flow work?, then find the files it mentions in the dashboard and follow their connected nodes.

Image source: Egonex-AI/Understand-Anything (MIT)
Key features
-
Tree-sitter + LLM hybrid
Tree-sitter deterministically extracts structural facts (imports, exports, function and class definitions, call sites, inheritance), so the same code always yields the same edges. The LLM handles what parsers can’t: plain-English summaries, tags, architectural layer assignments, business-domain mapping, guided tours, and language concept callouts.
-
Multi-agent pipeline
/understandorchestrates five agents:project-scanner,file-analyzer,architecture-analyzer,tour-builder, andgraph-reviewer. File analyzers run in parallel, up to 5 concurrent workers and 20-30 files per batch. -
Incremental updates
Re-runs only re-analyze files that changed since the last run.
/understand --auto-updateadds a post-commit hook that incrementally patches the graph so each commit lands with a matching graph. -
Diff impact analysis
/understand-diffshows which parts of the system your changes affect before you commit. -
Fuzzy and semantic search, persona-adaptive UI
Find anything by name or by meaning, such as “which parts handle auth?”. The dashboard adjusts its detail level for a junior dev, a PM, or a power user.
How to use
Install the plugin in Claude Code:
/plugin marketplace add Egonex-AI/Understand-Anything
/plugin install understand-anything
Then, in your project:
# Analyze the codebase (writes .ua/knowledge-graph.json)
/understand
# Explore the dashboard
/understand-dashboard
# Ask anything about the codebase
/understand-chat How does the payment flow work?
# Analyze impact of your current changes
/understand-diff
# Deep-dive into a specific file or function
/understand-explain src/auth/login.ts
# Scope to a subdirectory (for huge monorepos)
/understand src/frontend
For Codex, Gemini CLI, OpenCode, Antigravity, Kiro, and other platforms, the one-line installer clones the repo to ~/.understand-anything/repo and creates the right symlinks for the chosen platform. Codex uses $understand instead of /understand.
Notes
- Token usage — the initial
/understandanalyzes your whole codebase and can consume a significant number of tokens on large projects. The README recommends a token plan or subscription, or a local model such as Ollama, for initialization. - Node.js and pnpm — on the first analysis, the skill runs
pnpm installand builds the core package inside the plugin directory. If pnpm is missing, it asks you to “Install Node.js ≥ 22 and pnpm ≥ 10”. - Auto-update hooks — the plugin registers
SessionStartandPostToolUse(after Bash) hooks. Both do nothing unlessautoUpdateis enabled in the project’s.ua/config.json. - What to commit — commit everything in
.ua/except.ua/intermediate/and.ua/diff-overlay.json. Track graphs over 10 MB with git-lfs. - Figma —
/understand-figmabuilds a design knowledge graph from a Figma file. It needs aFIGMA_TOKENenvironment variable and, unlike/understand, makes outbound calls toapi.figma.com. - Related tool — to graph a folder that mixes code with docs, images, and papers, see also Graphify.
- Claude plugin directory — it is not listed on claude.com/plugins, so you install it by adding the repo’s own marketplace.