analytics-explore
analytics-explore
Build and run a Product Analytics exploration — GrowthBook's ad-hoc charting surface — and report the numbers with a deep link to the rendered chart. Three dataset types are supported: an existing fact metric, a fact table aggregation, or a raw warehouse table. This skill runs warehouse queries but never changes GrowthBook configuration; it does not create metrics, fact tables, or dashboards.
All API calls go through the bundled helper. Under the Claude Code plugin install, it lives at ${CLAUDE_PLUGIN_ROOT}/scripts/gb-call (the plugin root). Under npx skills install, it lives at scripts/gb-call relative to this skill's directory. It expects GB_API_KEY in env.
Workflow
1. Pick a datasource
Explorations are scoped to one SQL datasource. If a datasource is already established in this conversation, reuse it.
gb-call GET /api/v1/data-sources
- 0 datasources → tell the user none is configured and stop.
- 1 datasource → use it without asking, but say which one you're using.
- 2+ datasources → use the one the user named; otherwise ask which to use.