docs: add /understand-knowledge to README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-04-12 11:12:38 +08:00
Unverified
parent 2fc85e68c3
commit 66a8706646
+9 -1
View File
@@ -1,7 +1,7 @@
<h1 align="center">Understand Anything</h1>
<p align="center">
<strong>Turn any codebase, Dockerfile, or docs into an interactive knowledge graph you can explore, search, and ask questions about.</strong>
<strong>Turn any codebase, knowledge base, or docs into an interactive knowledge graph you can explore, search, and ask questions about.</strong>
<br />
<em>Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.</em>
</p>
@@ -65,6 +65,10 @@ Switch to the domain view and see how your code maps to real business processes
<img src="assets/overview-domain.gif" alt="Domain graph — business domains, flows, and process steps" width="750" />
</p>
### Analyze knowledge bases
Point `/understand-knowledge` at a [Karpathy-pattern LLM wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) 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.
<table>
<tr>
<td width="50%" valign="top">
@@ -142,6 +146,9 @@ An interactive web dashboard opens with your codebase visualized as a graph —
# Extract business domain knowledge (domains, flows, steps)
/understand-domain
# Analyze a Karpathy-pattern LLM wiki knowledge base
/understand-knowledge ~/path/to/wiki
```
---
@@ -242,6 +249,7 @@ The `/understand` command orchestrates 5 specialized agents, and `/understand-do
| `tour-builder` | Generate guided learning tours |
| `graph-reviewer` | Validate graph completeness and referential integrity (runs inline by default; use `--review` for full LLM review) |
| `domain-analyzer` | Extract business domains, flows, and process steps (used by `/understand-domain`) |
| `article-analyzer` | Extract entities, claims, and implicit relationships from wiki articles (used by `/understand-knowledge`) |
File analyzers run in parallel (up to 5 concurrent, 20-30 files per batch). Supports incremental updates — only re-analyzes files that changed since the last run.