Logo Appstore Ppp Pricing

Appstore Ppp Pricing

Cộng đồng
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.

Tổng quan

Nhà phát hànhduceum
Kho mãappstore-ppp-pricing-agent-skill
Tên kỹ năngappstore-ppp-pricing
Sao
52
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được duceum công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Appstore Ppp Pricing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/duceum/appstore-ppp-pricing-agent-skill/tree/main/agent-skills/claude-code/appstore-ppp-pricing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Appstore Ppp Pricing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Appstore Ppp Pricing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Appstore Ppp Pricing với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Appstore Ppp Pricing làm được gì?

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.

Vì sao nên dùng Appstore Ppp Pricing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Appstore Ppp Pricing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Appstore Ppp Pricing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/duceum/appstore-ppp-pricing-agent-skill/tree/main/agent-skills/claude-code/appstore-ppp-pricing. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Appstore Ppp Pricing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Appstore Ppp Pricing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Appstore Ppp Pricing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Appstore Ppp Pricing có miễn phí không?

Có. Kỹ năng này được duceum phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