domain

domain is an agent for Claude Code from hmj1026/dhpk. It costs 0 tokens per session (399 once invoked), scanned A, original, MIT.

A set of instructions for using a repository's domain documentation while exploring its code. Domain documentation explains the project's business terms, system areas, and important design decisions.

In plain words
What is it for?
Use it before investigating code to find relevant context files and architecture decision records, including in repositories with several separate areas.
Why use it?
It reduces the risk of misunderstanding project-specific concepts or ignoring decisions already recorded by the team.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dhpk plugin — 65 skills, 31 commands, 40 agents, 4 hooks shipped together

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

Made for: Claude Code.

Or install dhpk, the plugin that ships this one along with the rest of its 65 skills, 31 commands, 40 agents, 4 hooks.

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/hmj1026/dhpk/domain.svg)](https://agentmods.dev/agents/hmj1026/dhpk/domain)
Your own site
<a href="https://agentmods.dev/agents/hmj1026/dhpk/domain"><img src="https://agentmods.dev/badge/agents/hmj1026/dhpk/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 399 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.00399
Opus 5 $0.00000 $0.00199
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured today against content hash e2fec71bc9a9, 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 today.

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 · 49 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, or CONTEXT-MAP.md at the repo root if it exists: it points at one CONTEXT.md per context. Read each one relevant to the topic.
  • docs/adr/: read ADRs that touch the area you're about to work in. In multi-context repos, also check src/<context>/docs/adr/ for context-scoped decisions.

If any of these files don't exist, proceed silently. Don't flag their absence or suggest creating them upfront. The /domain-modeling skill creates them lazily when terms or decisions are resolved.

File structure

Single-context repo:

/
├── CONTEXT.md
├── docs/adr/
└── src/

Multi-context repo (presence of CONTEXT-MAP.md at the root):

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

When CONTEXT-MAP.md exists, read it first and then load the context-specific glossary and ADRs relevant to the work.

Use the glossary's vocabulary

When output names a domain concept, use the term as defined in CONTEXT.md. If the concept you need isn't in the glossary yet, reconsider the terminology or note the gap for /domain-modeling.

Flag ADR conflicts

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

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. today First seen · 49 lines · 0 tokens per session scan A e2fec71bc9a9

Subscribe to this mod's changes

domain is an agent published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 399 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-09-05.

Related

Other agents, from other repositories

memory-curator

Independent evaluator that scores a candidate memory entry from a reviewer agent against a 7-axis rubric (generality, recurrence, longevity, coveragegap, actionability, density, confidence) and decides ADD / UPDATE / SKIP. Triggered by /mumei:compose Phase 5 Stage 6 and /mumei:peruse after each review-pipeline…

iroha924/mumei · 111 tokens

aggressive

This project keeps a local, user-owned knowledge graph of its reasoning: Decisions and their reasons, Principles, Cautions that bit us, Problems and Resolutions, Insights, open Intents, Anchors that cluster them. Not code structure — the code holds that. What good capture buys: the next session starts already knowing…

techtheist/engram · 0 tokens

stuck-protocol-handler

Обработка stuck-протокола. Создаёт stuck-statement, рассылает LLM-кворум (Claude+Gemini+Codex), вызывает synthesizer, формирует эскалацию пользователю с 3 подходами A/B/C.

andrewcigan/vibe-dev-plugin · 60 tokens

source-ingester

Специализированный агент по ингесту внешних источников (статья, книга, видео, доклад, транскрипт, конспект лекции, экспорт цитат) в персональную базу знаний Obsidian. Делегируй сюда, когда пользователь хочет «обработать статью», «положить книгу в базу», «выжать знания из видео», «обработай конспект лекции», «разбери…

jtprogru/bear-skills · 181 tokens

architect

Системный архитектор. Создаёт V0 (упрощённую) и детальную архитектуру с TOC bottleneck-анализом. Применяет Карпати Simplicity First (≤10 компонентов). Готовит docs/ARCHITECTURE.md.

andrewcigan/vibe-dev-plugin · 59 tokens

dev-planner

Wave-план разработки. Использует reordering-agent для DAG. Каждая секция = feature в featurelist.json с явными affectedfiles, verificationcommand, businessinvariant. Готовит план для /feature loop.

andrewcigan/vibe-dev-plugin · 49 tokens