
Understand Domain
Pulls business domain knowledge out of a codebase and renders it as an interactive flow graph showing domains, processes, and steps. If you've already run /understand, it derives everything from the existing knowledge graph without rescanning. Otherwise it does a lightweight pass: file tree, entry points, and sampled snippets. The preprocessing script generates structured context so the LLM agent can focus on domain analysis instead of burning tokens exploring files. Outputs to domain-graph.json and auto-launches the dashboard. One nice touch: detects git worktrees and redirects output to the main repo root so your graph doesn't vanish when the ephemeral worktree gets torn down.
- skills.sh installs
- 4K
- GitHub stars
- 91.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add egonex-ai/understand-anything --skill understand-domain --agent claude-codeInstalls into .claude/skills of the current project.
Files
/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.jsonwhen 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
--fullflag to force a fresh scan even if a knowledge graph exists
Instructions
Phase 0: Resolve PROJECT_ROOT
Set PROJECT_ROOT to the current working directory.
Sponsors
Details
- Repository
- github.com/egonex-ai/understand-anything
- First seen
- Jun 11, 2026