MCPcopy Create free account
hub / github.com/Egonex-AI/Understand-Anything

github.com/Egonex-AI/Understand-Anything

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.9.8 ↗ · + Follow · compare 2 versions

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI,

1,638 symbols 4,384 edges 324 files ⚖ MIT 270 documented · 16% ● updated 11d agolatest release v2.9.8 · 2026-11-15★ 95,492140 open issues
What it actually does AI analysis from the code graph

What it actually is

Understand Anything is a Claude Code plugin (also wired into Codex, Cursor, Copilot, Gemini CLI, Devin and others) that statically analyses a codebase and builds a knowledge graph of files, functions, classes and dependencies. A multi-agent pipeline extracts structure via language-specific extractors (e.g. swift-extractor.ts, Rust-aware parsing), persists the result under a .ua data directory, and serves it through a React dashboard (GraphView, DomainGraphView, KnowledgeGraphView, CodeViewer) for visual exploration, search and Q&A. It targets developers onboarding to large, unfamiliar codebases.

Why it's growing

The repo sits at 95,563 stars but gained 0 in this period, so whatever drove the bulk of its growth isn't reflected in recent activity — the README's Trendshift badge suggests a past viral spike rather than ongoing organic pull. Commit history shows active, incremental engineering (fixes for Rust in-crate test modules, JSONC parsing edge cases, dashboard clustering) and a release cadence (v2.3.1 → v2.9.8) adding concrete features like Figma design graphs, an ELK-based dashboard layout overhaul, and "Code lessons" — but none of this explains continued star growth; it explains it's not stagnant in development terms.

The full breakdown is free — sign in to read it.

open as a page →

Browse by type

⨍ Functions 1,406◇ Types & classes 232
README

Understand Anything

Turn any codebase, knowledge base, or docs into an interactive knowledge graph you can explore, search, and ask questions about.

Works with Claude Code, Devin, Codex, Cursor, Copilot, Gemini CLI, and more.

From the team behind Understand Anything: Meet Ego, a personal AI agent that builds your store and sells for you.

Build something. Let Ego sell it. Free to use.

Understand Anything | Trendshift

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Türkçe | Русский | Tiếng Việt

Quick Start License: MIT Claude Code Codex Copilot Copilot CLI Gemini CLI OpenCode Vibe CLI Trae Devin Homepage Live Demo Understand Anyone

Understand Anything — Turn any codebase into an interactive knowledge graph


You just joined a new team. The codebase is 200,000 lines of code. Where do you even start?

Understand Anything is a Claude Code Plugin that analyzes your project with a multi-agent pipeline, builds a knowledge graph of every file, function, class, and dependency, then gives you an interactive dashboard to explore it all visually. Stop reading code blind. Start seeing the big picture.

The goal isn't a graph that wows you with how complex your codebase is — it's a graph that quietly teaches you how every piece fits together.


✨ Features

[!NOTE] Want to skip the reading? Try the live demo in our homepage — a fully interactive dashboard you can pan, zoom, search, and explore right in your browser.

Explore the structural graph

Navigate your codebase as an interactive knowledge graph — every file, function, and class is a node you can click, search, and explore. Select any node to see plain-English summaries, relationships, and guided tours.

Understand business logic

Switch to the domain view and see how your code maps to real business processes — domains, flows, and steps laid out as a horizontal graph.

Analyze knowledge bases

Point /understand-knowledge at a Karpathy-pattern LLM wiki and get a force-directed knowledge graph with community clustering. The deterministic parser extracts wikilinks and categories from index.md, then LLM agents discover implicit relationships, extract entities, and surface claims — turning your wiki into a navigable graph of interconnected ideas.

🧭 Guided Tours

Auto-generated walkthroughs of the architecture, ordered by dependency. Learn the codebase in the right order.

🔍 Fuzzy & Semantic Search

Find anything by name or by meaning. Search "which parts handle auth?" and get relevant results across the graph.

📊 Diff Impact Analysis

See which parts of the system your changes affect before you commit. Understand ripple effects across the codebase.

🎭 Persona-Adaptive UI

