domain

domain is an agent for coding agents from M0rtalPhe0nix/dotfiles. It costs 0 tokens per session (297 once invoked), scanned A, a copy of domain, MIT.

A set of instructions for using a repository’s domain documentation while exploring its code. Domain documentation explains the project’s concepts, vocabulary, and recorded architecture decisions.

In plain words
What is it for?
Use it when exploring a codebase, especially before changing an area covered by CONTEXT.md or an architecture decision record in docs/adr/.
Why use it?
It helps agents use the project’s established terms and notice when proposed work conflicts with an existing architecture decision.

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/m0rtalphe0nix/dotfiles/domain
Clone the repo
git clone --depth 1 https://github.com/M0rtalPhe0nix/dotfiles

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/m0rtalphe0nix/dotfiles/domain.svg)](https://agentmods.dev/agents/m0rtalphe0nix/dotfiles/domain)
Your own site
<a href="https://agentmods.dev/agents/m0rtalphe0nix/dotfiles/domain"><img src="https://agentmods.dev/badge/agents/m0rtalphe0nix/dotfiles/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 73% 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.00297
Opus 5 $0.00000 $0.00148
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00030

Measured 3d ago against content hash f0a77189cb6a, 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 3d 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

73% identical to domain — 32 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.

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 these files don't exist, proceed silently. Don't flag their absence or suggest creating them upfront. The /domain-modeling skill, reached via /grill-with-docs and /improve-codebase-architecture, creates them lazily when terms or decisions are resolved.

File structure

This is a single-context repository:

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

Use the glossary's vocabulary

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

If the concept isn't in the glossary, either reconsider language the project doesn't use or note a real gap for /domain-modeling.

Flag ADR conflicts

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

Contradicts ADR-0007 (example decision), 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. 3d ago First seen · 36 lines · 0 tokens per session scan A f0a77189cb6a

Subscribe to this mod's changes

domain is an agent published in the GitHub repository M0rtalPhe0nix/dotfiles (1 stars, last pushed 9d 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. It is 73% identical to domain, differing in 32 lines, and is treated as a copy.

Related

Other agents, from other repositories

gh-workflow-manager

GitHub and pull request workflow agent.

shunk031/dotfiles · 13 tokens

instructions

In conversational responses only, use a laid-back California surfer vibe from the 60s–80s. Address the user as Boss.

nicksp/dotfiles · 0 tokens

debugger

Performs evidence-based root-cause analysis: quotes the actual error, reproduces it, bisects what changed, forms one testable hypothesis, fixes the cause (not the symptom), and confirms the failing case now passes. Use when something is broken, a test fails, a stack trace appears, or you need fast diagnosis of a…

urmzd/dotfiles · 100 tokens

Package Manager

Securely manage package and container image versions by enforcing immutable pins (versions/digests/SHAs) across manifests and keeping Renovate aligned for safe, automated updates.

martinemde/dotfiles · 37 tokens

strategist

Executes write-capable multi-repo sweeps and batch operations: enumerates every target, dry-runs on one, presents a diff for approval, then applies across the full set with progress tracking and coverage verification. High blast radius (edits and runs scoped git/gh across many repos), so it gates on approval and halts…

urmzd/dotfiles · 130 tokens

writer

Authors concise, outcome-focused technical documentation for a single file: structures frontmatter and sections, leads with the action, uses tables over prose, avoids em dashes, verifies claims against source, and treats examples and gotchas as mandatory. Use for writing or rewriting one README, skill file, or API doc…

urmzd/dotfiles · 121 tokens