agentleFS
AndroidPoetAndroidPoet/playconsole-cli-skills/skills/gpc-monetization/SKILL.md

gpc-monetization

Skill4 starsChanged 9 months agoMITView on GitHub

Manage in-app products, subscriptions, base plans, and subscription offers using gpc. Use when creating or updating monetization catalog.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 8
  2. Distinctive:

    Always list existing products/subscriptions before creating to avoid duplicates.

    line 136
  3. Very specific:

    Use --confirm flag explicitly for destructive operations.

    line 138
  4. Distinctive:

    Use JSON files for complex product definitions with multiple fields.

    line 144

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.