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.
npx skills add noloman/Android-AI-skills --skill revenuecat-best-practicesgit clone --depth 1 https://github.com/noloman/Android-AI-skillsWrote 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.
[](https://agentmods.dev/skills/noloman/android-ai-skills/revenuecat-best-practices)<a href="https://agentmods.dev/skills/noloman/android-ai-skills/revenuecat-best-practices"><img src="https://agentmods.dev/badge/skills/noloman/android-ai-skills/revenuecat-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/noloman/android-ai-skills/revenuecat-best-practices"><img src="https://agentmods.dev/badge/skills/noloman/android-ai-skills/revenuecat-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00364 |
| Opus 5 | $0.00000 | $0.00182 |
| Sonnet 5 | $0.00000 | $0.00073 |
| Haiku 4.5 | $0.00000 | $0.00036 |
Grade A, and why
revenuecat-best-practices 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 12d 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.
What it actually says
name: revenuecat-best-practices description: RevenueCat — subscriptions, entitlements, offerings, paywalls, testing, migration. user-invocable: true
RevenueCat Best Practices
Cross-cutting skill — always activates alongside the project-type-specific skill.
Hard Rules
- Configure Purchases once in Application.onCreate() — single initialization.
- Use entitlements (not product IDs) to gate features — decouple store products from access.
- Always check entitlement status from CustomerInfo — never cache purchase state manually.
- Identify users with appUserID when they log in — anonymous IDs for logged-out users.
- Never call configure() more than once — use logIn/logOut for user switching.
- Use Offerings to manage products remotely — do not hardcode product IDs in the app.
- Handle all PurchasesError codes — not just success.
- Test with sandbox/test accounts on real devices — not emulators.
- Use Observer Mode when migrating from existing billing — avoids double-charging.
- Never store CustomerInfo persistently — always fetch fresh from RevenueCat SDK.
Core Patterns
- Wrap Purchases in a repository with Flow-based API for reactive entitlement state.
- Use getOfferings() to fetch current product configuration — display from Offerings, not hardcoded.
- Check CustomerInfo.entitlements.active for feature gating.
- Listen to CustomerInfoUpdateListener for real-time subscription changes.
- Use logIn(appUserID) on authentication, logOut() on sign-out.
- Use RevenueCat Paywalls for server-configurable paywall UI.
References
- references/sdk_setup.md
- references/offerings_products.md
- references/entitlements.md
- references/paywalls.md
- references/user_identity.md
- references/testing_debugging.md
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 39 lines · 0 tokens per session scan A db084726db82
revenuecat-best-practices is a skill published in the GitHub repository noloman/Android-AI-skills (6 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 364 tokens. 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-31.
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.
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.
axiom-implement-iap
Use when the user wants to add in-app purchases, implement StoreKit 2, or set up subscriptions.
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).
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.
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.