rc-plan-changes

rc-plan-changes is a skill for Claude Code, Codex from RevenueCat/ai-toolkit. It costs 48 tokens per session (1,286 once invoked), scanned A, original, MIT.

Guidance for changing an existing Google Play subscription through RevenueCat, a service that manages in-app purchases. It covers upgrades, downgrades, switching plans, and converting a trial.

In plain words
What is it for?
Use it to implement Android subscription upgrades, downgrades, cross-grades, and trial conversions for users who already have an active subscription.
Why use it?
It removes the need to manually handle Google Play's replacement choices and linked purchase tokens when a subscriber changes plans.

Skill for Claude CodeCodex

Part of the revenuecat-play-billing plugin — 20 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/revenuecat/ai-toolkit/rc-plan-changes
Any agent
npx skills add RevenueCat/ai-toolkit --skill rc-plan-changes
Clone the repo
git clone --depth 1 https://github.com/RevenueCat/ai-toolkit

Made for: Claude Code, Codex.

Or install revenuecat-play-billing, the plugin that ships this one along with the rest of its 20 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rc-plan-changes

README.md
[![agentmods](https://agentmods.dev/badge/skills/revenuecat/ai-toolkit/rc-plan-changes.svg)](https://agentmods.dev/skills/revenuecat/ai-toolkit/rc-plan-changes)
Your own site
<a href="https://agentmods.dev/skills/revenuecat/ai-toolkit/rc-plan-changes"><img src="https://agentmods.dev/badge/skills/revenuecat/ai-toolkit/rc-plan-changes.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00048 $0.01286
Opus 5 $0.00024 $0.00643
Sonnet 5 $0.00010 $0.00257
Haiku 4.5 $0.00005 $0.00129

Measured 5d ago against content hash b61b3fe23ff6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rc-plan-changes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

revenuecat-play-billing/skills/rc-plan-changes/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan Changes on Android with RevenueCat

You use this skill when a user already has an active Google Play subscription and you need to move them to a different SKU (upgrade, downgrade, cross-grade, or trial conversion). RevenueCat exposes Google's replacement modes through a single PurchaseParams builder and resolves the linkedPurchaseToken chain server side so you do not write token chaining code.

Phase 1: Preconditions

Confirm the following before invoking a plan change:

  • The user has exactly one active Google Play subscription you intend to replace.
  • You have a fresh CustomerInfo from Purchases.sharedInstance.awaitCustomerInfo() or a cached value from a recent listener callback.
  • You have the target Package resolved from offerings.current (see fetch-offerings skill).
  • Google Play Billing Library 7+ is on the classpath via the RevenueCat SDK.

Skip this skill if the user has no active subscription. For a fresh purchase, use make-purchase instead.

Phase 2: Plan (pick a replacement mode)

GoogleReplacementMode maps one to one onto Google's billing modes. Pick based on the user intent:

Scenario Mode Billing effect
Standard upgrade (monthly to annual) WITH_TIME_PRORATION Immediate switch, remaining time credited
Upgrade, keep the existing billing date CHARGE_PRORATED_PRICE Immediate switch, prorated charge now
Switch to or from a prepaid plan CHARGE_FULL_PRICE Immediate switch, full charge now
Upgrade during an active free trial CHARGE_PRORATED_PRICE Immediate switch, prorated charge now
Downgrade (annual to monthly) DEFERRED Switch applies at next renewal

Do not default to WITHOUT_PRORATION for trial upgrades. WITHOUT_PRORATION applies the new plan immediately but charges nothing until the next renewal, which gives the user free premium access they did not pay for. Use CHARGE_PRORATED_PRICE to charge the upgrade price on the spot.

If you set no mode, PurchaseParams defaults to WITHOUT_PRORATION. Set the mode explicitly every time.

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 114 lines · 48 tokens per session scan A b61b3fe23ff6

Subscribe to this mod's changes

rc-plan-changes is a skill published in the GitHub repository RevenueCat/ai-toolkit (65 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 1,286 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

play-billing-library-version-upgrade

Use this skill when upgrading or migrating an Android project from any legacy Google Play Billing Library (PBL) version to the latest stable version of PBL.

android/skills · 39 tokens

asc-revenuecat-catalog-sync

Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements, offerings, and packages using asc and RevenueCat MCP. Use when setting up or syncing subscription catalogs across ASC and RevenueCat.

rorkai/app-store-connect-cli-skills · 51 tokens

google-play

Google Play Developer API (Android Publisher) integration with managed OAuth. Manage apps, subscriptions, in-app purchases, and reviews. Use this skill when users want to interact with Google Play Console programmatically. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

CraftOS-dev/CraftBot · 70 tokens

asc-iap-attach

Attach in-app purchases and subscriptions to an app version for App Store review. Use when the user has IAPs or subscriptions in "Ready to Submit" state that need to be included with a first-time version submission. Works for both first-time and subsequent submissions.

blitzdotdev/blitz-mac · 59 tokens

subscription-lifecycle

Generates StoreKit 2 subscription lifecycle management — grace periods, billing retry, offer codes, win-back offers, upgrade/downgrade paths, and subscription status monitoring. Use when user needs post-purchase subscription state handling beyond the initial paywall.

rshankras/claude-code-apple-skills · 55 tokens

subscription-offers

Generates StoreKit 2 code for all subscription offer types — introductory, promotional, offer codes, and win-back. Includes eligibility checks, offer presentation, and the preferredSubscriptionOffer modifier. Use when adding subscription offers, free trials, or promotional pricing.

rshankras/claude-code-apple-skills · 55 tokens