Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage device tier configs with gplay `device-tiers` — immutable device-targeting for tiered content delivery (create/view/list only, no update or delete). Use when defining or inspecting device tiers for tiered asset delivery, or scripting a config into CI.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -23% | 0% |
gplay device-tiers manages device tier configs — the app-scoped configuration that drives tiered content delivery: which devices fall into which tier, so Play can serve different assets to high-end and low-end devices. Shared conventions (auth, output, exit codes, --dry-run, --package pinning) are in gplay-cli-usage. The whole namespace is [experimental].
A config bundles three things (all expressed in the JSON body):
SoCs, system features),
The defining property: a device tier config is immutable. The API exposes only create, get, and list — no update, no patch, no delete. Two consequences:
create needs no --confirm. It can never overwrite or destroy anexisting config, so it isn't a destructive write. (GPLAY_READONLY still refuses it — it is a write — with exit 4.)
new deviceTierConfigId. Old configs stay around; there is nothing to edit or clean up here.
This also puts device tier configs outside the Edit lifecycle (like the Data Safety declaration and app recovery) — a direct application-scoped write, no editId.
bash# From a file: gplay device-tiers create --file config.json # From stdin (default when --file is omitted or "-"): cat config.json | gplay device-tiers create # Rehearse — validate the body, resolve the target, no HTTP: gplay device-tiers create --file config.json --dry-run
deviceTierConfigId — do not put an id in thebody.
--allow-unknown-devices sets allowUnknownDevices=true (let devices Playdoesn't recognize into the config).
gplay schema DeviceTierConfig expands its fieldsand enums offline (see gplay-cli-usage), or round-trip an existing config with view --output json.
bashgplay device-tiers list # newest first; --page-size / --page-token to page gplay device-tiers view <deviceTierConfigId> # one config by its server-assigned id gplay device-tiers view <id> --output json # DeviceTierConfig, verbatim
--output json passes the API response through verbatim (ADR-0003) — the list response carries nextPageToken for paging (capped at 100 per page).
Confirm the current verbs and flags with gplay device-tiers --help and gplay device-tiers <command> --help — the surface is [experimental] (ADR-0030) and may still evolve.
Other measured skills in the registry, with their headline benchmark lift.