understand-chat
БесплатноБез исполняемых скриптовНе проверенAnswers questions about a codebase from the knowledge graph built by the open-source Understand-Anything plugin, and covers installing the plugin and…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
/understand-chat: Codebase Questions with Understand-Anything
Overview
Understand-Anything is an MIT-licensed plugin for coding agents (2.9.7 on its main branch when this was written). Its /understand command parses a project with tree-sitter, has the host model describe every file, and saves one JSON file, the knowledge graph. The other commands read that file: /understand-chat answers a free-form question, /understand-dashboard draws the graph, /understand-diff, /understand-explain and /understand-onboard cover change impact, deep dives and newcomer guides.
This skill is the question-answering job done carefully: locate or build the graph, query it as data, follow the relationships, then confirm in the source before saying anything specific. It also holds the installation steps for the whole command family.
The graph lives at .ua/knowledge-graph.json. Projects analysed before the directory was renamed keep .understand-anything/, and when that older directory exists every tool uses it. What the file holds:
| Key | Contents |
|---|---|
project |
gitCommitHash and analyzedAt (the commit and time of analysis), name, description, languages, frameworks |
nodes |
one entry per file, function, class, config, document, table, endpoint and so on: id, type, name, summary, tags, complexity (simple, moderate or complex), usually filePath, for functions and classes lineRange |
edges |
source and target node ids, a type such as imports, calls, contains, tested_by, configures, documents, and a weight between 0 and 1 |
layers |
named architectural groups, each listing its members in nodeIds |
tour |
ordered walkthrough steps (order, title, description, nodeIds) |
Node ids start with the type: file:src/server.ts, function:src/lib/money.ts:toCents, class:src/services/label-service.ts:LabelService, config:package.json.
Instructions
1. Install the plugin (once per machine)
Claude Code, from inside a session:
/plugin marketplace add Egonex-AI/Understand-Anything
/plugin install understand-anything
Other hosts use the installer script in the repository. Clone it, read it, then run it with the host's id:
git clone https://github.com/Egonex-AI/Understand-Anything.git ~/.understand-anything/repo
less ~/.understand-anything/repo/install.sh
~/.understand-anything/repo/install.sh codex
Accepted ids: gemini, codex, opencode, pi, openclaw, antigravity, vibe, vscode, hermes, cline, kimi, trae, nanobot, kiro. The script symlinks the plugin's skills into that host's skills folder and links the plugin itself at ~/.understand-anything-plugin; restart the host afterwards. install.sh --update pulls a newer version, install.sh --uninstall codex removes the links. Cursor and VS Code with Copilot pick the plugin up from an opened clone, and Copilot CLI takes copilot plugin install Egonex-AI/Understand-Anything:understand-anything-plugin.
The project README also shows a one-liner that streams the installer from the network straight into a shell. Do not use it: the clone above gives the same result with a script that can be inspected first.
Codex calls skills with a dollar sign ($understand-chat), most other hosts with a slash. In Claude Code the fully qualified form is /understand-anything:understand-chat.
2. Find the graph, or build it
G=.ua/knowledge-graph.json
[ -d .understand-anything ] && G=.understand-anything/knowledge-graph.json
jq '{project: (.project | {name, gitCommitHash, analyzedAt}), nodes: (.nodes | length),
edges: (.edges | length), layers: [.layers[].name], tourSteps: (.tour | length)}' "$G"
Run this from the repository root. Inside a git worktree, look in the main checkout as well, because /understand writes there on purpose. The data directory is meant to be committed, so a fresh clone may already contain a graph.
No file means the project has not been analysed. Tell the user what the analysis costs before starting it: the first /understand reads the whole codebase with the host's model, can use a large number of tokens, and above 100 files stops to suggest a narrower scope. Later runs re-analyse only files whose structure changed.
| Invocation | Effect |
|---|---|
/understand |
full analysis the first time, incremental afterwards |
/understand services/billing |
analyse one subdirectory of a large monorepo; the graph is then written inside that subdirectory |
/understand --exclude "fixtures/*,docs/*" |
skip paths, on top of the .understandignore file in the data directory |
/understand --language ja |
write summaries and tour text in another language |
/understand --full |
rebuild from scratch |
/understand --auto-update |
refresh the graph after commits the agent makes in Claude Code |
Building needs Node.js 22+, pnpm 10+ and Python 3 (called as python) on the machine; the
Установить understand-chat в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл understand-chat?
Answers questions about a codebase from the knowledge graph built by the open-source Understand-Anything plugin, and covers installing the plugin and producing that graph. Use when someone asks "how does checkout work in this repo", "what calls this function", "where is rate limiting handled", "what depends on this module", "run /understand-chat", "set up Understand-Anything", or wants an architecture question answered with file paths and line numbers instead of guesses.
Как установить скилл understand-chat?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл understand-chat запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic