google-play-cli AGENTS.md

Repository instructions for gplay, a Go command-line tool for managing Google Play developer data and releases.

In plain words
What is it for?
Use them when changing the CLI, checking API commands, managing store listings, or preparing app releases.
Why use it?
They define the project’s exact terms and workflow, helping agents avoid confusing accounts, projects, listings, tracks, and releases.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/pollyglot/google-play-cli/agents-md
Clone the repo
git clone --depth 1 https://github.com/PollyGlot/google-play-cli

Made for: Codex, OpenCode.

Per session 917 This file is loaded in full into every session.
When invoked 917 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00917 $0.00917
Opus 5 $0.00458 $0.00458
Sonnet 5 $0.00183 $0.00183
Haiku 4.5 $0.00092 $0.00092

Measured 2d ago against content hash 266fee8ebc37, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

google-play-cli AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md : gplay

Public Go CLI for the Google Play Developer API: one static binary for CI and AI agents, replacing Fastlane supply. Distributed via Homebrew (PollyGlot/homebrew-tap) and releases; agent skills live in the sibling repo PollyGlot/google-play-cli-skills.

Glossary

Canonical terms live in CONTEXT.md; use them verbatim, no synonyms. The core five:

  • Edit: the API's transactional unit; implicit (per-command) by default, explicit via gplay edits begin/commit, pinned in .gplay/edit-<package>.json.
  • Account: a locally registered service-account credential; exactly one active at a time.
  • Project: repo-local package pin in .gplay/config.json (package only, never an Account).
  • Listing: per-locale store text (title/descriptions/video); release notes and images are separate resources.
  • Track / release: where a build ships; production releases default to draft unless --complete/--staged (ADR-0002).

Commandes

  • The CLI is self-documenting: run gplay <cmd> --help to confirm the interface before coding.
  • To check an API method's shape, grep docs/discovery/paths.txt or jq the snapshot; query it, it is too large to read whole.
  • Design authority: docs/DESIGN.md (auth precedence, exit codes, output, edit lifecycle); scope authority: docs/BACKLOG.md + docs/COVERAGE.md; surprising decisions: docs/adr/.

Vérifier

  • Gate before every PR: make format lint test verb-gate (verb-gate blocks pre-rename verbs, ADR-0019).
  • Tests stay offline: mock with a testRoundTripper (http.RoundTripper) injected as &http.Client{Transport: ...}; a test that reaches the network is wrong.
  • New leaf command: classify it. Unlabelled means frozen Public contract (ADR-0010/0042); mark kernel.Experimental(...) at registration if its flags may still change. The registry test in cmd/gplay fails on unclassified leaves.
  • To prove a command behaves as advertised, use the project skill verify: build, then drive the offline path (schema, auth list, --help). It records the two traps found by running: --version does not exist (it is the version subcommand), and a pipe masks the exit code (gplay tracks list returns 2 alone, 0 when piped into head).

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 43 lines · 917 tokens per session scan A 266fee8ebc37

Subscribe to this mod's changes

google-play-cli AGENTS.md is an instructions file published in the GitHub repository PollyGlot/google-play-cli (5 stars, last pushed 2d ago), licensed MIT. It adds 917 tokens to every session, about $0.0046 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.