revenuecat/ai-toolkit/revenuecat-charts

Claude Code and agent skill by revenuecat/ai-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user asks about RevenueCat data, analytics, charts, or KPIs — querying charts with get-chart-options-schema and get-chart-data, interpreting subscription metrics, or sharing dashboard chart links. For forecasts, projections, or run-rates, use revenuecat-forecasting.

Install

npx vskill@latest install revenuecat/ai-toolkit/revenuecat-charts

SKILL.md

The same SKILL.md was published earlier as revenuecat/ai-toolkit/revenuecat-charts.

Accessing RevenueCat charts

When querying a RevenueCat chart, follow this workflow:

  1. Use get-chart-options-schema to discover a chart's available options.
  2. Use get-chart-data with the right options to retrieve the chart data.
  3. Analyze the data, using scripts for any non-trivial arithmetic.

Via the rc CLI (see the revenuecat-cli skill): rc charts list to list charts, rc charts options <chart> for the schema, and rc charts show <chart> for the data.

In general, to avoid clogging the context, start with defined timeframes and larger resolution, then narrow down.

1. Discover chart options with get-chart-options-schema

  • Treat get-chart-options-schema as the source of truth for each chart before calling

get-chart-data. It returns the chart's supported resolutions, filters, segments, and user_selectors. Always call this tool with "realtime": true. Later get-chart-data calls must use string IDs exactly as returned here.

  • filters are the dimensions you may later constrain in get-chart-data.
  • Each filter has:
  • an id to later use as the filter name.
  • a value_mode that tells you how to choose valid values:
  • inline_enum means you must use the id of one of the returned options. Resolve

user-supplied names first with the matching list tool, such as list-products, list-offerings, list-apps, etc.

  • inferred_standard means use the standard code from value_source such as an ISO country

code.

  • dynamic means values come from observed project data and must match exactly.
  • Do not pass display names, store product identifiers, bundle IDs, or guessed values unless the

schema says they are valid values.

  • segments are the dimensions you may later group by in get-chart-data using segment.
  • A segment entry directly gives the dimension id to use. It does not list segment values

because the chart will group by it and show all values in the output.

  • Filters and segments are separate per-chart lists, so never assume a filterable dimension is

segmentable. For example, conversion_to_paying may support product_id and offering_identifier as filters but not as segments.

  • user_selectors are chart-specific switches that change what metric or window the chart returns.

Each selector is keyed by the selector ID to pass in get-chart-data's selectors JSON object and usually includes allowed option IDs plus a default. For example, the revenue chart may use revenue_type (revenue, revenue_net_of_taxes, proceeds), while conversion charts may use conversion_timeframe and default to 7_days. State non-default selector choices when presenting results.

  • resolutions list the supported time granularity and their string IDs for get-chart-data. You

must always pass one of these resolution IDs (such as "0" for day or "2" for month) when later calling get-chart-data.

2. Retrieve chart data with get-chart-data

Choosing dates and resolution
  • Relative ranges phrased in weeks, months, or quarters ("last 2 weeks", "last month") are

ambiguous. If today is Friday 2026-07-31, "last 2 weeks" can mean Jul 18–31 (trailing 14 days), Jul 12–25 (the last two full weeks), or Jul 19–31 (last full week plus the current one). Ask which the user means, offering each reading with its concrete dates. Skip the question only when the dates are already pinned down: explicit dates, a range in days, wording that names full calendar periods ("the previous calendar month"), or an earlier clarification.

  • Date ranges are inclusive (start_date and end_date are included in the range). "Last N days" is a

trailing window: end date is today, start date is N-1 days before today.

  • Every period is labeled with the first day of the calendar period containing it (week, month, or

quarter start), regardless of start_date. Weeks start on the project's configured week start day (e.g. Sunday or Monday), so week labels vary per project. A range that starts or ends mid-period returns partial buckets whose labels don't match the requested dates. For trailing windows, prefer daily resolution — with aggregate when you only need totals — so the data covers exactly the requested dates.

  • When presenting results, state the start and end dates you queried, never the first/last bucket

labels. E.g. Jul 18–31 queried weekly (Sunday start) returns buckets labeled Jul 12, 19, and 26 — say "Jul 18 – Jul 31", not "Jul 12 – Jul 26".

Calling get-chart-data
  • Always set "realtime": true and specify start date, end date and resolution ID.
  • Always follow the guidelines from a prior get-chart-options-schema for that chart.
  • For questions spanning several projects, make one get-chart-data call per project and issue

them in parallel batches of about 10–20. Wider batches risk the API rate limit; check each batch for rate-limited calls and re-issue only those. Don't fall back to one call at a time.

  • Use available filters to constrain the output. They are a JSON-encoded array of

{"name": "<filter id>", "values": ["<value id>", ...]}.

  • Values within one entry are ORed; separate entries are ANDed. Example: App Store revenue in the

