appstore-ppp-pricing

appstore-ppp-pricing is a cursor rule for Cursor from duceum/appstore-ppp-pricing-agent-skill. It costs 56 tokens per session (1,167 once invoked), scanned A, original, MIT.

A command-line tool for setting App Store in-app purchase and subscription prices in many countries using purchasing power parity, which adjusts prices to local buying power.

In plain words
What is it for?
Use it to list products, preview country-by-country price changes, and apply confirmed regional pricing updates, including subscription-specific choices.
Why use it?
It avoids manually calculating regional prices and keeps the App Store Connect key on the local machine. A dry run lets you review changes before they affect customers.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Good fit Use it to list products, preview country-by-country price changes, and apply confirmed regional pricing updates, including subscription-specific choices.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/duceum/appstore-ppp-pricing-agent-skill

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for appstore-ppp-pricing

README.md
[![agentmods](https://agentmods.dev/badge/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing/github.svg)](https://agentmods.dev/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing)
Your own site
<a href="https://agentmods.dev/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing"><img src="https://agentmods.dev/badge/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for appstore-ppp-pricing

Your own site · 80×15
<a href="https://agentmods.dev/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing"><img src="https://agentmods.dev/badge/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,167 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01167
Opus 5 $0.00028 $0.00583
Sonnet 5 $0.00011 $0.00233
Haiku 4.5 $0.00006 $0.00117

Measured 10d ago against content hash 6e6c272ba30e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

appstore-ppp-pricing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/duceum/appstore-ppp-pricing-agent-skill/main/agent-skills/claude-code/appstore-ppp-pricing/SKILL.md \
agent-skills/cursor/appstore-ppp-pricing.mdc · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

App Store PPP pricing

ppp-pricing sets per-country App Store prices from a US base price, scaled by purchasing power. It runs locally — the App Store Connect key never leaves the machine.

Install if missing: uv tool install appstore-ppp-prices Credentials: ~/.config/ppp-pricing/.env, with the .p8 key beside it.

Never apply without a confirmed dry run

This changes what real customers are charged in up to 174 territories, with no undo. Always: list products → dry run → show the table → wait for an explicit yes → apply. Do not skip the dry run even if asked to "just do it".

Commands

# 1. list products (the user usually does not know the product ID)
ppp-pricing --app-id 123456789

# 2. preview — writes nothing
ppp-pricing --app-id 123456789 --iap com.app.weekly --dry-run

# 3. apply, only after confirmation
ppp-pricing --app-id 123456789 --iap com.app.weekly

Summarise the dry-run table rather than pasting all 174 rows: the US base and a dozen representative countries, and say plainly how far the price drops in the largest emerging markets.

Subscriptions: ask about these two before applying

  • --preserved — by default a price change hits existing subscribers too. This flag grandfathers them at the old price and applies the new one only to new sign-ups.
  • --start-date YYYY-MM-DD — defaults to two days out.

Both are subscriptions-only; passing them for a one-time IAP is an error.

Adjustments

Need Flag
Change one tier --coeff emerging=0.50 (premium, high_income, upper_middle, lower_middle, emerging)
Skip territories --exclude RUS,BLR (ISO alpha-3)
Different base price --us-price 7.99
No AI tuning --no-ai
Refresh AI analysis --clear-cache then re-run

First-run setup

Missing App Store Connect credentials means the one-time setup has not been done. Walk the user through it:

  1. Create an API key at https://appstoreconnect.apple.com/access/integrations/api with Admin or App Manager access; copy the Key ID and Issuer ID and download the .p8 (Apple allows the download exactly once).
  2. mkdir -p ~/.config/ppp-pricing, and have the user move the .p8 there themselves.
  3. Create ~/.config/ppp-pricing/.env as a template with empty ASC_KEY_ID, ASC_ISSUER_ID, ASC_PRIVATE_KEY_PATH (just the .p8 filename) and optional LLM_API_KEY — the user fills in the values.
  4. Verify with the read-only ppp-pricing --app-id 123456789.

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 101 lines · 56 tokens per session scan A 6e6c272ba30e

Subscribe to this mod's changes

appstore-ppp-pricing is a cursor rule published in the GitHub repository duceum/appstore-ppp-pricing-agent-skill (46 stars, last pushed 18d ago), licensed MIT. It adds 56 tokens to every session and 1,167 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.