К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

understand-dashboard — скилл для Claude Code: установка

Запускает веб-дашборд с графом знаний кодовой базы. Нужен, когда структуру проекта удобнее изучать визуально.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Egonex-AI/Understand-Anything --skill understand-dashboard -a claude-code
Открыть на GitHub

Что делает understand-dashboard

Скилл определяет каталог проекта и ищет граф знаний в .understand-anything/ или .ua/. Файл knowledge-graph.json должен существовать: если его нет, сначала запустите /understand.

Сначала он пытается запустить готовый viewer через npx, привязанный к версии плагина. Если viewer недоступен, устанавливает зависимости для dashboard, собирает пакет @understand-anything/core и запускает Vite с графом выбранного проекта.

Дашборд выдаёт URL с параметром token, без которого доступ к данным закрыт. Можно передать путь к проекту аргументом или открыть граф текущего рабочего каталога. Это повод проверить, что /understand уже создал knowledge-graph.json.

Какие задачи решает

  • визуализировать граф знаний кодовой базы
  • открыть структуру проекта в веб-дашборде
  • запустить viewer для выбранного каталога
  • найти связи между частями проекта

Примеры запросов агенту

  • Запусти `/understand-dashboard` для текущего проекта.
  • Открой дашборд для проекта `/path/to/project` через `/understand-dashboard /path/to/project`.
  • Проверь граф знаний и запусти `/understand-dashboard`, если `knowledge-graph.json` уже создан.

Как установить understand-dashboard

1Через Skills CLI (Vercel)

npx skills add Egonex-AI/Understand-Anything --skill understand-dashboard -a claude-code

2Вручную: положить файлы

~/.claude/skills/understand-dashboard/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/understand-dashboard/

Из того же набора8

Весь набор →
understand Egonex-AI Анализирует кодовую базу и создаёт интерактивный граф знаний об архитектуре, компонентах и связях между ними. Пригодится, чтобы разобраться в существующем проекте. Claude Code CX Codex Cursor +1 5 200установок understand-explain Egonex-AI Скилл объясняет файл, функцию или модуль по графу знаний проекта: связи, слои, поток данных. Пригодится, когда нужно разобраться в чужом коде. Claude Code CX Codex Cursor +1 3 800установок understand-onboard Egonex-AI Скилл генерирует руководство по онбордингу новых разработчиков в проект на основе графа знаний. Пригодится при подключении новичков к кодовой базе. Claude Code CX Codex Cursor +1 3 700установок understand-chat Egonex-AI Скилл отвечает на вопросы о структуре и связях в коде, используя граф знаний проекта. Нужен, если вы разбираетесь в чужом коде или ищете, где что лежит. Claude Code CX Codex Cursor +1 3 700установок understand-diff Egonex-AI Скилл сопоставляет изменения в Git с графом знаний проекта, чтобы оценить затронутые компоненты и радиус поломки. Пригодится перед ревью пуллреквестов. Claude Code CX Codex Cursor +1 3 600установок understand-domain Egonex-AI Изучает кодовую базу и строит интерактивную схему бизнес-доменов и процессов. Пригодится, чтобы увидеть, как части проекта связаны между собой. Claude Code CX Codex Cursor +1 3 500установок understand-knowledge Egonex-AI Анализирует wiki-базу знаний в стиле Karpathy и строит интерактивный граф сущностей, связей и тем. Подходит для разборки структурированных заметок. Claude Code CX Codex Cursor +1 3 400установок

Похожие

mle-workflow affaan-m Скилл для перевода модельной работы в продакшн-систему: контракты данных, воспроизводимое обучение, оценка качества, деплой и откат. Claude Code CX Codex Cursor +1 4 500установок clickhouse-io affaan-m Справочник архитектурных шаблонов и оптимизации ClickHouse: помогает проектировать таблицы на движках MergeTree и ускорять медленные аналитические запросы. Claude Code CX Codex Cursor +1 4 400установок sql-code-review официальный github Проверяет SQL-код на проблемы безопасности, производительности и поддержки. Пригодится перед ревью запросов или схемы базы данных. GitHub Copilot 14 060установок postgresql-code-review официальный github Проверяет SQL и схему на ошибки, характерные для PostgreSQL. Пригодится перед ревью миграций, функций и запросов с JSONB. GitHub Copilot 12 608установок google-cloud-waf-sustainability официальный google Оценивает Google Cloud-нагрузки по устойчивости: помогает снижать углеродный след и расход энергии. Нужен при проектировании и настройке облачной архитектуры. Claude Code Gemini CLI CX Codex 9 346установок postgresql-table-design Seth Hobson Помогает проектировать и проверять схемы PostgreSQL: типы, ключи, ограничения, индексы и разбиение таблиц. Claude Code CX Codex Cursor 27 780установок xlsx официальный anthropics Работает с табличными файлами: создаёт, читает, правит и преобразует книги. Подходит, когда итогом должен стать файл Excel или другой табличный формат. Claude Code Claude.ai 187 223установок google-agents-cli-observability официальный Google Помогает настроить трассировку и сбор данных о работе ИИ-агентов, включая агентов на ADK. Пригодится, когда нужно разбирать выполнение запросов или наблюдать за агентом после развёртывания. Claude Code CX Codex Cursor +1 509 900установок

