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 pbl-v8-to-v9-migrationgit 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/pbl-v8-to-v9-migration)<a href="https://agentmods.dev/skills/revenuecat/play-billing-skills/pbl-v8-to-v9-migration"><img src="https://agentmods.dev/badge/skills/revenuecat/play-billing-skills/pbl-v8-to-v9-migration/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/pbl-v8-to-v9-migration"><img src="https://agentmods.dev/badge/skills/revenuecat/play-billing-skills/pbl-v8-to-v9-migration.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.00107 | $0.03672 |
| Opus 5.5 | $0.00043 | $0.01469 |
| Sonnet 5.5 | $0.00021 | $0.00734 |
| Haiku 4.5 | $0.00011 | $0.00367 |
Grade A, and why
pbl-v8-to-v9-migration 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phase 0: Intent
Announce to the user: "I will migrate this project from PBL 8 to PBL 9."
State the key fact up front so the user calibrates effort correctly: the v9 delta is small, but it is not zero. PBL 8.0.0 removed the methods of the old surface (querySkuDetailsAsync, queryPurchaseHistoryAsync, the String overload of queryPurchasesAsync, the parameterless enablePendingPurchases()). PBL 9.0.0 (released 2026-05-19) then deleted the deprecated types those methods left behind: BillingClient.SkuType, SkuDetails, SkuDetailsParams, SkuDetailsResponseListener, QueryPurchaseHistoryParams, and BillingFlowParams.Builder.setSkuDetails(). A v8 app that still references any of them stops compiling. On top of that, v9 raises the build floor (compileSdk 35, and Kotlin 2.2 if you use billing-ktx), changes two behaviors, and adds one optional feature. The latest release is 9.1.0 (2026-06-18), which adds the Billing Choice APIs on top of 9.0.0; target it.
If the project calls querySkuDetailsAsync, queryPurchaseHistoryAsync, or the parameterless enablePendingPurchases(), it does not compile against v8 at all, so the real baseline is pre-v8. Stop and route the user to pbl-v7-to-v9-migration, which does the v8 work first. Leftover references to the SkuType constants or the SkuDetails types alone are normal in a v8 codebase: they are the v9 removals handled in Step 2.
Phase 1: Discovery
Gather the facts before changing anything.
- Locate the dependency. Open
build.gradle,build.gradle.kts, orlibs.versions.tomland findcom.android.billingclient:billingorbilling-ktx. Confirm the version reads8.x.x. If it reads7.xor lower, switch to the pbl-v7-to-v9-migration skill. Record which artifact is used;billing-ktxadds a Kotlin requirement. - Scan for the types v9 removed. Grep for
SkuType,SkuDetails,SkuDetailsParams,SkuDetailsResponseListener,QueryPurchaseHistoryParams, andsetSkuDetails(. Every hit is a compile error on v9. - Check the build floor. Read
compileSdk,minSdk,targetSdk, and the Kotlin Gradle plugin version. v9 needscompileSdk35 or higher (it depends onandroidx.core:core:1.15.0, which declares a minimum compileSdk of 35, so the build fails below it) andminSdk23 (unchanged since PBL 8.1). Withbilling-ktx, the Kotlin Gradle plugin must be 2.2 or newer.targetSdkis not set by PBL; record it for the note in Step 3. - Check for a pinned androidx.core. v9's blocked store reclassification needs androidx.core 1.9 or later. PBL 9 already pulls 1.15.0 transitively, so this only breaks if the build forces a lower version. Grep the build files for
androidx.coretogether withforce,strictly, orresolutionStrategy. - Scan for developer provided billing. Grep for
DeveloperProvidedBillingDetails,getLinkUri,enableDeveloperBillingOption, andenableBillingProgram. These are the External Payments APIs from PBL 8.3. If any hit, the nullablegetLinkUri()change in Step 5 applies. If none hit, you can skip that step. - Scan error handling. Grep for
BillingResponseCode.ERRORandBillingResponseCode.BILLING_UNAVAILABLE. Note every place that branches on a genericERRORfor an unavailable store, because v9 reclassifies the blocked store case. - Note in app messaging usage. Grep for
showInAppMessagesandInAppMessageParams. If present, the optional price increase messaging step applies.
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 · +23 lines · +23 tokens per session 73fc859a9595
- 3mo ago First seen · 163 lines · 84 tokens per session scan A e494f921f4d6
pbl-v8-to-v9-migration is a skill published in the GitHub repository RevenueCat/play-billing-skills (60 stars, last pushed 16d ago), licensed Apache-2.0. It adds 107 tokens to every session and 3,672 once invoked, about $0.0004 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.
pbl-v8-to-v9-migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pbl-v8-to-v9-migrationRevenueCat/play-billing-skills | Skill | 60 | 16d ago | Apache-2.0 | A | 107 | Claude Code, Codex |
| kotlin-specialistJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 86 | Claude Code |
| wear-compose-m3android/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 108 | Claude Code |
| ink-custom-brush-builderandroid/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 159 | Claude Code |
| swiftui-devOrkas-AI/Orkas | Skill | 7.7k | today | MIT | A | 3 | Claude Code, Codex |
| build-android-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 150 | Claude Code |
| kotlin-androidericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 78 | Claude Code, Codex |