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 RevenueCat/play-billing-skills --skill understanding-billinggit clone --depth 1 https://github.com/RevenueCat/play-billing-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/revenuecat/play-billing-skills/understanding-billing)<a href="https://agentmods.dev/skills/revenuecat/play-billing-skills/understanding-billing"><img src="https://agentmods.dev/badge/skills/revenuecat/play-billing-skills/understanding-billing/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/revenuecat/play-billing-skills/understanding-billing"><img src="https://agentmods.dev/badge/skills/revenuecat/play-billing-skills/understanding-billing.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.00063 | $0.01611 |
| Opus 5.5 | $0.00025 | $0.00644 |
| Sonnet 5.5 | $0.00013 | $0.00322 |
| Haiku 4.5 | $0.00006 | $0.00161 |
Grade A, and why
understanding-billing 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phase 0: Intent
Tell the user: "I will orient you to Google Play Billing's three pillars, map your goal to the right pillar, and point you at the concrete skill to run next."
Phase 1: Discovery
Before touching code, confirm the developer understands the three pillars and the four actors. Each pillar owns a different slice of the system:
| Pillar | Surface | Role |
|---|---|---|
| Play Billing Library (PBL) | Android client, Gradle dep com.android.billingclient:billing-ktx |
Query products, launch purchase dialog, receive results on device |
| Google Play Developer API | Server REST API at androidpublisher.googleapis.com |
Verify purchases, manage subscriptions, manage catalog. Source of truth |
| Google Play Console | Web dashboard | Create products, set prices, configure RTDNs and API access |
A fourth piece, Cloud Pub/Sub, carries Real Time Developer Notifications (RTDNs) from Google to your backend when purchase or subscription state changes.
The four actors in every transaction:
| Actor | Responsibility |
|---|---|
| Your app | Query products, launch purchase flow, forward purchase tokens to backend |
| Google Play Store app | Hosts the billing service PBL connects to, renders the purchase dialog, and talks to Google's servers |
| Your backend | Verify tokens against the Developer API, store entitlements, process RTDNs |
| Google Play servers | Process payments, run renewals and payment recovery, emit RTDNs |
Ask the developer which of these surfaces they already have set up: Play Console account, service account credentials, Pub/Sub topic, backend, Android app.
Phase 2: Plan
Map the developer's goal to the pillar(s) they need, then to the next skill.
| Developer goal | Primary pillar | Next skill |
|---|---|---|
| First time onboarding, no account yet | Play Console | google-play/setup |
| Show prices and launch a purchase from the app | PBL | google-play/integrating-pbl |
| Verify a purchase token on the server | Developer API | google-play/backend-architecture |
| Receive renewal and cancellation events | RTDN plus Developer API | google-play/rtdn |
| Create or edit products, base plans, offers | Play Console or catalog API | google-play/catalog-management |
| Handle subscription lifecycle states | Developer API plus RTDN | google-play/subscription-states |
| Upgrade an existing PBL 7 or 8 integration | PBL | google-play/pbl-v7-to-v9-migration or google-play/pbl-v8-to-v9-migration |
| Offer alternative billing or external links | PBL plus Developer API | google-play/alternative-billing |
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.
- 1mo ago Changed · +2 lines b61c5e19d38f
- 3mo ago First seen · 121 lines · 63 tokens per session scan A c651421e9d1a
understanding-billing is a skill published in the GitHub repository RevenueCat/play-billing-skills (60 stars, last pushed 16d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,611 once invoked, about $0.0003 per session on Opus 5.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.
understanding-billing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| understanding-billingRevenueCat/play-billing-skills | Skill | 60 | 16d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| play-billing-library-version-upgradeandroid/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 39 | Claude Code |
| asc-revenuecat-catalog-syncrorkai/app-store-connect-cli-skills | Skill | 1.2k | 2d ago | MIT | A | 51 | Claude Code |
| axiom-implement-iapCharlesWiltgen/Axiom | Skill | 1.3k | today | MIT | A | 29 | Codex |
| subscription-lifecyclershankras/claude-code-apple-skills | Skill | 923 | 23d ago | MIT | A | 55 | Claude Code |
| google-playCraftOS-dev/CraftBot | Skill | 431 | 3d ago | MIT | A | 70 | Claude Code, Codex |
| subscription-offersrshankras/claude-code-apple-skills | Skill | 923 | 23d ago | MIT | A | 55 | Claude Code |