/revenuecat:purchase-flowfrom RevenueCat
Implements RevenueCat purchase and restore flows across iOS, Android, Kotlin Multiplatform, Flutter, and React Native. Handles fetching offerings, purchasing packages, detecting user cancellation, and restoring previous purchases.
Ships in RevenueCat. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user wants to complete the purchase side of RevenueCat: fetch offerings, call purchase, deal with cancellation and errors, and expose a "Restore" action. It does not cover rendering a paywall UI (that lives in paywall) or gating features (that lives in entitlements-gate).
If the app has no paywall yet and the user has not asked for a custom one, settle how the paywall is built first (integrate-revenuecat, Section 5c). The default is a RevenueCat Paywall, which handles the purchase itself.
Inspect the working directory and pick the first match, from top to bottom:
package.json has a react-native-purchases entry, or react-native as a dependency → read platforms/react-native.md. If expo is also a dependency, note it as an Expo project.pubspec.yaml exists at the project root → read platforms/flutter.md.build.gradle.kts contains a kotlin { … } multiplatform source sets block, or depends on com.revenuecat.purchases:purchases-kmp* → read platforms/kmp.md.build.gradle(.kts) applies com.android.application (and is not KMP) → read platforms/android.md.Package.swift, *.xcodeproj, *.xcworkspace, or Podfile at the project root → read platforms/ios.md.If several match (e.g. an ios/ folder inside a Flutter project), pick the outermost project, the one that owns the build. If still ambiguous, ask the user which platform they want to configure.
getOfferings(), pick a Package from the current offering, call purchase(package). When it completes successfully, the returned customerInfo already reflects the purchase. Read customerInfo.entitlements.active["<id>"] to confirm access.purchaseCancelledError code, Android throws a PurchasesException with PurchasesErrorCode.PurchaseCancelledError, Flutter surfaces a PlatformException with that same code, React Native rejects with e.code === PURCHASES_ERROR_CODE.PURCHASE_CANCELLED_ERROR (e.userCancelled still works but is deprecated). Return silently in this case. Do not show an alert.entitlements-gate) flip the gated UI. This keeps one source of truth for access and avoids drift between the purchase path and the restore path.restorePurchases() is a user action, not an automatic step. It asks the store for the current receipt and syncs it to RevenueCat. Expose it from a visible "Restore purchases" button on the paywall and/or settings screen. Legal requirements on iOS mandate such a button.Read the platform file that matches detection:
platforms/ios.mdplatforms/android.mdplatforms/kmp.mdplatforms/flutter.mdplatforms/react-native.mdEach platform file contains a complete purchase function and a restore function.
Do not claim the flow works until:
productAlreadyPurchased / receiptAlreadyInUse path; the flow should not crash).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/ad-trackingAdd RevenueCat ad monetization tracking to an app so ad impressions, clicks, revenue and rewarded ads appear in RevenueCat Charts next to subscription revenue. Use when the user asks to track ad revenue in RevenueCat, add RevenueCat ad tracking, integrate the RevenueCat AdMob adapter, report AdMob, AppLovin MAX, Unity LevelPlay (ironSource) or Unity Ads events to RevenueCat, set up ad monetization or ad LTV, or pastes the "Add RevenueCat ad tracking to this app" prompt from the Ads page of the RevenueCat dashboard, on iOS, Android, Kotlin Multiplatform, Flutter, React Native, or Unity. Also use when ad events are missing or look wrong on the RevenueCat Ads page./app-valuationUse this skill when the user asks how much their app is worth, what they could sell their app for, how app valuations or acquisitions work, or how to prepare a subscription app for sale/exit./audiencesHow to query audiences and build links to the RevenueCat dashboard Audiences (customer lists) with filters applied. Use to answer questions about "which customers", and when identifying, filtering, or ranking the user's customers (a segment, who they are, a product or duration, spend, renewals, status, country, attribution), including a population question about last seen, cancellation, or expiration, and whether any more trials will convert today.
/cliDrive RevenueCat from the terminal with the `rc` CLI, an alternative to the RevenueCat MCP server for humans, CI, and agents. Covers install, authentication, command discovery, and output conventions. Use for uploading paywall images to the Media Gallery (`rc media-assets upload`) or custom paywall fonts (`rc fonts upload`) — MCP has no upload tools for these. Referenced by the other RevenueCat skills whenever they offer a CLI path./customer-centerAdd the RevenueCat Customer Center (self service subscription management UI) to an app. Use when the user asks to add a customer center, build a self service subscriptions screen, let users manage subscriptions in app, add a subscription management screen, present CustomerCenterView, call presentCustomerCenter, or wire a 'manage subscription' button to the RevenueCat customer center on iOS, Android, Kotlin Multiplatform, Flutter, or React Native./dashboard-linksHow to link to pages in the RevenueCat dashboard (offerings, products, customers, settings, integrations, paywalls, experiments, etc.). For chart links with filters, use the querying-charts skill; for filtered customer lists, use the audiences skill.npx claudepluginhub revenuecat/ai-toolkit --plugin revenuecat2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job