cube-run-query

Installation
SKILL.md

Run a query against Cube

This is the one skill that steps outside the CLI. cube api is bound to Cube's console API and cannot reach a deployment's query endpoint, so querying is two CLI calls to get a URL and a token, then a direct request to the deployment.

Preflight

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

jq and curl are also required here, unlike every other skill in this plugin. Check for them and say so if they are missing.

Get the endpoint and a token

Installs
11
GitHub Stars
1
First Seen
Aug 19, 2026
cube-run-query — cube-js/cube-agent-skills