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.
In this repository11 other files it gives its agents.
- gpc-app-recoverySkill
- gpc-build-lifecycleSkill
- gpc-device-managementSkill
- gpc-metadata-syncSkill
- gpc-monetizationSkill
- gpc-purchase-ordersSkill
- gpc-release-flowSkill
- gpc-review-managementSkill
- gpc-team-accessSkill
- gpc-testingSkill
- gpc-vitalsSkill
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
- Very specific: line 8
Use this skill when you need to run or design gpc commands for Google Play Console workflows.
- Distinctive: line 12
Always confirm commands and flags before running:
- Very specific: line 22
Use explicit long flags: --package, --track, --output.
- Very specific: line 23
No interactive prompts; destructive operations require --confirm.
- Distinctive: line 28
Default output is minified JSON.
- Very specific: line 40
Use --pretty for debugging.
- Very specific: line 90
Use --dry-run before destructive operations.
- Very specific: line 91
Use --confirm flags explicitly.
- Very specific: line 92
Check gpc doctor before troubleshooting auth issues.
- Very specific: line 96
Always pass --package explicitly unless GPC_PACKAGE is confirmed set.
- Very specific: line 97
Prefer --output json for parsing.
- Very specific: line 98
Run gpc doctor first if auth errors occur.
≈ “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.
Files
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 --helpFlag 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 JSONUse --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.appSwitch profiles
gpc auth list
gpc auth current
gpc auth switch --name otherprofileEnvironment variables for CI
| Variable | Purpose |
GPC_CREDENTIALS_PATH | Path to service account JSON |
GPC_CREDENTIALS_B64 | Base64-encoded credentials |
GPC_PACKAGE | Default package name |
GPC_PROFILE | Default auth profile |
GPC_OUTPUT | Default output format |
Diagnostics
gpc doctor # Check config, credentials, API access
gpc doctor --verbose # Detailed diagnostic outputGlobal flags
| Flag | Short | Description |
--package | -p | App package name (or GPC_PACKAGE) |
--output | -o | Output format (json, table, yaml, csv, tsv, minimal) |
--pretty | Pretty-print JSON | |
--quiet | -q | Suppress non-essential output |
--debug | Show API requests/responses | |
--dry-run | Preview without applying changes | |
--timeout | Request timeout (default 60s) | |
--profile | Auth profile name |
Safety
- Use
--dry-runbefore destructive operations. - Use
--confirmflags explicitly; never pipeyesinto commands. - Check
gpc doctorbefore troubleshooting auth issues.
Agent behavior
- Always pass
--packageexplicitly unlessGPC_PACKAGEis confirmed set. - Prefer
--output jsonfor parsing; use--output tablewhen showing results to the user. - Run
gpc doctorfirst if auth errors occur.
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
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.

