domain

domain is an agent for coding agents from stonematt/mcp-obsidian-cli. It costs 0 tokens per session (608 once invoked), scanned A, original, MIT.

A set of instructions for using this repository's domain documentation while exploring its code. The documents define project-specific terms, design decisions, and current work plans.

In plain words
What is it for?
It helps developers understand the repository before changing code, especially when investigating a particular area or writing issues, tests, or refactoring proposals.
Why use it?
It prevents engineering work from using inconsistent terminology or missing important project context. It also directs the reader to relevant architecture records and initiative briefs.

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/stonematt/mcp-obsidian-cli/domain
Clone the repo
git clone --depth 1 https://github.com/stonematt/mcp-obsidian-cli

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/stonematt/mcp-obsidian-cli/domain.svg)](https://agentmods.dev/agents/stonematt/mcp-obsidian-cli/domain)
Your own site
<a href="https://agentmods.dev/agents/stonematt/mcp-obsidian-cli/domain"><img src="https://agentmods.dev/badge/agents/stonematt/mcp-obsidian-cli/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 608 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.00608
Opus 5 $0.00000 $0.00304
Sonnet 5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

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

docs/agents/domain.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain Docs

How the engineering skills should consume this repo's domain documentation when exploring the codebase.

Layout: single-context

This repo is a single Node package wrapping the Obsidian CLI; there are no sub-contexts. Layout:

/
├── CONTEXT.md                  ← glossary of domain terms
├── docs/
│   ├── briefs/                 ← PRDs / scoped initiatives
│   │   └── <name>.md
│   └── adr/                    ← architectural decision records (created lazily)
└── src/ (server.js, lib/, bin/)

Before exploring, read these

  • CONTEXT.md at the repo root — the canonical glossary. Use its vocabulary (Verb, ObsidianCli, VerbManifest, Pass-through tool, Typed tool, Cheatsheet, Skill parity, Reload detection) in any output (issue titles, refactor proposals, hypotheses, test names).
  • docs/adr/ — ADRs that touch the area you're about to work in. May not exist yet; create lazily when a decision crystallizes.
  • docs/briefs/<name>.md — if the work relates to a current initiative, read the brief for the why and architecture.

If any of these files don't exist, proceed silently. Don't flag absence; don't suggest creating them upfront. The producer skills (/grill-with-docs, /to-prd) create them lazily.

Use the glossary's vocabulary

When an output names a domain concept, use the term as defined in CONTEXT.md. Don't drift to synonyms the glossary explicitly avoids (e.g. command, action for Verb; service, runner for ObsidianCli).

If a 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 /grill-with-docs).

Flag ADR conflicts

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

Contradicts ADR-0007 — but worth reopening because…

Only surface when the friction is real enough to warrant revisiting the ADR. Don't list every theoretical refactor an ADR forbids.

Read the full file on GitHub · 47 lines

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 · 47 lines · 0 tokens per session scan A b304d1d82970

Subscribe to this mod's changes

domain is an agent published in the GitHub repository stonematt/mcp-obsidian-cli (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 608 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.