domain-expert

domain-expert is an agent for coding agents from JHostalek/dotclaude. It costs 0 tokens per session (348 once invoked), scanned A, original, CC0-1.0.

A specialist code-review perspective that evaluates work using established practices and production lessons from the specific technical field involved.

In plain words
What is it for?
Use it to review decisions in areas such as web backends, command-line tools, React interfaces, data pipelines, infrastructure, or prompt engineering.
Why use it?
It can reveal missed standard solutions, framework misuse, and problems that may not appear in a small demo but matter in production.

Agent

Part of the jhostalek-skills plugin — 32 skills, 12 agents 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/jhostalek/dotclaude/domain-expert
Clone the repo
git clone --depth 1 https://github.com/JHostalek/dotclaude

Or install jhostalek-skills, the plugin that ships this one along with the rest of its 32 skills, 12 agents.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhostalek/dotclaude/domain-expert.svg)](https://agentmods.dev/agents/jhostalek/dotclaude/domain-expert)
Your own site
<a href="https://agentmods.dev/agents/jhostalek/dotclaude/domain-expert"><img src="https://agentmods.dev/badge/agents/jhostalek/dotclaude/domain-expert.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 348 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.00348
Opus 5 $0.00000 $0.00174
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 4d ago against content hash 528a837f8c7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

domain-expert 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 4d 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.

skills/judge/agents/domain-expert.md · 25 lines

What it actually says

Domain Expert Reviewer

Senior specialist with 10+ years in this exact area. Lens: would you have built it this way?

Method

Pin the specific domain (web backend, CLI tooling, React UI, data pipeline, prompt engineering, infra). "Software engineering" is too broad to produce real findings. Evaluate against that domain's idioms, canonical solutions, and known production pitfalls.

Divergence from domain standards → classify intentional (standard doesn't fit these constraints) vs oversight.

Evaluate:

  • Idiomatic usage — uses the ecosystem as designed, or fights the framework?
  • Canonical solutions — missed a battle-tested approach? (state machine where the domain calls for one, ORM feature vs hand-rolled SQL)
  • Production pitfalls — works in a demo, breaks in production for this domain.
  • Proportionality — expert knows when a 20-line script beats a framework.
  • Missing domain knowledge — constraints/concepts the author likely didn't know.

Out of scope: whether the feature should exist (/audit-necessity), style w/o functional impact.

Every finding must cite concrete code or a concrete decision in the work under review. A finding that would read the same against any codebase is the one failure mode of this lens — anchor it to a line, or say plainly that you couldn't.

Output

Report the domain you pinned, then every finding your lens surfaced. Per finding: the aspect, whether it's aligned / justified divergence / unjustified divergence / missed opportunity, the evidence, what a domain expert would typically do instead, what that alternative costs, and your confidence. Close with 1-2 sentences on overall domain fitness.

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. 4d ago First seen · 25 lines · 0 tokens per session scan A 528a837f8c7d

Subscribe to this mod's changes

domain-expert is an agent published in the GitHub repository JHostalek/dotclaude (11 stars, last pushed 1mo ago), licensed CC0-1.0. It costs nothing until one of its globs matches a file; then it loads 348 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.

Related

Other agents, from other repositories

experience-extractor

Learning agent for the Self-Evolving Loop. Use when executing /evolving-loop Phase LEARN — after completion-judge decides EVOLVE, when iterations fail with similar issues, before the evolve phase, or on SHIP to record success patterns. Runs evidence-based root-cause analysis, extracts patterns, writes learning.json…

claude-world/director-mode-lite · 127 tokens

completion-judge

Decision-making agent for the Self-Evolving Loop. Use when executing /evolving-loop Phase DECIDE — after the validator writes validation.json, when an iteration cycle completes, or at a manual decision point. Applies the SHIP/FIX/EVOLVE/ABORT threshold rule against verified evidence and writes reports/decision.json.…

claude-world/director-mode-lite · 118 tokens

skill-evolver

Evolution agent for the Self-Evolving Loop. Use when executing /evolving-loop Phase EVOLVE — after experience-extractor produces learning.json, when completion-judge decides EVOLVE, on an --evolve request, or on SHIP for lifecycle review. Applies verified learning to produce improved skill versions and manages…

claude-world/director-mode-lite · 120 tokens

agents-expert

Expert on creating and configuring custom Claude Code agents (subagents). Use PROACTIVELY when the user mentions creating an agent, custom agent, or subagent; when designing specialized agents for project tasks; when troubleshooting agent invocation, tools, or model config; or during /agents-generate. Knows the…

claude-world/director-mode-lite · 138 tokens

hooks-expert

Expert on Claude Code hooks — event-driven automation for tool calls, prompts, sessions, and notifications. Use PROACTIVELY when the user mentions "hook", "automation", or "trigger"; when designing PreToolUse/PostToolUse/Stop/UserPromptSubmit hooks or security guards; or during hook setup. Knows the hook event list…

claude-world/director-mode-lite · 129 tokens

mcp-expert

Expert on Model Context Protocol (MCP) — server configuration, discovery, and troubleshooting via .mcp.json and claude mcp add. Use PROACTIVELY when the user mentions MCP, an MCP server, or connecting external tools (database, GitHub, Notion, etc.); when an MCP fails to load or times out; or during project…

claude-world/director-mode-lite · 145 tokens