Вопросы о understand-dashboard

Как установить understand-dashboard в Claude Code?

Выполните npx skills add Egonex-AI/Understand-Anything --skill understand-dashboard -a claude-code, затем повторите эту команду и откройте ~/.claude/skills/understand-dashboard/SKILL.md.

Что делает understand-dashboard?

Скилл запускает веб-дашборд для визуализации графа знаний кодовой базы. Он работает с графом текущего проекта или с каталогом, переданным аргументом.

Что нужно подготовить для работы understand-dashboard?

В проекте должен быть файл knowledge-graph.json внутри .understand-anything/ или .ua/. Его создаёт анализ через /understand.

Исходный текст

SKILL.md · MIT
---
name: understand-dashboard
description: Launch the interactive web dashboard to visualize a codebase's knowledge graph
argument-hint: "[project-path]"
---

# /understand-dashboard

Start the Understand Anything dashboard to visualize the knowledge graph for the current project.

## Instructions

1. Determine the project directory and data directory:
   - If `$ARGUMENTS` contains a path, use that as the project directory
   - Otherwise, use the current working directory
   - Prefer the legacy `.understand-anything/` data directory when it exists, otherwise use `.ua/`

   Use the Bash tool to resolve:
   ```bash
   PROJECT_ARG="$ARGUMENTS"
   if [ -n "$PROJECT_ARG" ]; then
     PROJECT_DIR=$(cd "$PROJECT_ARG" 2>/dev/null && pwd -P)
   else
     PROJECT_DIR=$(pwd -P)
   fi

   if [ -z "$PROJECT_DIR" ] || [ ! -d "$PROJECT_DIR" ]; then
     echo "Error: Project directory not found: ${PROJECT_ARG:-$PWD}"
     exit 1
   fi

   if [ -d "$PROJECT_DIR/.understand-anything" ]; then
     UA_DIR="$PROJECT_DIR/.understand-anything"
   else
     UA_DIR="$PROJECT_DIR/.ua"
   fi
   ```

2. Check that `$UA_DIR/knowledge-graph.json` exists in the project directory. If not, tell the user:
   ```
   No knowledge graph found. Run /understand first to analyze this project.
   ```

   Use the Bash tool to check:
   ```bash
   if [ ! -f "$UA_DIR/knowledge-graph.json" ]; then
     echo "No knowledge graph found. Run /understand first to analyze this project."
     exit 1
   fi
   ```

3. Find the dashboard code. The dashboard is at `packages/dashboard/` relative to this plugin's root directory. Check these paths in order and use the first that exists:
   - `${CLAUDE_PLUGIN_ROOT}/packages/dashboard/` (Claude Code runtime root, highest priority)
   - `~/.understand-anything-plugin/packages/dashboard/` (universal symlink, all installs)
   - Two levels up from `~/.agents/skills/understand-dashboard` real path (self-relative fallback)
   - Two levels up from `~/.copilot/skills/understand-dashboard` real path (Copilot personal skills fallback)
   - Common clone-based install roots:
     - `~/.codex/understand-anything/understand-anything-plugin/packages/dashboard/`
     - `~/.opencode/understand-anything/understand-anything-plugin/packages/dashboard/`
     - `~/.pi/understand-anything/understand-anything-plugin/packages/dashboard/`
     - `~/understand-anything/understand-anything-plugin/packages/dashboard/`

   Use the Bash tool to resolve:
   ```bash
   SKILL_REAL=$(realpath ~/.agents/skills/understand-dashboard 2>/dev/null || readlink -f ~/.agents/skills/understand-dashboard 2>/dev/null || echo "")
   SELF_RELATIVE=$([ -n "$SKILL_REAL" ] && cd "$SKILL_REAL/../.." 2>/dev/null && pwd || echo "")
   COPILOT_SKILL_REAL=$(realpath ~/.copilot/skills/understand-dashboard 2>/dev/null || readlink -f ~/.copilot/skills/understand-dashboard 2>/dev/null || echo "")
   COPILOT_SELF_RELATIVE=$([ -n "$COPILOT_SKILL_REAL" ] && cd "$COPILOT_SKILL_REAL/../.." 2>/dev/null && pwd || echo "")

   PLUGIN_ROOT=""
   for candidate in \
     "${CLAUDE_PLUGIN_ROOT}" \
     "$HOME/.understand-anything-plugin" \
     "$SELF_RELATIVE" \
     "$COPILOT_SELF_RELATIVE" \
     "$HOME/.codex/understand-anything/understand-anything-plugin" \
     "$HOME/.opencode/understand-anything/understand-anything-plugin" \
     "$HOME/.pi/understand-anything/understand-anything-plugin" \
     "$HOME/understand-anything/understand-anything-plugin"; do
     if [ -n "$candidate" ] && [ -d "$candidate/packages/dashboard" ]; then
       PLUGIN_ROOT="$candidate"; break
     fi
   done

   if [ -z "$PLUGIN_ROOT" ]; then
     echo "Error: Cannot find the understand-anything plugin root."
     echo "Checked:"
     echo "  - ${CLAUDE_PLUGIN_ROOT:-<unset CLAUDE_PLUGIN_ROOT>}"
     echo "  - $HOME/.understand-anything-plugin"
     echo "  - ${SELF_RELATIVE:-<unresolved path derived from ~/.agents/skills/understand-dashboard>}"
     echo "  - ${COPILOT_SELF_RELATIVE:-<unresolved path derived from ~/.copilot/skills/understand-dashboard>}"
     echo "  - $HOME/.codex/understand-anything/understand-anything-plugin"
     echo "  - $HOME/.opencode/understand-anything/understand-anything-plugin"
     echo "  - $HOME/.pi/understand-anything/understand-anything-plugin"
     echo "  - $HOME/understand-anything/understand-anything-plugin"
     echo "Make sure you followed the installation instructions for your platform."
     exit 1
   fi

   DASHBOARD_DIR="$PLUGIN_ROOT/packages/dashboard"
   ```

