# understand-domain

> Claude/Codex skill by [@egonex-ai](https://omgskills.com/library/egonex-ai/index.md) · 87k stars · Updated 2026-10-12

Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.

Tags: antigravity-skills, business-knowledge, claude-code, claude-skills, codebase-analysis, codex, codex-skills, developer-tools-ai-agent, gemini-cli-skills, karpathy-llm-wiki, knowledge-base, knowledge-graph, memory, opencode-skills, pi-agent, understandcode, vibe-coding

## Install

```sh
git clone https://github.com/Egonex-AI/Understand-Anything /tmp/Understand-Anything && ln -s /tmp/Understand-Anything/understand-anything-plugin/skills/understand-domain ~/.claude/skills/understand-domain
```

## From README

/understand-domain Extracts business domain knowledge — domains, business flows, and process steps — from a codebase and produces an interactive horizontal flow graph in the dashboard. How It Works If a knowledge graph already exists (.ua/knowledge-graph.json, or the legacy .understand-anything/knowledge-graph.json when that directory is present), derives domain knowledge from it (cheap, no file scanning) If no knowledge graph exists, performs a lightweight scan: file tree + entry point detection + sampled files Use --full flag to force a fresh scan even if a knowledge graph exists Instructions Phase 0: Resolve PROJECTROOT Set PROJECTROOT to the current working directory. Worktree redirect. If PROJECTROOT is inside a git worktree (not the main checkout), redirect output to the main repository root.

## Links

- HTML page: https://omgskills.com/skills/egonex-ai/understand-anything/understand-domain/
- GitHub: https://github.com/Egonex-AI/Understand-Anything
- Author: [@egonex-ai](https://omgskills.com/library/egonex-ai/index.md)

## More from this repo

- [understand](https://omgskills.com/skills/egonex-ai/understand-anything/understand/index.md) — Used to analyze a codebase to produce an interactive knowledge graph for understanding architecture, components, and...
   - [@egonex-ai](https://omgskills.com/library/egonex-ai/index.md) · 88k stars
- [understand-chat](https://omgskills.com/skills/egonex-ai/understand-anything/understand-chat/index.md) — Used when you need to ask questions about a codebase or understand code using a knowledge graph
   - [@egonex-ai](https://omgskills.com/library/egonex-ai/index.md) · 87k stars
- [understand-dashboard](https://omgskills.com/skills/egonex-ai/understand-anything/understand-dashboard/index.md) — Launch the interactive web dashboard to visualize a codebase's knowledge graph
   - [@egonex-ai](https://omgskills.com/library/egonex-ai/index.md) · 87k stars