The dashboard adjusts its detail level based on who you are — junior dev, PM, or power user.

🏗️ Layer Visualization

Automatic grouping by architectural layer — API, Service, Data, UI, Utility — with color-coded legend.

📚 Language Concepts

12 programming patterns (generics, closures, decorators, etc.) explained in context wherever they appear.

🚀 Quick Start

1. Install the plugin

/plugin marketplace add Egonex-AI/Understand-Anything
/plugin install understand-anything

Using a local model? For privacy or enterprise setups, point your platform at a local model provider such as Ollama — follow their integration guide to change the model provider.

2. Analyze your codebase

/understand

A multi-agent pipeline scans your project, extracts every file, function, class, and dependency, then builds a knowledge graph saved to .ua/knowledge-graph.json. (Projects that already have a .understand-anything/ directory keep using it — it stays the data directory when present, so nothing needs migrating.)

Heads up on token usage: The initial /understand analyzes your whole codebase and can consume a significant number of tokens on large projects. We recommend running it on a token plan / subscription, or using a local model (see above) for initialization. Subsequent runs are incremental by default — only changed files are re-analyzed — so they use far fewer tokens.

Localized output: Use --language to generate content in your preferred language:

# Generate Chinese content (知识图节点描述和 Dashboard UI)
/understand --language zh

# Supported languages: en (default), zh, zh-TW, ja, ko, ru, vi

On the first run in a project — when you don't pass --language and no language is stored yet — /understand detects the language you're conversing in. If it isn't English, it asks you to confirm (or override) before generating; English conversations are unaffected. Your choice is saved to .ua/config.json and reused on every later run.

The --language parameter affects: - Node summaries and descriptions in the knowledge graph - Dashboard UI labels, buttons, and tooltips - Guided tour explanations

3. Explore the dashboard

/understand-dashboard

An interactive web dashboard opens with your codebase visualized as a graph — color-coded by architectural layer, searchable, and clickable. Select any node to see its code, relationships, and a plain-English explanation.

4. Keep learning

# 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

# Generate an onboarding guide for new team members
/understand-onboard

# Extract business domain knowledge (domains, flows, steps)
/understand-domain

# Analyze a Karpathy-pattern LLM wiki knowledge base
/understand-knowledge ~/path/to/wiki

# Re-run anytime — incremental by default (only re-analyzes changed files)
/understand

# Auto-update on every commit via a post-commit hook
/understand --auto-update

# Scope to a subdirectory (for huge monorepos)
/understand src/frontend

🌐 Multi-Platform Installation

Understand-Anything works across multiple AI coding platforms.

Claude Code (Native)

/plugin marketplace add Egonex-AI/Understand-Anything
/plugin install understand-anything

One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae / Nanobot / Kiro / Devin)

macOS / Linux:

curl -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 codex

Windows (PowerShell):

iwr -useb https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.ps1 | iex

The installer clones the repo to ~/.understand-anything/repo and creates the right symlinks for the chosen platform. Restart your CLI/IDE afterwards.

Note on invoking skills: the invocation prefix differs per platform. Most platforms use slash commands (/understand), but Codex uses $ instead — type $understand, not /understand. If neither prefix is recognized on your platform, just ask in plain language: "Use the understand skill to analyze this project."

  • Supported <platform> values: gemini, codex, opencode, pi, openclaw, antigravity, vibe, vscode, hermes, cline, kimi, trae, nanobot, kiro, devin
  • Update later:
  • macOS / Linux: ./install.sh --update
  • Windows: & "$HOME/.understand-anything/repo/install.ps1" -Update
  • Uninstall:
  • macOS / Linux: ./install.sh --uninstall <platform>
  • Windows: & "$HOME/.understand-anything/repo/install.ps1" -Uninstall <platform>

Cursor

Cursor auto-discovers the plugin via .cursor-plugin/plugin.json when this repo is cloned. No manual installation needed — just clone and open in Cursor.

If auto-discovery doesn't pick it up, install it manually: open Cursor Settings → Plugins, paste https://github.com/Egonex-AI/Understand-Anything into the search field, and add it from there.

VS Code + GitHub Copilot

