create-dashboard
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Create Dashboard with Kopai
Build a dashboard by writing a short TypeScript script: design a uiTree, feed each
data tile with a type-safe kq query, and create it via client.createDashboard(...).
The CLI stays as a fallback for one-off creates.
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."
Code mode (recommended)
Connect — clientFromConfig() reads .kopairc just like the CLI: