domain

domain is an agent for Claude Code from alvinunreal/oh-my-opencode-slim. It costs 0 tokens per session (392 once invoked), scanned A, original, MIT.

A guide for using a repository's domain documentation, including its glossary, architecture decisions, and code map, during engineering work.

In plain words
What is it for?
Use it when investigating unfamiliar areas of a codebase or describing domain concepts in issues, refactors, tests, and design decisions.
Why use it?
It helps agents use the project's established terminology and understand module responsibilities before exploring or changing code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions AGENTS.md.

About the project

oh-my-opencode-slim is a plugin that coordinates multiple specialized AI agents inside OpenCode, assigning codebase exploration, documentation research, architecture review, design, and implementation to different agents. It is for developers who want agent teams to divide and reconcile software-development work while mixing models from different providers. The catalogue entries are the plugin’s bundled agents, skills, and instruction.

alvinunreal/oh-my-opencode-slim · 8,632 stars · on GitHub · ohmyopencodeslim.com

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/alvinunreal/oh-my-opencode-slim/domain
Clone the repo
git clone --depth 1 https://github.com/alvinunreal/oh-my-opencode-slim

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/alvinunreal/oh-my-opencode-slim/domain.svg)](https://agentmods.dev/agents/alvinunreal/oh-my-opencode-slim/domain)
Your own site
<a href="https://agentmods.dev/agents/alvinunreal/oh-my-opencode-slim/domain"><img src="https://agentmods.dev/badge/agents/alvinunreal/oh-my-opencode-slim/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 392 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.00392
Opus 5 $0.00000 $0.00196
Sonnet 5 $0.00000 $0.00078
Haiku 4.5 $0.00000 $0.00039

Measured 6d ago against content hash 13c3f7f00367, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • domain — 88% identical, 32 lines differ
  • domain — 84% identical, 30 lines differ
  • domain — 84% identical, 33 lines differ
  • domain — 84% identical, 27 lines differ
  • domain — 84% identical, 30 lines differ
  • domain — 84% identical, 30 lines differ
  • domain — 84% identical, 30 lines differ
  • domain — 83% identical, 29 lines differ
docs/agents/domain.md · 30 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 — the project's domain glossary and architecture narrative.
  • docs/adr/ at the repo root — read ADRs that touch the area you're about to work in.
  • codemap.md at the repo root — the repo's own architecture map (referenced by AGENTS.md); read it for module responsibilities and integration points before deep work in a folder.

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 — external skills, not bundled in this repo) creates them lazily when terms or decisions actually get resolved.

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).

Triage and labels

Operational triage roles and their repo labels are documented in docs/agents/triage-labels.md (source of truth) and docs/maintainers.md. The external-PR triage policy lives in docs/agents/issue-tracker.md.

Flag ADR conflicts

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

Contradicts ADR-001 (session reflection mode) — 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. 6d ago First seen · 30 lines · 0 tokens per session scan A 13c3f7f00367

Subscribe to this mod's changes

domain is an agent published in the GitHub repository alvinunreal/oh-my-opencode-slim (8,632 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 392 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.