Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

understand-dashboard — Claude Code skill: what it does, install

Launches a web dashboard that visualizes a codebase knowledge graph. Use it when you need to inspect project structure through an interactive view.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Egonex-AI/Understand-Anything --skill understand-dashboard -a claude-code
Open on GitHub

What understand-dashboard does

The skill resolves the project directory and looks for the knowledge graph in .understand-anything/ or .ua/. The project needs knowledge-graph.json; when it is missing, run /understand first.

It first tries the release viewer through npx, using the installed plugin version. If that path fails, it installs dashboard dependencies, builds @understand-anything/core, and starts the Vite server with the selected project graph.

The server prints a dashboard URL with a token query parameter. That token is required to access the graph data. You can pass a project path as an argument or use the current working directory. Check that /understand has already created knowledge-graph.json.

What it helps with

  • visualize a codebase knowledge graph
  • inspect project structure in a web dashboard
  • launch the viewer for a selected project
  • explore relationships across the codebase

Example prompts for the agent

  • Run `/understand-dashboard` for the current project.
  • Open the dashboard for `/path/to/project` with `/understand-dashboard /path/to/project`.
  • Start `/understand-dashboard` after `knowledge-graph.json` has been generated.

How to install understand-dashboard

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

Copy the whole skill folder; for one project use .claude/skills/understand-dashboard/

From the same set8

The whole set →
understand Egonex-AI Analyzes a codebase and builds an interactive knowledge graph of its architecture, components, and relationships. Use it to explore an existing project. Claude Code CX Codex Cursor +1 5,200installs understand-explain Egonex-AI Explains a file, function or module using the project knowledge graph: edges, layers, data flow. Useful when you land in unfamiliar code. Claude Code CX Codex Cursor +1 3,800installs understand-onboard Egonex-AI Generates a structured project onboarding guide for new teammates using an existing knowledge graph. Useful for introducing developers to unfamiliar repositories. Claude Code CX Codex Cursor +1 3,700installs understand-chat Egonex-AI A skill that answers questions about code structure and relationships using your project's knowledge graph. Useful when learning a codebase or tracking how components connect. Claude Code CX Codex Cursor +1 3,700installs understand-diff Egonex-AI Analyzes Git diffs against the project knowledge graph to identify affected dependencies, architectural layers, and merge risks. Useful before reviewing pull requests. Claude Code CX Codex Cursor +1 3,600installs understand-domain Egonex-AI Extracts business domains and process flows from a codebase, then creates an interactive graph. Useful when you need to see how a project’s processes fit together. Claude Code CX Codex Cursor +1 3,500installs understand-knowledge Egonex-AI Analyzes a Karpathy-pattern wiki and builds an interactive graph of entities, links, and topics. Use it to map a structured knowledge base. Claude Code CX Codex Cursor +1 3,400installs

Similar

mle-workflow affaan-m A skill for turning model work into a production system: data contracts, reproducible training, evaluation, deployment and rollback. Claude Code CX Codex Cursor +1 4,500installs clickhouse-io affaan-m Guides AI agents on ClickHouse table engines, query tuning, and batch ingestion patterns for analytical workloads. Claude Code CX Codex Cursor +1 4,400installs sql-code-review official github Reviews SQL for security and performance issues, as well as maintainability. Use it when checking queries or a database schema. GitHub Copilot 14,060installs postgresql-code-review official github Reviews SQL and database schemas for PostgreSQL-specific issues. Use it before reviewing migrations, JSONB queries, functions, or access rules. GitHub Copilot 12,608installs google-cloud-waf-sustainability official google Assesses Google Cloud workloads for sustainability, carbon emissions, and energy use. Use it when designing or tuning cloud architecture with environmental limits in mind. Claude Code Gemini CLI CX Codex 9,346installs postgresql-table-design Seth Hobson Helps design and review PostgreSQL schemas with guidance on data types, keys, constraints, indexes, and table partitioning. Claude Code CX Codex Cursor 27,780installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs google-agents-cli-observability official Google This skill guides you through tracing and monitoring AI agents, including ADK agents. Use it when you need to inspect agent execution or monitor a deployed agent. Claude Code CX Codex Cursor +1 509,900installs

Questions about understand-dashboard

How do I install understand-dashboard in Claude Code?

Run npx skills add Egonex-AI/Understand-Anything --skill understand-dashboard -a claude-code, run the same command again, then open ~/.claude/skills/understand-dashboard/SKILL.md.

What does understand-dashboard do?

The skill launches a web dashboard for visualizing a codebase knowledge graph. It uses the current project or a directory passed as an argument.

What does understand-dashboard need to run?

The project must contain knowledge-graph.json under .understand-anything/ or .ua/. Generate it by running /understand first.

Source text

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor