Logo de Setup

Setup

Organização
RevenueCat
setup

Use this skill when setting up a RevenueCat project for Android: creating the app in the dashboard, uploading the Google Play service account credentials, connecting Real Time Developer Notifications, configuring entitlements and offerings, and getting the public SDK API key for the Android app.

Add to TypingMind

Visão geral

Publicado porRevenueCat
Repositórioplay-billing-skills
Nome da habilidadesetup
Estrelas
58
Forks
0
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por RevenueCat no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Setup no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setup
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RevenueCat/play-billing-skills.git /tmp/play-billing-skills
mkdir -p .claude/skills
cp -r /tmp/play-billing-skills/revenuecat/setup .claude/skills/setup
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Setup em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Setup automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Setup não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

RevenueCat Android Setup

Configure a RevenueCat project so the Android SDK can fetch offerings, validate purchases, and grant entitlements. This skill covers the dashboard side of setup and the service account connection to Google Play.

The scope stops at "dashboard ready, API key in hand." SDK initialization code belongs to the configuring-the-sdk skill.

Phase 1: Discovery

Confirm these items before you touch the RevenueCat dashboard. Missing any of them will block the connection step.

PrerequisiteWhere it livesWhy RevenueCat needs it
Google Play Console appPlay ConsoleDashboard connects by package name
Package namePlay Console app listingMust match your Android app exactly
In-app products or subscriptionsPlay Console monetizationRevenueCat imports the catalog
Base plans for subscriptionsPlay Console subscriptionBilling Library 6+ requires them
Google Cloud service account JSONGoogle Cloud ConsoleRevenueCat authenticates to the Play Developer API
Play Console account permissionsPlay Console users and permissionsView app information and download bulk reports (read-only); View financial data, orders, and cancellation survey responses; Manage orders and subscriptions; Manage store presence

Ask the user:

  • Is the app already published on Play (even as internal testing)?
  • Are products live in Play Console, or still drafts?
  • Do you have the service account JSON, or do you need the creation steps?

If products do not exist yet, pause. Product creation is a Play Console task outside this skill.

Phase 2: Plan

Pick the route that matches the user's state.

StateRoute
No RevenueCat accountStart at Step 1, create account and project
Account exists, no Android app in projectStart at Step 2, add Android app
App exists, Play not connectedJump to Step 3, upload service account
Play connected, no entitlements or offeringsJump to Step 4
Everything configured, need the API keyJump to Phase 4 verification

The default flow below runs end to end. Skip steps the user has already completed.

Phase 3: Execute

Step 1: Create the RevenueCat project and Android app

  1. Sign up or log in at app.revenuecat.com.
  2. Create a project. One project can hold Android, iOS, and web apps for the same product.
  3. Inside the project, add an Android app. Enter the Play Console package name.

RevenueCat generates a public SDK API key per platform. You will copy the Android key at the end. Do not reuse iOS or web keys in the Android app.

Step 2: Create a Google Cloud service account (if needed)

In Google Cloud Console, in the project that will own the service account (Play Console no longer needs a linked Cloud project):

  1. Enable the Google Play Android Developer API, the Google Play Developer Reporting API, and the Cloud Pub/Sub API.
  2. Create a service account and grant it Pub/Sub Editor and Monitoring Viewer.
  3. Create a JSON key for the service account and download it.

In Play Console, under Users and permissions:

  1. Invite the service account email.
  2. Grant app-level access to the app.
  3. Grant those four account permissions.

Step 3: Connect Google Play in RevenueCat

In the RevenueCat dashboard, open the Android app settings:

  1. Confirm the package name matches Play Console.
  2. Upload the service account JSON key file.
  3. Save.

RevenueCat validates the credential by calling the Play Developer API. If validation fails, the common causes are missing API enablement, wrong project, or the service account not yet propagated in Play (allow up to 36 hours; editing and saving any product description in Play Console often speeds this up).

Step 3b: Connect Real Time Developer Notifications

RevenueCat strongly recommends connecting Google Real Time Developer Notifications (RTDN), and requires it for DEFERRED plan changes and for one time product refund and void tracking.

  1. In the RevenueCat Play app settings, click Connect to Google to get a Pub/Sub topic ID.
  2. In Play Console, go to Monetize > Monetization setup > Real Time Developer Notifications, paste the topic, and choose "Get all notifications for subscriptions and one-time products" (RevenueCat's guide shows it as "Subscriptions, voided purchases, and all one-time products").
  3. Send a test notification and confirm the RevenueCat dashboard shows "Last received".

Step 4: Create entitlements

Entitlements are the access levels your app checks. Define them once, reference them everywhere in client code.

In the dashboard under Entitlements, create one per access tier. Most apps ship with a single entitlement.

IdentifierDescription
pro_accessUnlocks premium features
team_accessUnlocks team features (second tier, optional)

Use a stable identifier. Renaming an entitlement later means rewriting every feature gate.

Step 5: Import products and attach entitlements

Under Products, click Import. RevenueCat pulls the Play catalog through the connected service account.

  1. Select each product you want RevenueCat to manage.
  2. Attach each product to an entitlement. Purchasing the product grants that entitlement.

A single entitlement can back many products (monthly, annual, lifetime all unlock pro_access).

Step 6: Create an offering

Offerings drive what a user sees on the paywall. One offering groups multiple packages.

Under Offerings:

  1. Create an offering (for example, default).
  2. Add packages. Pick a package type (Monthly, Annual, Lifetime, or custom) and assign a product.
  3. Make one offering the Default offering (the SDK returns it as offerings.current).

The Android SDK fetches offerings.current to show the default paywall. Swap the current offering later from the dashboard without shipping an app update.

Step 7: Copy the Android API key

In the Android app settings, copy the public SDK API key. This value is the second argument to PurchasesConfiguration.Builder. The skill configuring-the-sdk uses it.

kotlin
// Handed off to configuring-the-sdk
val revenueCatApiKey = "goog_xxxxxxxxxxxxxxxxxxxxxxxx"

Phase 4: Verify

Confirm the dashboard and Play Console are wired together before moving to SDK work.

CheckHow to verifyPass signal
Service account acceptedRevenueCat app settings, Google Play sectionShows connected with a green indicator
Real Time Developer Notifications connectedRevenueCat app settings, Google Play sectionShows "Last received" after a test notification
Products importedProducts tab in dashboardPlay products appear with live prices
Entitlement attachmentsOpen each productShows the attached entitlement
Default offeringOfferings tabOne offering marked Default
Package product linksOpen the current offeringEach package shows a product identifier
API key scopeProject settings, API keysAndroid key is distinct from iOS and web keys

Ask the user to confirm each row. If a product shows no price, the service account is connected but the product is not active in Play. Fix the Play listing, then re-import.

Hand off to configuring-the-sdk with:

  • The Android API key
  • The current offering identifier
  • The entitlement identifiers the app will check

References

Perguntas frequentes

O que a habilidade de IA Setup faz?

Use this skill when setting up a RevenueCat project for Android: creating the app in the dashboard, uploading the Google Play service account credentials, connecting Real Time Developer Notifications, configuring entitlements and offerings, and getting the public SDK API key for the Android app.

Por que usar Setup no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Setup é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Setup no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setup. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Setup?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Setup?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Setup com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Setup é gratuita?

Sim. A habilidade é publicada no GitHub por RevenueCat sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