/appmate:sales-daily-reportfrom appmate
Generates App Store sales and downloads daily report for all live apps, aggregated across 5 time dimensions with totals, top apps, and percentage changes.
Ships in appmate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run one sales & download report covering every live app, output as markdown.
Every step in this skill calls App Store Connect APIs. Before any other step, run:
python3 scripts/appmate_config.py check
If exit code ≠ 0, STOP. Do not invoke any other part of this skill, do not run scripts/sales_report.py. Tell the user AppMate credentials are not configured, show the precheck output verbatim, and tell them to invoke the appmate-setup skill. The downstream script also enforces this gate (exits 2 with the same message), but the explicit precheck saves you from spinning up the full 65-day fetch.
Pull ~65 days of daily reports from App Store Connect → aggregate across 5 time dimensions → totals + Top-3 apps + share + percentage change → markdown report.
| Item | Content |
|---|---|
| Trigger | python3 scripts/sales_report.py (0 args, 0 user intervention) |
| Input | data/apps_full.json (live-app list) + data/sales_cache.json (historical daily reports) |
| Output | stdout markdown + data/report.md file + Claude pastes the full markdown back into the conversation |
Zero. Fully automatic. The script generates the report → the file lands → Claude must paste the complete report into the conversation reply. It must not just say "saved to report.md" or post only a summary. The file is a side product; the conversation reply is the primary delivery.
| Dimension | Current range | Compared to |
|---|---|---|
| Yesterday | DATA_TODAY (most recent day with data) | the day before |
| Last 7 days | DATA_TODAY back 7 days | the prior 7 days |
| Last 30 days | DATA_TODAY back 30 days | the prior 30 days |
| This week | this Monday → DATA_TODAY | (shows "Data not yet published by Apple" if this week's data is not in yet) |
| This month | the 1st → DATA_TODAY | the entire previous month (not the same day range) |
data/sales_cache.json — missing dates are fetched from ASC /v1/salesReports; gzipped TSV is decoded and cached; failed dates are recorded as _error and retried next run; empty caches for the last 3 days are auto-refreshed (Apple data can be delayed).Rendered in the same language the user has been using in this conversation. Default to English; if the user has been writing in Chinese / Japanese / Spanish / etc., translate the template headers, labels and prose accordingly. App / SKU / country names stay in their original form. The script itself emits English strings — translate them on the fly when rendering back into the conversation reply if the user's language is not English.
**Yesterday ({MM-DD}) revenue ${X}** · this week ${X} · this month ${X}
If Apple has not published a range's data yet, that slot shows N/A and the per-dimension block prints > ⏳ Data not yet published by Apple.
## 🧮 Totals
### {dimension} ({range-compact})
- 💰 Revenue: **{current revenue}** · {↑↓ N%}
1. **{revenue}** ({share}%) · {↑↓ N%} · {app name}
2. **{revenue}** ({share}%) · {↑↓ N%} · {app name}
3. **{revenue}** ({share}%) · {↑↓ N%} · {app name}
- 📥 Downloads: **{current downloads}** · {↑↓ N%}
1. **{downloads}** ({share}%) · {↑↓ N%} · {app name}
2. **{downloads}** ({share}%) · {↑↓ N%} · {app name}
3. **{downloads}** ({share}%) · {↑↓ N%} · {app name}
> ⓘ Revenue is multi-currency, converted to USD via approximate FX (not finance-grade). Apple daily reports lag 1–2 days.
> This month compares against the **entire previous month**; last 7/30 days compare against the 7/30 days before that.
↑↓ N%.{rank}. **{value}** ({share}) · {change} · {app name}.Units × Developer Proceeds, converted to USD via a static 40+ currency FX table. This is an estimate (not accounting-grade — finance reconciliation uses /v1/financeReports), but cross-app relative comparison is reliable.Title is the IAP product name; Parent Identifier is the parent app's SKU. IAP units go to iap_units; IAP revenue is folded into the app's revenue_usd.Product Type Identifier): 1* / F1 / FI1 count as installs; 7* updates do not count; IA* IAP/subscription rows count toward revenue and iap_units but not downloads.# from the plugin repo root
python3 scripts/sales_report.py
No arguments. All logic runs automatically.
appmate-setup skill's ASC API credentials.aso-daily-report to investigate the ASO side, or aso-optimize to redo the metadata.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/appmate-setupSet up or troubleshoot AppMate plugin credentials and config. Use when the user wants to install, configure, or self-check AppMate, set up App Store Connect API access, or fix "config missing" errors from AppMate scripts./aso-daily-reportGenerate the ASO keyword-ranking daily report for the top-3 apps by downloads. Use when the user asks for an ASO daily report, ASO monitoring, keyword rank changes, or "跑 ASO 日报"./aso-optimizeDeep ASO optimization for a single app — produce new App Store title, subtitle, and keyword strings. Use when the user wants to optimize or rewrite an app's ASO metadata, improve keyword rankings, run an ASO optimization pass for a specific app, or "跑 ASO 优化".npx claudepluginhub fengyiqicoder/appmate --plugin appmateOther plugins' skills for the same job