Appstore Ppp Pricingのロゴ

Appstore Ppp Pricing

コミュニティ
duceum
appstore-ppp-pricing

Bulk-sets App Store in-app purchase and subscription prices across 175+ countries by purchasing power parity, using the appstore-ppp-prices CLI. Use whenever the user wants to localize, bulk-update, lower, raise or review regional App Store pricing — "set regional prices", "PPP pricing", "make my app cheaper in India", "update prices in every country", "localize subscription prices", "my app is too expensive in Brazil". Covers previewing before applying, protecting existing subscribers, and scheduling changes.

概要

公開者duceum
リポジトリappstore-ppp-pricing-agent-skill
スキル名appstore-ppp-pricing
スター
52
フォーク
7
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/duceum/appstore-ppp-pricing-agent-skill.git /tmp/appstore-ppp-pricing-agent-skill
mkdir -p .claude/skills
cp -r /tmp/appstore-ppp-pricing-agent-skill/agent-skills/claude-code/appstore-ppp-pricing .claude/skills/appstore-ppp-pricing
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

App Store PPP pricing

Sets per-country App Store prices from a US base price, scaled by purchasing power. The tool is a local CLI — the App Store Connect key stays on the user's machine.

Before anything else

Check the tool is installed:

bash
ppp-pricing --version

Not installed → uv tool install appstore-ppp-prices (or pipx install appstore-ppp-prices).

First-run setup

If any command reports Missing App Store Connect credentials, walk the user through this. It is the usual blocker and it is a one-time cost.

The tool needs an App Store Connect API key with pricing permissions. Only the user can create one — it is behind their Apple account:

  1. Open https://appstoreconnect.apple.com/access/integrations/api
  2. Generate API Key, access level Admin or App Manager
  3. Copy the Key ID (10 characters) and the Issuer ID (the UUID at the top)
  4. Download the .p8 file — Apple allows this exactly once

Then prepare the config directory for them:

bash
mkdir -p ~/.config/ppp-pricing

Ask the user to move the downloaded key there themselves and to fill in the values:

bash
mv ~/Downloads/AuthKey_XXXXXXXXXX.p8 ~/.config/ppp-pricing/

You may create ~/.config/ppp-pricing/.env as a template with empty values for ASC_KEY_ID, ASC_ISSUER_ID and ASC_PRIVATE_KEY_PATH (plus optional LLM_API_KEY), and explain what goes in each. ASC_PRIVATE_KEY_PATH is just the .p8 filename — it resolves next to the .env.

Do not ask the user to paste key material into the chat, do not read the .p8 back, and do not echo the contents of .env. The user fills in the values; you never see them.

Confirm setup worked by listing products, which is read-only:

bash
ppp-pricing --app-id 123456789

Alternative config locations, if the user wants one: --config /path/to/dir, the PPP_PRICING_CONFIG environment variable, or a .env in the working directory.

The one rule that matters

Never run an apply without showing the user a dry run first and getting an explicit yes. This command changes what real customers are charged, in up to 174 territories, and there is no undo. A price change is visible to users and, for subscriptions, can trigger churn and Apple's own price-consent flows.

The sequence is always:

  1. list products → 2. dry run → 3. show the table → 4. wait for confirmation → 5. apply

Do not collapse these steps, even when the user says "just do it". Run the dry run, show what will change, then apply.

1. Find the product

The user rarely knows the product ID. List them:

bash
ppp-pricing --app-id 123456789

Prints every IAP and subscription with its US price, tagged [IAP] or [SUB]. The app ID is the 9-digit number from App Store Connect. Pick the product with the user if more than one plausibly matches.

2. Preview

bash
ppp-pricing --app-id 123456789 --iap com.app.weekly --dry-run

Writes nothing. Prints all 174 territories with the coefficient used, the price Apple charges there by default, the new price — both in that country's own currency — and the percentage change between them.

The table is long. Summarise it for the user rather than pasting all of it: the base US price, and roughly a dozen representative countries across the tiers — a premium market, a high-income one, a couple of upper-middle, and several emerging. Say explicitly how much the price drops in the biggest emerging markets, because that is the decision the user is actually making.

3. Apply

Only after the user confirms:

bash
ppp-pricing --app-id 123456789 --iap com.app.weekly

Subscriptions need two extra decisions

Ask about both before applying to a [SUB] product. Neither applies to one-time IAPs — passing them for an IAP is an error.

Existing subscribers. By default the new price applies to everyone, including people already subscribed. That is often not what the user wants: a price cut is fine, but a price rise on existing subscribers causes churn and requires consent in some territories. --preserved keeps current subscribers at their old price and applies the new one only to new sign-ups.

