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

gpc-cli-usage

Skill4 starsChanged 9 months agoMITView on GitHub

Guidance for using the Play Console CLI (gpc) — flags, output formats, auth profiles, pagination, and safety conventions. Use when asked to run or design gpc commands.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 2 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when you need to run or design gpc commands for Google Play Console workflows.

    line 8
  2. Distinctive:

    Always confirm commands and flags before running:

    line 12
  3. Very specific:

    Use explicit long flags: --package, --track, --output.

    line 22
  4. Very specific:

    No interactive prompts; destructive operations require --confirm.

    line 23
  5. Distinctive:

    Default output is minified JSON.

    line 28
  6. Very specific:

    Use --pretty for debugging.

    line 40
  7. Very specific:

    Use --dry-run before destructive operations.

    line 90
  8. Very specific:

    Use --confirm flags explicitly.

    line 91
  9. Very specific:

    Check gpc doctor before troubleshooting auth issues.

    line 92
  10. Very specific:

    Always pass --package explicitly unless GPC_PACKAGE is confirmed set.

    line 96
  11. Very specific:

    Prefer --output json for parsing.

    line 97
  12. Very specific:

    Run gpc doctor first if auth errors occur.

    line 98

≈ “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

GPC CLI Usage

Use this skill when you need to run or design gpc commands for Google Play Console workflows.

Command discovery

Always confirm commands and flags before running:

gpc --help
gpc tracks --help
gpc bundles upload --help

Flag conventions

  • Use explicit long flags: --package, --track, --output.
  • No interactive prompts; destructive operations require --confirm.
  • Short aliases: -p (package), -o (output), -q (quiet).

Output formats

Default output is minified JSON. Available formats:

gpc apps list -o json          # Default, machine-readable
gpc apps list -o table         # Human-readable columns
gpc apps list -o yaml          # YAML format
gpc apps list -o csv           # CSV for spreadsheets
gpc apps list -o tsv           # Tab-separated
gpc apps list -o minimal       # Compact output
gpc apps list --pretty         # Pretty-print JSON

Use --pretty for debugging. Use -o json (default) for automation and piping to jq.

Authentication

Configure a profile

gpc auth login --credentials /path/to/service-account.json --name myprofile --default-package com.example.app

Switch profiles

gpc auth list
gpc auth current
gpc auth switch --name otherprofile

Environment variables for CI

VariablePurpose
GPC_CREDENTIALS_PATHPath to service account JSON
GPC_CREDENTIALS_B64Base64-encoded credentials
GPC_PACKAGEDefault package name
GPC_PROFILEDefault auth profile
GPC_OUTPUTDefault output format

Diagnostics

gpc doctor              # Check config, credentials, API access
gpc doctor --verbose    # Detailed diagnostic output

Global flags

FlagShortDescription
--package-pApp package name (or GPC_PACKAGE)
--output-oOutput format (json, table, yaml, csv, tsv, minimal)
--prettyPretty-print JSON
--quiet-qSuppress non-essential output
--debugShow API requests/responses
--dry-runPreview without applying changes
--timeoutRequest timeout (default 60s)
--profileAuth profile name

Safety

  • Use --dry-run before destructive operations.
  • Use --confirm flags explicitly; never pipe yes into commands.
  • Check gpc doctor before troubleshooting auth issues.

Agent behavior

  • Always pass --package explicitly unless GPC_PACKAGE is confirmed set.
  • Prefer --output json for parsing; use --output table when showing results to the user.
  • Run gpc doctor first if auth errors occur.

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.