revenuecat-audiences
Use before sharing a link to a filtered customer list or audience, and when identifying, filtering, or ranking the user's customers (a segment, who they are…
от RevenueCat★ 80 звёзд на GitHub
Установить revenuecat-audiences в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audience filters and dashboard links
Use Audiences to filter the user's customers and to share a dashboard link to that set. Filters
select the segment; sort_by / sort_direction on preview-audience order the returned sample.
There is no first-class CLI command for audiences. Do not tell the user RevenueCat cannot filter or segment customers.
Identifying, filtering, or ranking customers
Audiences filter on the fields below, including:
- Product and duration —
latestProduct,allPurchasedProductIds,latestPurchasedOffering, entitlements, offers - Spend and renewals —
totalSpent(filter, andsort_by: total_spent),totalRenewals(filter only; there is no renewal sort) - Subscription state —
status, trial, auto-renew intent, ownership - Store, platform, and country —
platform,latestStore,country,storefront - Dates — first seen, purchases, renewals, expiration, trial, cancellation
- Attribution and experiments — media source, campaign, ad group, keywords, price experiment
- Identity and custom attributes — app user ID, email, locale,
customAttribute:{key}
Map the question onto those fields, filter, then read a sample.
- Fetch project-specific values with
get-audience-filter-optionsfor any field marked project-specific that the question uses (project_id,fields). - Call
preview-audiencewithproject_idandbody.rulesin the filter rule shape (for a saved audience fromlist-audiences, passbody.audience_uuidinstead). It is read-only and saves nothing. Do notcreate-audiencejust to inspect a segment. - To rank or name a superlative, pass
sort_by(status,latest_auto_renew_intent,first_seen_at,last_seen_at,total_spent) andsort_direction(ascdefault, ordesc) as top-level parameters, not insidebody.sort_by: total_spentwithsort_direction: descreturns the highest spenders first, so the firstcustomer_samplerow is the top spender. The sample is capped (typically 50): it is the top or bottom matches, not every customer. - Answer "how many" from
stats(total_customers,active_subscriptions,active_trials,total_revenueincurrency), never from the sample size. Whenstats.is_approximateis true, give counts and revenue as approximate ("about 6,400 customers"). - Name customers only from fields
customer_samplereturned (app_user_id,email,status,total_spent,latest_product_name, first/last seen). Withoutsort_bythe sample is unordered: say it is a sample of matches, not a ranking. totalRenewalsis a filter only, not asort_byvalue or a sample column. Filter on a high threshold and report the matches; do not invent a renewal count or claim a unique maximum.- Share the dashboard link. The
preview-audienceresult forbody.rulesincludes a line starting "Dashboard URL for this result"; link that exact URL. Build one yourself (constructing a link) only when no tool result gave you a URL.
Constructing a link
Use this only when no tool result gave you a "Dashboard URL for this result" line. Two shapes: a
filtered all-customers link for ad-hoc exploration, and a saved-audience link after
create-audience.
- Get the project ID from
list-projects. For dashboard URLs, strip theprojprefix. - Pick fields and operators from the field tables. Do not invent field or operator names.
- For project-specific fields, fetch valid values with
get-audience-filter-optionsfirst. - Assemble the rule JSON: one group per OR-branch, conditions inside a group for AND, values encoded per value formats.
- Serialize and URL-encode the rule with a short script (see encoding the rule) — do not encode by hand.
- Append it as the
filtersquery param onhttps://app.revenuecat.com/projects/{project_id}/customer-lists/all-customers.
URL format
https://app.revenuecat.com/projects/{project_id}/customer-lists/all-customers?filters={encoded_rule}
{project_id}— short hex ID fromlist-projectswithprojstripped.- Filters only work on the
all-customerslist. The unfiltered Audiences home is/projects/{project_id}/customer-lists.
Linking to a saved audience
The create-audience and get-audience results include a "Dashboard URL for this result" line;
link that exact URL. If you only have list-audiences output, link with customer_list_id, the
field returned alongside id:
https://app.revenuecat.com/projects/{project_id}/customer-lists/{customer_list_id}
An audience's id (aud…) and its customer_list_id (list…) are different identifiers.
The dashboard route only resolves customer_list_id; an aud… id in that slot renders
"Audience not found".
Correct:
https://app.revenuecat.com/projects/1ab2c3d4/customer-lists/list1a2b3c4d5e
*Wrong
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл revenuecat-audiences?
Use before sharing a link to a filtered customer list or audience, and when identifying, filtering, or ranking the user's customers (a segment, who they are, a product or duration, spend, renewals, status, country, attribution).
Как установить скилл revenuecat-audiences?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл revenuecat-audiences запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…