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.
git clone --depth 1 https://github.com/duceum/appstore-ppp-pricing-agent-skillWrote 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.
[](https://agentmods.dev/rules/duceum/appstore-ppp-pricing-agent-skill/appstore-ppp-pricing)<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.
<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>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.
| Model | Per session | Once 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 |
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 \ 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:
- 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). mkdir -p ~/.config/ppp-pricing, and have the user move the.p8there themselves.- Create
~/.config/ppp-pricing/.envas a template with emptyASC_KEY_ID,ASC_ISSUER_ID,ASC_PRIVATE_KEY_PATH(just the.p8filename) and optionalLLM_API_KEY— the user fills in the values. - Verify with the read-only
ppp-pricing --app-id 123456789.
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.
- 10d ago First seen · 101 lines · 56 tokens per session scan A 6e6c272ba30e
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.
Other cursor rules, from other repositories
launch
Always-on contributing context for the launch-store codebase.
core-types
Editing the domain shapes or provider interfaces.
providers
Adding or changing a provider backend (build / storage / credentials / submit / compute).
exec-secrets
Running child processes or handling credentials / secrets.
hatch3r-i18n
Internationalization, localization, and RTL support conventions for the project.
vtex-io-vtex-io-messages-and-i18n
Apply when implementing localization and translated copy in VTEX IO apps. Covers the messages builder, /messages/.json, context.json, frontend message usage, and how VTEX apps integrate with vtex.messages for runtime translation. Use for storefront, admin, or backend flows that should use VTEX IO message…