Gplay Reports Download 标志

Gplay Reports Download

社区
tamtom
gplay-reports-download

Financial and statistics report listing and downloading from Google Play Console via GCS. Use when asked to view, list, or download financial earnings, sales, payouts, or app statistics (installs, ratings, crashes).

Add to TypingMind

概览

发布者tamtom
代码仓库gplay-cli-skills
技能名称gplay-reports-download
星标数
52
复刻数
7
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/tamtom/gplay-cli-skills/tree/main/skills/gplay-reports-download
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tamtom/gplay-cli-skills.git /tmp/gplay-cli-skills
mkdir -p .claude/skills
cp -r /tmp/gplay-cli-skills/skills/gplay-reports-download .claude/skills/gplay-reports-download
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Gplay Reports Download,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Gplay Reports Download。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Google Play Reports Download

Use this skill when you need to list or download financial reports (earnings, sales, payouts) or statistics reports (installs, ratings, crashes, store performance, subscriptions) from Google Play Console.

How reports work

Google Play Console reports are not available via the REST API. They are stored as CSV/ZIP files in Google Cloud Storage (GCS) buckets:

  • Bucket name: varies by account — either pubsite_prod_rev_<id> or pubsite_prod_<id>. Always copy the exact URI from Play Console.
  • Financial reports: earnings/, sales/, payouts/, play_balance_krw/, wht_statements/ prefixes
  • Statistics reports: stats/installs/, stats/ratings/, stats/crashes/, stats/store_performance/, financial-stats/subscriptions/ prefixes

The service account must have access to the GCS bucket (this access is granted automatically when the service account is added to Play Console with appropriate permissions).

Prerequisites

  • A service account configured via gplay auth login
  • The GCS bucket ID (see below — this is not the same as the Play Console URL developer ID)
  • For financial reports: VIEW_FINANCIAL_DATA permission (service account must be added to Play Console with "View financial data" access)
  • For stats reports: VIEW_APP_INFORMATION permission (service account must be added to Play Console with "View app information" access)

Finding your bucket ID

Important: The bucket ID for reports is not the numeric ID in your Play Console URL. The URL ID and the GCS bucket ID are different.

To find the correct bucket ID:

  1. Go to Google Play Console > Download reports (in the left sidebar under "Download reports")
  2. Look for the Cloud Storage URI shown on that page, e.g.:
    gs://pubsite_prod_rev_12110000881713004121/
  3. You can pass either the full URI or just the numeric ID: 12110000881713004121

Alternatively, use the Google Cloud Console to find the bucket name associated with your Play Console account.

