domain

A set of instructions for exploring a code repository using its domain documentation, file-structure notes, glossary, and architecture decisions. An ADR is a document that records an important technical decision.

In plain words
What is it for?
Use it before exploring or changing a repository to find its context files, read relevant ADRs, follow the project's vocabulary, and flag conflicts.
Why use it?
It reduces the risk of using the wrong project terms, overlooking relevant guidance, or making changes that conflict with recorded decisions.

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/mrnine-666/claude-code-quickstart/domain
Clone the repo
git clone --depth 1 https://github.com/MrNine-666/claude-code-quickstart
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 540 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.00540
Opus 5 $0.00000 $0.00270
Sonnet 5 $0.00000 $0.00108
Haiku 4.5 $0.00000 $0.00054

Measured 2d ago against content hash 6e860fc5a8aa, 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 · 58 lines

What it actually says

Domain Docs

本文说明工程技能在探索代码库时应如何使用本仓库的领域文档。

Before Exploring, Read These

  • 仓库根目录的 CONTEXT.md;或者
  • 如果根目录存在 CONTEXT-MAP.md,它会为每个 context 指向一份 CONTEXT.md。读取与当前主题相关的每一份文件。
  • docs/adr/:读取涉及即将修改区域的 ADR。在多 context 仓库中,还要检查 src/<context>/docs/adr/ 中限定于该 context 的决策。

如果其中任何文件不存在,直接继续。不要把缺失报告为问题,也不要预先建议创建; /domain-modeling 技能(可由 /grill-with-docs/improve-codebase-architecture 进入)会在术语或决策真正确定后按需创建它们。

File Structure

单 context 仓库(大多数仓库):

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

多 context 仓库(根目录存在 CONTEXT-MAP.md):

/
├── CONTEXT-MAP.md
├── docs/adr/                          ← system-wide decisions
└── src/
    ├── ordering/
    │   ├── CONTEXT.md
    │   └── docs/adr/                  ← context-specific decisions
    └── billing/
        ├── CONTEXT.md
        └── docs/adr/

Use the Glossary's Vocabulary

输出中提到领域概念时(例如 issue 标题、重构提案、假设或测试名称),使用 CONTEXT.md 定义的术语。不要改用 glossary 明确排除的同义词。

如果需要的概念尚未出现在 glossary 中,这本身就是一个信号:要么你正在创造项目 并未使用的语言(应重新考虑),要么确实存在缺口(记录给 /domain-modeling)。

Flag ADR Conflicts

如果输出与现有 ADR 冲突,应明确指出,不得静默覆盖:

与 ADR-0007(event-sourced orders)冲突,但值得重新打开,因为……

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 · 58 lines · 0 tokens per session scan A 6e860fc5a8aa

Subscribe to this mod's changes

domain is an agent published in the GitHub repository MrNine-666/claude-code-quickstart (211 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 540 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-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens