gpc-cli-usage
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.
How do I install this agent skill?
npx skills add https://github.com/androidpoet/playconsole-cli-skills --skill gpc-cli-usageIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides legitimate documentation and best practices for using the Google Play Console CLI (gpc). It includes guidance on command usage, authentication configuration, and safety protocols without introducing security risks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
What does this agent skill do?
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
| 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 output
Global 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/androidpoet/playconsole-cli-skills/gpc-cli-usage">View gpc-cli-usage on skillZs</a>