cube-explore-model
Installation
SKILL.md
Explore a Cube semantic model
Read-only. Nothing here changes state, so you never need a dev-mode branch — which also means you can run any of it before you know what you're doing.
Preflight
Run this once at the start. Stop and report if either check fails; do not guess at credentials or invent a deployment id.
command -v cube >/dev/null || echo "Cube CLI not installed: curl -fsSL https://raw.githubusercontent.com/cube-js/cube/master/install-cli.sh | sh"
cube whoami || echo "Not authenticated. Interactive: cube login. Headless: set CUBE_API_URL + CUBE_API_KEY."
cube context list # multi-tenant: confirm you are pointed at the right tenant
cube context list matters more than it looks. A user with staging and
production contexts will not mention which one they mean, and every command
below takes a deployment id that is only unique within a tenant.