domain

A set of instructions for finding and using a repository's domain documentation: the files that explain the project's terms, business concepts, and important technical decisions. It covers the root CONTEXT.md file and architecture decision records in docs/adr/.

In plain words
What is it for?
Use it when exploring an unfamiliar codebase, naming domain concepts in code or issues, or checking the reasoning behind an existing architecture.
Why use it?
It prevents coding work from using the wrong words or ignoring decisions already made in the project. If the documentation is missing, work can continue without treating that as an error.

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/zbzailabs/polyglow/domain
Clone the repo
git clone --depth 1 https://github.com/zbzailabs/Polyglow
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 349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 77% copy Near-identical to another mod 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.00349
Opus 5 $0.00000 $0.00175
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 2d ago against content hash ae149cde181b, 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.

Origin

This is a copy

77% identical to domain — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/agents/domain.md · 36 lines

What it actually says

Domain Docs

How the engineering skills should consume this repo's domain documentation when exploring the codebase.

This repo uses a single-context layout: CONTEXT.md and docs/adr/ live at the repository root.

Before exploring, read these

  • CONTEXT.md at the repo root.
  • docs/adr/ — read ADRs that touch the area you're about to work in.

If any of these files don't exist, proceed silently. Don't flag their absence; don't suggest creating them upfront. The /domain-modeling skill (reached via /grill-with-docs and /improve-codebase-architecture) creates them lazily when terms or decisions actually get resolved.

File structure

/
├── CONTEXT.md
├── docs/adr/
│   ├── 0001-event-sourced-orders.md
│   └── 0002-postgres-for-write-model.md
└── src/

Use the glossary's vocabulary

When your output names a domain concept (in an issue title, a refactor proposal, a hypothesis, a test name), use the term as defined in CONTEXT.md. Don't drift to synonyms the glossary explicitly avoids.

If the concept you need isn't in the glossary yet, that's a signal — either you're inventing language the project doesn't use (reconsider) or there's a real gap (note it for /domain-modeling).

Flag ADR conflicts

If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:

Contradicts ADR-0007 (event-sourced orders) — but worth reopening because…

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 · 36 lines · 0 tokens per session scan A ae149cde181b

Subscribe to this mod's changes

domain is an agent published in the GitHub repository zbzailabs/Polyglow (22 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 349 tokens. A static security scan graded it A with 0 findings. It is 77% identical to domain, differing in 28 lines, and is treated as a copy.

Related

Other agents, from other repositories

mcp

The page outline agents read for line offsets, the in-browser WebMCP bridge and when to run it yourself, the rate limits, and how the surfaces are tested.

DuvInc/duvlify · 34 tokens

pre-mortem-runner

PROACTIVELY use this subagent whenever product planning calls for a dedicated pre-mortem deep run, typically after MVP scoping or solution prioritization and before committing to a plan, or when architecture context is available for risk-grounding. Also use whenever the user says "what could go wrong", "pre-mortem…

Kaminoikari/product-playbook · 135 tokens

prompt-debugger

Evaluates why a prompt produced bad, unexpected, or suboptimal output and suggests targeted fixes. Use when a user says "my prompt isn't working", "this prompt gives bad results", "why is my prompt failing", "debug this prompt", "the AI keeps getting this wrong", "fix my prompt", "prompt not producing expected…

RadOrigin-LLC/RAD-Claude-Skills · 456 tokens

fastify-reviewer

Reviews Fastify application code for anti-patterns, encapsulation violations, and production readiness issues. Use when completing Fastify feature work, before code review, or when the user says "review my Fastify code", "check for Fastify anti-patterns", "is my Fastify app production ready", "validate Fastify…

RadOrigin-LLC/RAD-Claude-Skills · 72 tokens

lp-brandmark

Brandmark designer (LandingForge phase 3.5 — after lp-designer's tokens/design, before/with lp-builder). Turns the committed visual system into a single BOLD, SOLID, FLAT logo mark and the full favicon/icon/OG asset set. Reads design.md (accent hex, mood, light|dark base) + brief.md (product, positioning → mark…

NmadeleiDev/landingforge · 212 tokens

lp-cro

Landing-page CRO auditor (phase 6). Audits the BUILT page against the conversion anti-pattern linter (R1–R13) and the specificity linter, then writes the deterministic Conversion-axis report the scorer reads. Checks attention ratio toward 1:1, proof placement, Ziglar 5-no + objection coverage, form ≤5 fields, CTA…

NmadeleiDev/landingforge · 149 tokens