domain

domain is an agent for Claude Code from Xaviw/skills-manager. It costs 0 tokens per session (297 once invoked), scanned A, original, MIT.

An agent guide for working in a software project with domain documentation: files that explain the project’s terms, structure, and important past decisions. It tells the agent which documents to read and how to use their vocabulary.

In plain words
What is it for?
Use it when planning changes, writing issue titles, proposing refactors, making assumptions, or naming tests in a project that uses CONTEXT.md, a glossary, or architecture decision records.
Why use it?
It helps prevent changes that conflict with the project’s documented decisions or use the wrong names for important concepts. It also makes the agent check relevant context before exploring the code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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/xaviw/skills-manager/domain
Clone the repo
git clone --depth 1 https://github.com/Xaviw/skills-manager

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for domain

README.md
[![agentmods](https://agentmods.dev/badge/agents/xaviw/skills-manager/domain.svg)](https://agentmods.dev/agents/xaviw/skills-manager/domain)
Your own site
<a href="https://agentmods.dev/agents/xaviw/skills-manager/domain"><img src="https://agentmods.dev/badge/agents/xaviw/skills-manager/domain.svg" alt="Measured on agentmods" height="20"></a>
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 297 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.1 $0.00000 $0.00297
Opus 5 $0.00000 $0.00148
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00030

Measured 6d ago against content hash c1014b3e365c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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 · 36 lines

What it actually says

Domain Docs

工程 skills 探索代码库时,应按以下规则使用本仓库的领域文档。

探索前读取

  • 根目录的 CONTEXT.md
  • docs/adr/ 中与当前工作区域相关的 ADR

如果这些文件不存在,静默继续。不要报告缺失,也不要预先建议创建。/domain-modeling 会在术语或决策实际明确后按需创建它们。

文件结构

本仓库采用 single-context 布局:

/
├── CONTEXT.md
├── docs/adr/
│   ├── 0001-example-decision.md
│   └── 0002-another-decision.md
└── src/

使用 glossary 中的词汇

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

如果 glossary 尚未包含所需概念,应重新判断该术语是否确有必要;若确有领域缺口,则记录给 /domain-modeling

标记 ADR 冲突

如果输出内容与已有 ADR 冲突,应明确指出,而不是静默覆盖:

与 ADR-0007 冲突,但值得重新讨论,因为……

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. 6d ago First seen · 36 lines · 0 tokens per session scan A c1014b3e365c

Subscribe to this mod's changes

domain is an agent published in the GitHub repository Xaviw/skills-manager (5 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 297 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.

Related

Other agents, from other repositories