US or the UK: "[{\"name\": \"store\", \"values\": [\"app_store\"]}, {\"name\": \"country\", \"values\": [\"US\", \"GB\"]}]".

  • Use at most one entry per filter name: a repeated name silently replaces the earlier entry

(it does not combine with it). Filter values must not contain commas.

  • Use the available selectors for configuring the chart. They are a JSON-encoded object mapping

selector IDs to option IDs, e.g. "{\"revenue_type\": \"proceeds\"}". Omitted selectors use their defaults; the response echoes the applied values in user_selectors.

  • Use segment to group the output by some of the segmentable dimension IDs:
  • Note that segmenting multiplies output size. You can keep responses small by using a coarser

resolution, a shorter date range, limit_num_segments (keeps the top N by value and folds the rest into "Other"), or aggregate when you only need per-segment totals.

  • Use aggregate for summary-only questions such as totals or averages (e.g. "total Q1 revenue").

Prefer this over fetching and computing from raw data points yourself. Combined with segment it returns compact per-segment summaries (e.g. country averages). In the output, values will be empty and summary will contain just those operations.

  • Pass currency to convert outputs to some monetary unit (see yaxis_currency in the response).
Reading get-chart-data outputs
  • measures lists the metrics the chart returns (display name, unit, description). Most charts

return several, e.g. revenue may return Revenue, Transactions, and Ad Impressions.

  • values is a flat array of points {cohort, measure, value, incomplete}, plus segment when

segmented. cohort is the Unix timestamp of the period start; measure and segment are indexes into the measures and segments arrays. The first segment is usually a "is_total": true - never sum it together with the other segments.

  • summary holds total and average per measure display name, nested per segment when segmented.
  • Points with incomplete: true cover partial periods: the current period, and the first period

when start_date falls mid-period (since expand_periods defaults to false). Exclude them from trend or comparison analysis, and call them out when presenting. Point-in-time charts (MRR, actives, trials) ignore expand_periods: their values are snapshots at period boundaries and are never partial.

  • annotations lists dated notes the user made on their dashboard (e.g. releases, launches or

experiments). Check them when explaining movements in the data.

  • Invalid filters, segments, or selector values fail with a 400 parameter_error whose message

lists the supported IDs. On such errors, re-read the options schema instead of retrying guesses.

3. Analyze the data

  • Segmented responses include a Total segment, and the limit_num_segments cap folds segments

beyond the top N into an Other segment. Use Total as the baseline; do not sum segments yourself.

  • Do complex arithmetic on chart output (growth rates, segment shares, combining numbers across

calls) with scripts (e.g. jq or a short Python script) instead of reasoning over the numbers.

  • The most recent period may be flagged incomplete. Do not compare it against full periods without

saying so.

  • Before speculating about the cause of a metric shift, first check the available user annotations.
  • Cohort charts measure within a cumulative window from first seen, chosen by a selector

(conversion_timeframe on conversion charts, customer_lifetime on realized LTV charts), one window per call. State the window when presenting results and hold it constant when comparing cohorts.

Interpreting metrics

Subscription apps are driven by four forces:

  • Acquisition - how many new customers are arriving to the app
  • Conversion - how many of those customers are converting into trials or paid plans
  • Retention - how long do those customers retain
  • Reactivation - how can you bring back old users

The net movement of an apps revenue will be the result of the combination of these forces. When giving advice, always use benchmark data to make sure you aren't incorrectly diagnosing an issue.

General guidelines:

  • Before telling the user RevenueCat has no source for a metric they named, pick the likely

chart(s), call get-chart-options-schema for options, then get-chart-data and check its periods / measures — unfamiliar names are often one period or measure inside a chart (schema alone does not list those). Missing from get-benchmarks means no peer percentile band, not that the value can't be computed.

  • After looking: if nothing in the tools matches, or two readings would produce materially

different numbers, ask the user to define the metric. Do not invent a definition.

  • Keep fan-out deliberate on complex questions: start with high-level charts, then ask a clarifying

question (which product, store, or country?) rather than pulling every possible cut.

  • When using the data tools, date ranges are inclusive (start_date and end_date are included in the range). When asked for data for the "last N days", take that into account (use today as end date, start date is (N-1) days before today).
  • Provide links to RevenueCat charts (see the Dashboard URL Format section below) where it is useful. Provide specific links including filters, segments, date ranges, etc — eg. if you are asked for proceeds in the last 3 months, link to the revenue chart with custom date range of the last 3 months and the revenue_type selector set to proceeds, don't link to the plain revenue chart
  • For forecasts, projections, or run-rates, load the revenuecat-forecasting skill before pulling charts.

Revenue

  • When asked for general revenue numbers without additional specification, default to gross revenue (ie. revenue including taxes and store commissions) and call it out.

Acquisition

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
73
Repository forks
9
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/revenuecat/ai-toolkit/revenuecat-charts/badge)](https://verified-skill.com/skills/revenuecat/ai-toolkit/revenuecat-charts)

Something wrong with this skill or its page? Tell us.