What it is
Understand Anything is a Claude Code plugin that scans a project with a multi-agent pipeline and builds a knowledge graph of every file, function, class, and dependency. It combines deterministic Tree-sitter parsing with LLM-generated summaries, layers, and guided tours. An interactive dashboard lets you explore the graph, search it, and ask questions about the code. It also works on Karpathy-pattern LLM wiki knowledge bases and runs on many other AI coding platforms.
Who it's for
- Developers who just joined a team and need to learn a large codebase
- Teams that want to onboard people or review PRs using a shared, committed knowledge graph
- Users of AI coding platforms such as Claude Code, Codex, Cursor, Copilot, and Gemini CLI
- People who want to turn a Karpathy-pattern LLM wiki into a navigable graph
Requirements
Requirements
- Claude Code, or another supported AI coding platform (Codex, Cursor, Copilot, Gemini CLI, OpenCode, Vibe CLI, Trae, Kiro, etc.)
- Node.js (>= 18) to view the dashboard without Claude Code
- Enough LLM token budget for the first full /understand run; the README recommends a token plan/subscription or a local model for initialization on large projects
- VS Code with GitHub Copilot v1.108+ for auto-discovery in VS Code
Setup
Install the plugin in Claude Code
Add the marketplace and install the plugin.
bash/plugin marketplace add Egonex-AI/Understand-Anything /plugin install understand-anythingAnalyze your codebase
Runs the multi-agent pipeline and saves the knowledge graph to .ua/knowledge-graph.json.
bash/understandOpen the dashboard
Opens the interactive web dashboard showing your codebase as a graph.
bash/understand-dashboardOne-line install for other platforms (macOS / Linux)
Installs for Codex, OpenCode, Gemini CLI, and other listed platforms. Pass the platform name to skip the prompt. Restart your CLI/IDE afterwards.
bashcurl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash # or skip the prompt by passing the platform: curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s codexOne-line install for other platforms (Windows)
PowerShell installer.
powershelliwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.ps1 | iexInstall on Copilot CLI
Install via the Copilot CLI plugin command.
bashcopilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin
Examples
Ask a question about the codebase
Prompt/understand-chat How does the payment flow work?Expected output: Queries the generated knowledge graph in natural language.
Explain a specific file
bash/understand-explain src/auth/login.tsWhat it does: Deep-dives into a specific file or function.
Generate output in another language
bash/understand --language zhWhat it does: Generates node descriptions and dashboard UI in Chinese; supported languages are en (default), zh, zh-TW, ja, ko, ru, vi.
Keep the graph updated on every commit
bash/understand --auto-updateWhat it does: Enables a post-commit hook that incrementally patches the graph so each commit lands with a matching graph.
View a committed graph without Claude Code
bashnpx https://github.com/Egonex-AI/Understand-Anything/releases/latest/download/understand-anything-viewer.tgz /path/to/analyzed/projectWhat it does: Opens the full interactive dashboard from a committed graph using only Node.js (>= 18), with no LLM or API key.
Pros & cons
Pros
- Pro:Hybrid design: deterministic Tree-sitter parsing gives reproducible structural edges, while the LLM adds summaries, layers, and tours
- Pro:Incremental re-analysis of only changed files, plus an optional post-commit auto-update hook
- Pro:Graph is plain JSON that can be committed and viewed by teammates without Claude Code, an LLM, or an API key
- Pro:Broad platform support, including Claude Code, Codex, Cursor, Copilot, Gemini CLI, and many more
Cons
- Con:The initial /understand run analyzes the whole codebase and can consume a significant number of tokens on large projects
- Con:Invocation differs by platform (Codex uses $understand instead of /understand), and some platforms may require asking in plain language
Images