/plugin marketplace add Egonex-AI/Understand-Anything
/plugin install understand-anything@understand-anything

VS Code with GitHub Copilot (v1.108+) auto-discovers the plugin via .copilot-plugin/plugin.json when this repo is cloned. No manual installation needed — just clone and open in VS Code.

For personal skills (available across all projects), run the install.sh above with the vscode platform.

Copilot CLI

copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin

Kiro CLI / IDE

curl -fsSL https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/install.sh | bash -s kiro

After installation: - Kiro CLI: kiro-cli chat --agent understand "Analyze this project" - Kiro IDE: The skills are symlinked into ~/.kiro/skills/ and the understand agent is written to ~/.kiro/agents/understand.json, so both are available after restarting the IDE.

For personal skills (available across all projects), run the install.sh above with the kiro platform.

Devin

Devin support comes in two parts: a plugin that generates graphs, and an optional MCP server for querying them and opening dashboards.

Plugin (recommended). You get the namespaced /understand-anything:* skills, the post-commit auto-update hooks, and the analysis subagents. Devin loads the plugin through its Claude-plugin compatibility:

devin auth login   # plugin management requires sign-in
devin plugins install Egonex-AI/Understand-Anything#understand-anything-plugin

Then, in any project:

/understand-anything:understand

Skills only. This uses the one-line installer above with the devin platform. It symlinks the skills into ~/.agents/skills/, which Devin loads globally, and gives you un-namespaced /understand, /understand-chat, etc. It does not register the auto-update hooks.

MCP server (optional). It serves an existing graph to Devin (status / search / explain / diff / onboard / dashboard). Build the workspace once (pnpm install && pnpm -r build), then register the server in the project's .devin/config.json:

{
  "mcpServers": {
    "understand-anything": {
      "command": "node",
      "args": ["/absolute/path/to/Understand-Anything/understand-anything-plugin/packages/mcp/bin/understand-anything-mcp.mjs"]
    }
  }
}

The full tool reference and examples for other clients are in understand-anything-plugin/packages/mcp/README.md.

Platform Compatibility

Platform Status Install Method
Claude Code ✅ Native Plugin marketplace
Cursor ✅ Supported Auto-discovery
VS Code + GitHub Copilot ✅ Supported Auto-disc

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 1,003
Method 403
Interface 134
Class 98

Languages

TypeScript86%
Python14%

Modules by API surface

scripts/lib/large-repo-benchmark.mjs93 symbols
understand-anything-plugin/skills/understand/extract-import-map.mjs55 symbols
understand-anything-plugin/packages/core/src/plugins/extractors/swift-extractor.ts43 symbols
understand-anything-plugin/skills/understand/validate-incremental-symbols.mjs32 symbols
understand-anything-plugin/packages/core/src/types.ts31 symbols
understand-anything-plugin/packages/core/src/plugins/extractors/scala-extractor.ts28 symbols
understand-anything-plugin/skills/understand/prepare-incremental.mjs26 symbols
understand-anything-plugin/skills/understand/merge-batch-graphs.py25 symbols
understand-anything-plugin/packages/core/src/plugins/extractors/dart-extractor.ts23 symbols
understand-anything-plugin/skills/understand/finalize-incremental.mjs22 symbols
understand-anything-plugin/packages/core/src/staleness.ts21 symbols
understand-anything-plugin/packages/core/src/plugins/extractors/csharp-extractor.ts21 symbols

Dependencies from manifests, versioned · 12 of 54, runtime first

@dagrejs/dagre2.0.4 · 1×
@understand-anything/skillworkspace:* · 1×
d3-force3.0.0 · 1×
elkjs0.9.3 · 1×
graphology0.26.0 · 1×
react-markdown10.1.0 · 1×
remark-gfm4.0.1 · 1×
zod4.3.6 · 1×
zustand5.0.0 · 1×

For agents

$ claude mcp add --transport http codehub https://codehub.bot/mcp

One hosted endpoint, no key: your agent can search, read and trace Egonex-AI/Understand-Anything and every other graph here. Cursor, Windsurf and other clients →

⬇ download graph artifact

Ask about this repo answers extend the page