Common mistake: Using the developer ID from the Play Console URL (https://play.google.com/console/developers/<this_id>/...) will result in a 404 Not Found error because the GCS bucket uses a different internal ID.

Financial reports

List available financial reports

bash
# List all financial reports
gplay reports financial list --bucket-id <id>

# You can also pass the full GCS URI
gplay reports financial list --bucket-id "gs://pubsite_prod_rev_12345/"

# Filter by type
gplay reports financial list --bucket-id <id> --type earnings
gplay reports financial list --bucket-id <id> --type sales
gplay reports financial list --bucket-id <id> --type payouts

# Filter by date range
gplay reports financial list --bucket-id <id> --from 2026-01 --to 2026-06

# Combine filters
gplay reports financial list --bucket-id <id> --type earnings --from 2026-01 --to 2026-03

Download financial reports

bash
# Download earnings for a specific month
gplay reports financial download --bucket-id <id> --from 2026-01 --type earnings

# Download to a specific directory
gplay reports financial download --bucket-id <id> --from 2026-01 --type earnings --dir ./reports

# Download a range of months
gplay reports financial download --bucket-id <id> --from 2026-01 --to 2026-06 --type sales

Financial report types

TypeDescriptionFilename pattern
earningsRevenue and earnings dataearnings/earnings_YYYYMM_<id>.zip
salesSales transaction reportssales/salesreport_YYYYMM.zip
payoutsPayment disbursement reportspayouts/payout_YYYYMM.csv
play_balancePlay balance reports (KRW)play_balance_krw/...
wht_statementsWithholding tax statementswht_statements/...

Statistics reports

List available statistics reports

bash
# List all stats reports
gplay reports stats list --bucket-id <id>

# Filter by package name
gplay reports stats list --bucket-id <id> --package com.example.app

# Filter by type
gplay reports stats list --bucket-id <id> --type installs

# Filter by date range and package
gplay reports stats list --bucket-id <id> --package com.example.app --type installs --from 2026-01 --to 2026-06

Download statistics reports

bash
# Download installs report
gplay reports stats download --bucket-id <id> --package com.example.app --from 2026-01 --type installs

# Download to a specific directory
gplay reports stats download --bucket-id <id> --package com.example.app --from 2026-01 --type crashes --dir ./reports

# Download a range of months
gplay reports stats download --bucket-id <id> --package com.example.app --from 2026-01 --to 2026-06 --type ratings

Statistics report types

TypeDescriptionFilename pattern
installsInstall/uninstall datastats/installs/installs_<pkg>_YYYYMM_overview.csv
ratingsRating distributionstats/ratings/ratings_<pkg>_YYYYMM_overview.csv
crashesCrash occurrence datastats/crashes/crashes_<pkg>_YYYYMM_overview.csv
store_performanceStore listing performancestats/store_performance/...
subscriptionsSubscription metricsfinancial-stats/subscriptions/...

Flags reference

Financial commands

FlagRequiredDescription
--bucket-idYesGCS bucket ID or full URI
--typeNo (list: default all) / Yes (download)Report type: earnings, sales, payouts, play_balance, wht_statements, all
--fromNo (list) / Yes (download)Start month YYYY-MM
--toNoEnd month YYYY-MM (defaults to --from)
--dirNoOutput directory (default .)
--outputNoOutput format: json, table, markdown
--prettyNoPretty-print JSON output

Stats commands

FlagRequiredDescription
--bucket-idYesGCS bucket ID or full URI
--packageNo (list) / Yes (download)Package name filter
--typeNo (list: default all) / Yes (download)Stats type: installs, ratings, crashes, store_performance, subscriptions, all
--fromNo (list) / Yes (download)Start month YYYY-MM
--toNoEnd month YYYY-MM (defaults to --from)
--dirNoOutput directory (default .)
--outputNoOutput format: json, table, markdown
--prettyNoPretty-print JSON output

Output format

List output

json
{
  "bucket": "pubsite_prod_rev_12345",
  "reports": [
    {"name": "earnings/earnings_202601_12345.zip", "size": 1234, "updated": "2026-02-01T00:00:00Z"}
  ]
}

Download output

json
{
  "bucket": "pubsite_prod_rev_12345",
  "type": "earnings",
  "from": "2026-01",
  "to": "2026-01",
  "dir": "./reports",
  "files": [
    {"name": "earnings/earnings_202601_12345.zip", "path": "reports/earnings_202601_12345.zip", "size": 1234}
  ]
}

Common workflows

Monthly financial review

bash
# List last month's earnings
gplay reports financial list --bucket-id <id> --type earnings --from 2026-01 --output table

# Download all financial reports for Q1
gplay reports financial download --bucket-id <id> --from 2026-01 --to 2026-03 --type earnings --dir ./q1-reports

App performance monitoring

bash
# Check install trends
gplay reports stats list --bucket-id <id> --package com.example.app --type installs --from 2026-01

# Download crash data for analysis
gplay reports stats download --bucket-id <id> --package com.example.app --from 2026-01 --type crashes --dir ./crash-data

CI/CD automated report collection

bash
# Download all report types for archival
for type in earnings sales payouts; do
  gplay reports financial download --bucket-id $BUCKET_ID --from $(date -d "last month" +%Y-%m) --type $type --dir ./monthly-reports
done

Troubleshooting

ErrorCauseFix
authentication failedService account not configuredRun gplay auth login --service-account <path>
403 ForbiddenNo GCS bucket accessEnsure service account is invited in Play Console with appropriate permissions
404 Not FoundWrong bucket ID or no reportsUse the bucket ID from Play Console > Download reports > Copy Cloud Storage URI (not the developer ID from the URL)
Empty reports listNo reports for the date rangeCheck --from/--to range; reports may not exist for all months

常见问题

Gplay Reports Download AI 技能有什么作用?

Financial and statistics report listing and downloading from Google Play Console via GCS. Use when asked to view, list, or download financial earnings, sales, payouts, or app statistics (installs, ratings, crashes).

为什么在 TypingMind 中使用 Gplay Reports Download?

因为您只需安装一次,就能搭配任何模型使用。Gplay Reports Download 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Gplay Reports Download?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/tamtom/gplay-cli-skills/tree/main/skills/gplay-reports-download。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Gplay Reports Download?

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

Gplay Reports Download 可以搭配多少个 AI 模型使用?

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

Gplay Reports Download AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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