By az9713
AI-powered codebase understanding — analyze, visualize, and explain any project
Analyzes a codebase's file structure, summaries, and import relationships to identify logical architectural layers and assign every file to exactly one layer.
Analyzes markdown files using pre-parsed structural data and LLM inference to extract knowledge graph nodes and edges (entities, claims, implicit relationships, topic clustering).
Reviews the output of merge-batch-graphs.py for semantic issues the script cannot catch. Recovers dropped nodes/edges and fills cross-batch gaps.
Analyzes codebases to extract business domain knowledge — domains, business flows, and process steps. Produces a domain-graph.json that maps how business logic flows through the code.
Analyzes batches of source files to produce knowledge graph nodes and edges. Extracts file structure, functions, classes, and relationships using a two-phase approach: structural extraction script followed by LLM semantic analysis.
Ask questions about a codebase using both the structural knowledge graph and the domain graph. Enhanced replacement for /understand-chat that includes business flow context.
Generate semantic embeddings for all knowledge graph nodes and save to .understand-anything/embeddings.json. Enables semantic search in the MCP server's search_nodes tool.
Check whether the knowledge graph is current relative to the git HEAD. Run before querying the graph to avoid reasoning from stale data.
Use when you need to ask questions about a codebase or understand code using a knowledge graph
Generate an architecture summary from the knowledge graph and inject it into CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md so every agent session starts with codebase context
Executes bash commands
Hook triggers when Bash tool is used
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This is a tutorial fork of Lum1104/Understand-Anything. Enhanced with comprehensive onboarding documentation and 6 new agent-integration features built on top of the original codebase — no original files were modified. For a video walkthrough of what Understand Anything does, watch This AI Tool Maps Any Codebase Before You Touch It on YouTube.
docs/)| Doc | What it covers |
|---|---|
| How the Graph Is Built | Every phase of the 7-agent pipeline — what each agent does, what's deterministic vs LLM, how edges are produced |
| Beyond the Graph | Dashboard, /understand-chat, /understand-diff, /understand-explain, auto-update, multi-platform, team sharing |
| Agent Usage | How AI agents read and use the knowledge graph — grep patterns, jq queries, skill invocations, concrete examples |
| Agent Integration Gaps | Six confirmed gaps with evidence from source code, each with an implementation plan |
| Graph Schema Reference | Every field in knowledge-graph.json — 21 node types, 35 edge types, layer and tour schemas, jq query examples |
understand-anything-plugin/)All six are purely additive — zero existing files modified.
| Feature | Gap it closes | What it does |
|---|---|---|
| MCP server | No structured agent tool access | Exposes 8 typed MCP tools (search_nodes, get_node, get_neighbors, get_subgraph, get_layers, get_tour, check_staleness, search_domain) via stdio transport |
/understand-context skill | Graph summary never reaches agents | Writes a structured architecture summary into CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md — every future agent session starts with codebase context |
/ua-status skill | Stale graph invisible to agents | Compares meta.json commit hash against git HEAD; reports changed files and recommends refresh |
/ua-chat skill | Domain graph unreachable via skills | Drop-in replacement for /understand-chat that also searches domain-graph.json — returns ordered business-flow steps with file+line pointers |
ua-check-staleness.mjs | Auto-update is Claude Code-only | Standalone git post-commit hook script for Codex, Cursor, Gemini CLI, and any other platform |
ua-generate-embeddings.mjs + /ua-embeddings | SemanticSearchEngine unwired | Generates vector embeddings via any OpenAI-compatible API; MCP server uses them automatically for semantic search |
Turn any codebase, knowledge base, or docs into an interactive knowledge graph you can explore, search, and ask questions about.
Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Türkçe | Русский
npx claudepluginhub az9713/understand-anything-tutorial --plugin understand-anythingProduction-grade engineering skills for AI coding agents — covering the full software development lifecycle from spec to ship.
Full agentic layer framework implementing the Codebase Singularity concept - enabling AI agents to operate your codebase autonomously through planning, building, reviewing, and fixing workflows. Implements Class 1-3 with orchestration capabilities.
Thread-Based Engineering examples - demonstrates Base, Parallel, Chained, Fusion, Big, Long, and Zero-Touch thread patterns for agentic coding
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Memory compression system for Claude Code - persist context across sessions
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns