Setupのロゴ

Setup

組織
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

概要

公開者RevenueCat
リポジトリplay-billing-skills
スキル名setup
スター
58
フォーク
0
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    RevenueCatがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Setup」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSetupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSetupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「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.

TypingMindでSetupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSetupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Setupで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSetupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Setup」は無料ですか?

はい。RevenueCatがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