mcpField
G
gpc-monetization

gpc-monetization

github.com/androidpoetMarketing & growth445 installsUpdated 17w ago
Repository

About gpc-monetization

gpc-monetization is a skill for managing Google Play in-app products and subscriptions through the `gpc` CLI. It covers product, base-plan, pricing, and offer operations, with safeguards for destructive changes.

Key features

  1. 01Manage one-time in-app products
  2. 02Manage subscriptions and base plans
  3. 03Check subscription pricing
  4. 04Create and manage subscription offers
  5. 05Use confirmation safeguards for deletion

Use cases

  1. 01List or inspect an app’s purchase products
  2. 02Create or update subscriptions and base plans
  3. 03Review pricing and subscription offers
  4. 04Delete a product after confirmation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/androidpoet/playconsole-cli-skills --skill gpc-monetization

After installing, type/gpc-monetizationin Claude Code to confirm it loaded.

Details

From the project README

Monetization

Use this skill when managing in-app products (one-time purchases), subscriptions, base plans, or subscription offers.

In-app products (one-time)

List products
gpc products list --package com.example.app
gpc products list --page-size 50 --package com.example.app
Get product details
gpc products get --product-id premium_upgrade --package com.example.app
Create product
gpc products create --product-id premium_upgrade \
  --title "Premium Upgrade" \
  --description "Unlock all features" \
  --package com.example.app
Create from JSON file
gpc products create --product-id premium_upgrade --file product.json --package com.example.app
Update product
gpc products update --product-id premium_upgrade \
  --title "Premium Upgrade v2" \
  --package com.example.app
Delete product
gpc products delete --product-id premium_upgrade --confirm --package com.example.app

Subscriptions

List subscriptions
gpc subscriptions list --package com.example.app
gpc subscriptions list --max-results 100 --package com.example.app
Get subscription
gpc subscriptions get --product-id monthly_pro --package com.example.app
Create subscription
gpc subscriptions create --product-id monthly_pro --file subscription.json --package com.example.app

Base plans

List base plans for a subscription
gpc subscriptions base-plans list --product-id monthly_pro --package com.example.app
Create base plan
gpc subscriptions base-plans create --product-id monthly_pro --file baseplan.json --package com.example.app
Get pricing
gpc subscriptions pricing get --product-id monthly_pro --base-plan p1m --package com.example.app

Subscription offers

List offers
gpc offers list --product-id monthly_pro --base-plan p1m --package com.example.app
Get offer details
gpc offers get --product-id monthly_pro --base-plan p1m --offer-id free_trial --package com.example.app
Create offer
gpc offers create --product-id monthly_pro --base-plan p1m --file offer.json --package com.example.app
Update offer
gpc offers update --product-id monthly_pro --base-plan p1m --offer-id free_trial --file offer.json --package com.example.app
Activate / deactivate offer
gpc offers activate --product-id monthly_pro --base-plan p1m --offer-id free_trial --package com.example.app
gpc offers deactivate --product-id monthly_pro --base-plan p1m --offer-id free_trial --package com.example.app
Delete offer
gpc offers delete --product-id monthly_pro --base-plan p1m --offer-id free_trial --confirm --package com.example.app

Agent behavior

  • Always list existing products/subscriptions before creating to avoid duplicates.
  • Confirm with user before deleting products (irreversible).
  • Use --confirm flag explicitly for destructive operations.
  • Show current state before and after updates.

Notes

  • Products and subscriptions require active base plans to be purchasable.
  • Use JSON files for complex product definitions with multiple fields.
  • Subscription hierarchy: Subscription → Base Plan → Offer.

Comments

Markdown supported