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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 duceum 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Appstore Ppp Pricing AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Appstore Ppp Pricing。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Appstore Ppp Pricing 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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.

常见问题

Appstore Ppp Pricing AI 技能有什么作用?

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,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Appstore Ppp Pricing?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Appstore Ppp Pricing 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Appstore Ppp Pricing 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Appstore Ppp Pricing AI 技能免费吗?

是的。duceum 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