npx skills add ...
npx skills add egonex-ai/understand-anything --skill understand-dashboard
Launch the interactive web dashboard to visualize a codebase's knowledge graph
npx skills add egonex-ai/understand-anything --skill understand-dashboard
Start the Understand Anything dashboard to visualize the knowledge graph for the current project.
Determine the project directory and data directory:
$ARGUMENTS contains a path, use that as the project directory.understand-anything/ data directory when it exists, otherwise use .ua/Use the Bash tool to resolve:
Check that $UA_DIR/knowledge-graph.json exists in the project directory. If not, tell the user:
Use the Bash tool to check:
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)~/.agents/skills/understand-dashboard real path (self-relative fallback)~/.copilot/skills/understand-dashboard real path (Copilot personal skills fallback)~/.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:
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:
Run this in the background. It prints the same ๐ Dashboard URL line as the dev server:
Fallback: install dependencies and build if needed:
Then ensure the core package is built (the dashboard depends on it):
Fallback: start the Vite dev server pointing at the project's knowledge graph:
Run this in the background so the user can continue working.
Capture the access token URL from the server output. The server (viewer or Vite) prints a line like:
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.
Report to the user, including the full tokenized URL:
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.
--open)GRAPH_DIR environment variable tells the dev server where to find the knowledge graph