domain

A set of instructions for using a repository's domain documentation while exploring and changing its code.

In plain words
What is it for?
Use it when working on a repository whose code depends on shared concepts and documented engineering decisions.
Why use it?
It helps an agent use the project's own names, design rules, scope limits, and roadmap instead of making assumptions.

Agent

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 agents/pollyglot/google-play-cli/domain
Clone the repo
git clone --depth 1 https://github.com/PollyGlot/google-play-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 523 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00523
Opus 5 $0.00000 $0.00262
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

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

Security

Grade A, and why

domain 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.

docs/agents/domain.md · 56 lines

What it actually says

Domain docs

Comment les skills d'ingénierie doivent consommer la documentation de domaine de ce repo en explorant le code.

À lire avant d'explorer

  • CONTEXT.md à la racine — glossaire des termes canoniques (Edit, Account, Project, etc.). Utiliser ces termes verbatim dans le code, les commentaires, les titres d'issue, les noms de test.
  • docs/DESIGN.md — conventions cross-command (auth precedence, exit codes, output formats, edit lifecycle).
  • docs/BACKLOG.md — surfaces explicitement out-of-scope. Vérifier avant de suggérer "on devrait aussi ajouter X".
  • docs/adr/ — ADRs touchant l'area du travail en cours.
  • docs/ROADMAP.md — état actuel des PRDs et slices.

Si l'un de ces fichiers n'existe pas, procéder silencieusement. Ne pas signaler leur absence en préambule.

Structure : single-context

/
├── CONTEXT.md
├── CLAUDE.md
├── docs/
│   ├── DESIGN.md
│   ├── BACKLOG.md
│   ├── CI_CD.md
│   ├── ROADMAP.md
│   ├── adr/
│   └── agents/
└── (cmd|commands|internal)/

Pas de CONTEXT-MAP.md — ce repo est mono-contexte.

Utiliser le vocabulaire du glossaire

Quand la sortie nomme un concept du domaine (titre d'issue, proposition de refacto, hypothèse, nom de test), utiliser le terme tel que défini dans CONTEXT.md. Ne pas dériver vers des synonymes que le glossaire évite explicitement.

Si le concept à nommer n'est pas dans le glossaire, c'est un signal — soit on invente un langage que le projet n'utilise pas (reconsidérer), soit il y a une vraie lacune (la noter pour /grill-with-docs).

Signaler les conflits ADR

Si la sortie contredit un ADR existant, le surfacer explicitement plutôt que l'écraser silencieusement :

Contredit ADR-0005 (TTY-aware output) — mais à rouvrir parce que…

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 · 56 lines · 0 tokens per session scan A 2e2b01313549

Subscribe to this mod's changes

domain is an agent published in the GitHub repository PollyGlot/google-play-cli (5 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 523 tokens. 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.