4. **Fast path — try the prebuilt viewer first (no install, no build).** Each release ships a self-contained viewer tarball; run it pinned to the installed plugin version:
   ```bash
   : "${PLUGIN_ROOT:?Run step 3 first so PLUGIN_ROOT is set}"
   : "${PROJECT_DIR:?Run step 1 first so PROJECT_DIR is set}"
   PLUGIN_VERSION=$(node -p "require('$PLUGIN_ROOT/package.json').version")
   VIEWER_URL="https://github.com/Egonex-AI/Understand-Anything/releases/download/v${PLUGIN_VERSION}/understand-anything-viewer.tgz"
   npx --yes "$VIEWER_URL" "$PROJECT_DIR"
   ```
   Run this in the background. It prints the same `🔑  Dashboard URL` line as the dev server:
   - If the line appears, **skip steps 5-6** and continue at step 7.
   - If the process exits without printing it (no release asset for this version, or no network), fall back to steps 5-6.

5. Fallback: install dependencies and build if needed:
   ```bash
   : "${PLUGIN_ROOT:?Run step 3 first so PLUGIN_ROOT is set}"
   DASHBOARD_DIR="${DASHBOARD_DIR:-$PLUGIN_ROOT/packages/dashboard}"
   cd "$DASHBOARD_DIR" && (pnpm install --frozen-lockfile 2>/dev/null || pnpm install)
   ```
   Then ensure the core package is built (the dashboard depends on it):
   ```bash
   : "${PLUGIN_ROOT:?Run step 3 first so PLUGIN_ROOT is set}"
   cd "$PLUGIN_ROOT" && pnpm --filter @understand-anything/core build
   ```

6. Fallback: start the Vite dev server pointing at the project's knowledge graph:
   ```bash
   : "${PROJECT_DIR:?Run step 1 first so PROJECT_DIR is set}"
   : "${DASHBOARD_DIR:?Run step 5 first so DASHBOARD_DIR is set}"
   cd "$DASHBOARD_DIR" && GRAPH_DIR="$PROJECT_DIR" npx vite --host 127.0.0.1
   ```
   Run this in the background so the user can continue working.

7. **Capture the access token URL from the server output.** The server (viewer or Vite) prints a line like:
   ```
   🔑  Dashboard URL: http://127.0.0.1:<PORT>?token=<TOKEN>
   ```
   Extract the full URL including the `?token=` parameter. The token is required to access the knowledge graph data — without it the dashboard will show an "Access Token Required" gate.

8. Report to the user, including the full tokenized URL:
   ```
   Dashboard started at http://127.0.0.1:<PORT>?token=<TOKEN>
   Viewing: $UA_DIR/knowledge-graph.json

   The dashboard is running in the background. Press Ctrl+C in the terminal to stop it.
   ```
   **Important:** Always include the `?token=` parameter in the URL you share. If you omit it, the user will be blocked by the token gate and have to manually find the token in the terminal output.

## Notes

- The fast path (step 4) downloads a version-pinned, self-contained viewer from the GitHub release — nothing is installed into the plugin directory and no build runs
- The dashboard auto-opens in the default browser (both the viewer and Vite's `--open`)
- If port 5173 is already in use, the next available port is picked (both paths)
- In the fallback, the `GRAPH_DIR` environment variable tells the dev server where to find the knowledge graph

© Egonex-AI · MIT · Egonex-AI/Understand-Anything

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой