From growthbook
Search, list, and audit GrowthBook metrics and fact tables. Use when the user asks "what metrics do we have", "find our revenue metric", "what fact tables exist", "which metrics are official", "what can I chart", "show me metrics tagged growth", "what columns does the orders fact table have", or "audit our metrics". Read-only — for actually charting a metric, use analytics-explore. For designing an experiment around a metric, use experiment-design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/growthbook:metric-searchThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search, list, and audit GrowthBook metrics and fact tables. Three jobs share this skill: inventory ("what do we have?"), lookup ("find the revenue metric and show me its definition"), and chartability triage ("what can I actually explore?"). It is the discovery front door for analytics-explore and experiment-design.
Search, list, and audit GrowthBook metrics and fact tables. Three jobs share this skill: inventory ("what do we have?"), lookup ("find the revenue metric and show me its definition"), and chartability triage ("what can I actually explore?"). It is the discovery front door for analytics-explore and experiment-design.
Read-only — this skill never writes.
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.
Pick the path that matches the user's request.
There is no search endpoint; list and filter client-side.
gb-call GET '/api/v1/fact-metrics?limit=100'
gb-call GET '/api/v1/fact-tables?limit=100'
Both paginate with limit/offset (loop while hasMore is true) and accept datasourceId and projectId filters; /fact-metrics also accepts factTableId. Scope to a datasource when the user is heading toward charting — explorations are datasource-scoped.
Present the inventory grouped by fact table (metrics hang off their numerator.factTableId), with each metric's metricType and a one-line description. Flag managedBy: "admin" entries as official — vetted definitions the org manages centrally; prefer them when several similar metrics exist.
For completeness on older orgs, legacy metrics live at:
gb-call GET '/api/v1/metrics?limit=100'
List them separately and label them: legacy metrics work in experiments but cannot be charted in Product Analytics — only fact metrics can.
Fetch the list (Path A) and match client-side by name — matching is on your side, so try substrings and synonyms before declaring a miss ("purchase" for "order", "signup" for "registration").
Then pull the full definition:
gb-call GET /api/v1/fact-metrics/fact__abc123
gb-call GET /api/v1/fact-tables/ftb_abc123
Surface for a metric: metricType (mean, proportion, retention, dailyParticipation, ratio, quantile), numerator (fact table, column, aggregation, row filters), denominator (ratio metrics), inverse, and window/capping settings when they change interpretation. For a fact table: userIdTypes, sql, and columns[] — each column has column, datatype, deleted, and for string columns topValues (the observed values, refreshed by a background job).
Answer three questions per candidate:
fact__... IDs chart in Product Analytics. Legacy met_... metrics don't.datasource against GET /api/v1/data-sources — Mixpanel and Google Analytics datasources can't run explorations.Report the chartable set and hand off to analytics-explore to actually run one.
/fact-metrics and /fact-tables have no name/query param — fetch and filter client-side. On large orgs paginate the full set first (100 per page), and mind the 60 rpm rate limit.managedBy: "admin". There is no official field on the API response — the Official badge in the GrowthBook UI corresponds to managedBy: "admin". "api" means managed by API automation; "" means anyone can edit it in the UI./api/v1/metrics entries work as experiment metrics but Product Analytics explorations only accept fact metrics. Don't promise a chart for one.deleted: true columns on fact tables — they're soft-deleted leftovers from schema refreshes and can't be used in values, filters, or dimensions.topValues can be stale or absent. It's populated by a background job for string columns only. Treat it as a hint at what values exist, not a complete or current enumeration.id, not the display name. Fact metric IDs always start fact__; fact table IDs default to ftb_... but can be custom (API-created tables often are), so don't filter by prefix.GET /api/v1/fact-metrics — paginated fact metric list (datasourceId, factTableId, projectId, limit, offset)GET /api/v1/fact-metrics/:id — full metric definitionGET /api/v1/fact-tables — paginated fact table list (datasourceId, projectId, limit, offset)GET /api/v1/fact-tables/:id — columns, userIdTypes, topValues, SQLGET /api/v1/metrics — legacy metrics, listed for completeness onlyGET /api/v1/data-sources — datasource types for chartability triageGET /api/v1/projects — resolve project name to ID for project-scoped listingsanalytics-explore — to chart a metric or fact table found hereexperiment-design — to pick goal/guardrail metrics for a new experimentexperiment-analyze — when the user's question is about an experiment's metric results, not the metric catalognpx claudepluginhub growthbook/skills --plugin growthbookBrowses, searches, and displays metric definitions including formulas, source tables, dimensions, guardrails, and validations from active dataset's metric dictionary via /metrics commands.
Build and run a GrowthBook Product Analytics chart via the REST API — visualize a metric over time, aggregate a fact table, or chart a raw warehouse table, then return the numbers plus a deep link to the chart. Use when the user asks "show me signups by country", "chart daily active users", "how many orders last week", "plot revenue over time", "break that down by plan", or any "show me / chart / plot / how many" question about product data. For discovering what metrics and fact tables exist first, use metric-search. For experiment results, use experiment-analyze — this skill is for general analytics, not A/B test readouts.
Produces complete metrics specs for product areas: names, formulas, data sources, segmentation, SQL/event tracking, thresholds. Use for KPI definition or feature instrumentation.