When it takes effect. Defaults to two days out. --start-date YYYY-MM-DD schedules it further ahead — useful when the user wants to announce a change first.

bash
ppp-pricing --app-id 123456789 --iap com.app.weekly --preserved --start-date 2026-09-01

Adjusting the result

The user saysUse
"too cheap in emerging markets"--coeff emerging=0.50 — one category at a time, repeatable
"don't touch Russia"--exclude RUS,BLR — ISO 3166-1 alpha-3, comma-separated
"price it from $7.99 instead"--us-price 7.99 — also sets the new US price on apply
"skip the AI part"--no-ai
"the AI analysis is stale"--clear-cache, then re-run

Category names: premium, high_income, upper_middle, lower_middle, emerging. There is no usa coefficient — the US is the base and is always 1.00.

What the numbers mean

Each country sits in one of six tiers by GDP per capita, and each tier has a multiplier against the US price. With an LLM_API_KEY set, GPT adjusts those multipliers for the app's category and price elasticity — a casual game tolerates far deeper discounts than an AI tool that pays server cost per request. Without the key the GDP defaults are used, which are perfectly reasonable; do not treat the AI step as required.

Two floors are enforced and worth mentioning if the user is surprised by a price: minimum coefficient 0.35, and minimum prices of $0.99 for premium/high-income tiers and $0.49 elsewhere. When the cheapest product would fall below its floor, every product in the app is scaled up together so the ratios between them stay intact.

Prices are computed in each country's own currency: Apple's default price for that territory, multiplied by the coefficient, snapped to a real local price point. The change column therefore lands within a percent or so of the coefficient, not exactly on it. Quote local prices, never dollar conversions of them.

When something fails

OutputMeaning
Missing App Store Connect credentialsNo .env found — the error lists where it looked
Private key not found.p8 is not beside the .env, or the name in .env differs
Could not fetch US priceThe product has no US price set in App Store Connect
No USD price points availableThe product has no price tiers — check it in App Store Connect
--preserved and --start-date apply only to subscriptionsThe product is a one-time IAP
There is no resource of type 'apps'Wrong app ID

Partial failures on apply are reported per territory and are not fatal — the run continues. Report which territories failed rather than claiming the whole run succeeded.

Installing this skill somewhere else

When the user asks how to set this up on another machine, for a teammate, or in a different agent, the files live in the repository.

Claude Code — user-wide, or drop .claude/skills/ in place of ~/.claude/skills/ for one project only:

bash
curl -fsSL https://raw.githubusercontent.com/duceum/appstore-ppp-pricing-agent-skill/main/agent-skills/claude-code/appstore-ppp-pricing/SKILL.md \
  --create-dirs -o ~/.claude/skills/appstore-ppp-pricing/SKILL.md

Cursor:

bash
curl -fsSL https://raw.githubusercontent.com/duceum/appstore-ppp-pricing-agent-skill/main/agent-skills/cursor/appstore-ppp-pricing.mdc \
  --create-dirs -o .cursor/rules/appstore-ppp-pricing.mdc

Codex — and also GitHub Copilot, Aider, Jules, VS Code and Devin, which all read AGENTS.md. Append rather than overwrite:

bash
curl -fsSL https://raw.githubusercontent.com/duceum/appstore-ppp-pricing-agent-skill/main/agent-skills/codex/AGENTS.md \
  >> AGENTS.md

The CLI itself still has to be installed on each machine: uv tool install appstore-ppp-prices.

Do not

  • Apply without a confirmed dry run.
  • Read, echo or copy the .p8 key or the contents of .env.
  • Guess an app ID or product ID — list them and confirm.
  • Edit countries.csv inside the installed package to change one country; use --coeff or --exclude.

よくある質問

AIスキル「Appstore Ppp Pricing」では何ができますか?

Bulk-sets App Store in-app purchase and subscription prices across 175+ countries by purchasing power parity, using the appstore-ppp-prices CLI. Use whenever the user wants to localize, bulk-update, lower, raise or review regional App Store pricing — "set regional prices", "PPP pricing", "make my app cheaper in India", "update prices in every country", "localize subscription prices", "my app is too expensive in Brazil". Covers previewing before applying, protecting existing subscribers, and scheduling changes.

TypingMindでAppstore Ppp Pricingを使うメリットは何ですか?

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

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

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

Appstore Ppp Pricingを使えるAIモデルはどれですか?

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

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

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

AIスキル「Appstore Ppp Pricing」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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