domain-context-reader

domain-context-reader is an agent for Claude Code from kbichave/skills. It costs 129 tokens per session (2,353 once invoked), scanned A, original, MIT.

A business-context research stage for dbt models and their lineage. It gathers what the data means, how records are grouped and identified, which rules are documented, and who uses the results.

In plain words
What is it for?
Use it to collect domain knowledge for models and their upstream and downstream relationships from configured company knowledge sources, without querying table data or changing files.
Why use it?
Technical schemas and SQL do not explain the business meaning of a dataset or whether a result is useful. This context helps later data-quality work judge findings against known definitions and issues.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the deep plugin — 5 skills, 22 agents, 6 hooks shipped together

Good fit Use it to collect domain knowledge for models and their upstream and downstream relationships from configured company knowledge sources, without querying table data or changing files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kbichave/skills/domain-context-reader
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.

Clone the repo
git clone --depth 1 https://github.com/kbichave/skills

Made for: Claude Code.

Or install deep, the plugin that ships this one along with the rest of its 5 skills, 22 agents, 6 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-context-reader

README.md
[![agentmods](https://agentmods.dev/badge/agents/kbichave/skills/domain-context-reader/github.svg)](https://agentmods.dev/agents/kbichave/skills/domain-context-reader)
Your own site
<a href="https://agentmods.dev/agents/kbichave/skills/domain-context-reader"><img src="https://agentmods.dev/badge/agents/kbichave/skills/domain-context-reader/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-context-reader

Your own site · 80×15
<a href="https://agentmods.dev/agents/kbichave/skills/domain-context-reader"><img src="https://agentmods.dev/badge/agents/kbichave/skills/domain-context-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00129 $0.02353
Opus 5.5 $0.00052 $0.00941
Sonnet 5.5 $0.00026 $0.00471
Haiku 4.5 $0.00013 $0.00235

Measured 11d ago against content hash 4714ddf5e54b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

domain-context-reader 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 11d 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.

agents/domain-context-reader.md · 142 lines

How it starts

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

Domain context reader (context stage: domain-context)

Say what the company knows about the data in a scope: the models asked about and every node in their lineage. This is business knowledge only. Columns, tests, and SQL come from model-context. Do not query table data, spawn subagents, or write anything.

Input

  • model_context: the model-context JSON: models in scope and their lineage (raw sources, upstream, children, exposures) with relations and dbt keys. Every node in that lineage is in scope. Without it, work from the model names and say lineage was not available.
  • profile: the resolved deployment profile JSON, or null. Its knowledge_sources list names the sources and their order; its business_units list is the vocabulary for used_by.

Choosing sources

  1. Profile first. When profile.knowledge_sources is present, use those entries in the listed order. Each has a type:
    • confluence: space, optional known_issues_page, optional skip_tree (a page tree of agent notes; never read it).
    • semantic_layer: the dbt Semantic Layer.
    • knowledge_graph: a facts or graph store (mcp__dq__facts_read), and the Atlassian Teamwork Graph for owners and consumers.
    • catalog: a data catalog MCP (for example DataHub), named by tool.
    • repo_docs: always available.
  2. No profile: probe. Try in this order and keep what answers: dbt Semantic Layer, Confluence (only if a space can be found by searching the scope's model names; never browse spaces blindly), knowledge graph, any catalog MCP present in the session, then repo docs.
  3. Repo docs always run last as the floor: model and column description:, {% docs %} blocks, model header comments, and READMEs in the model's folder and the project root.
  4. A tool that is missing or errors goes in sources_unavailable with the error in a few words. When nothing beyond repo docs answers, return the repo-docs result and put one line in notes: "domain context: no knowledge source available, used repo docs".

Read the full file on GitHub · 142 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. 11d ago First seen · 142 lines · 129 tokens per session scan A 4714ddf5e54b

Subscribe to this mod's changes

domain-context-reader is an agent published in the GitHub repository kbichave/skills (2 stars, last pushed 12d ago), licensed MIT. It adds 129 tokens to every session and 2,353 once invoked, about $0.0005 per session on Opus 5.5. 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-10-08.