create-dashboard

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Create Dashboard with Kopai

Component Schema (auto-generated)

!npx @kopai/cli dashboards schema 2>/dev/null || echo "ERROR: Cannot connect to Kopai backend. If running locally, start it with: npx @kopai/app start — If using a remote backend, check the url in your .kopairc file."

Available Metrics

!npx @kopai/cli metrics discover --json 2>/dev/null || echo "ERROR: Cannot connect to Kopai backend. If running locally, start it with: npx @kopai/app start — If using a remote backend, check the url in your .kopairc file."

Workflow

  1. Discover metricsnpx @kopai/cli metrics discover --json
  2. Design tree — build a uiTree using components from the schema above
  3. Create dashboard — pipe JSON to npx @kopai/cli dashboards create --name "<name>" --tree-version "0.7.0" --json
  4. Verify — response contains id (success) or error (failure). On error: re-run metrics discover to check metric names and types match the component compatibility table below, fix the tree, and retry

Quick Example

Related skills
Installs
4
GitHub Stars
3
First Seen
Mar 19, 2026