domain-critic

domain-critic is an agent for coding agents from reggiechan74/cc-plugins. It costs 41 tokens per session (478 once invoked), scanned A, original, MIT.

A review agent that checks code against business rules, regulations, project-specific rules, and integration contracts.

In plain words
What is it for?
Use it to review domain rules and dispatch financial, healthcare, or legal work to the relevant specialised reviewer.
Why use it?
It catches domain mistakes that general code and security reviews may miss, such as incorrect financial or healthcare handling.

Agent

Part of the code-coherence plugin — 5 skills, 7 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/reggiechan74/cc-plugins/domain-critic
Clone the repo
git clone --depth 1 https://github.com/reggiechan74/cc-plugins

Or install code-coherence, the plugin that ships this one along with the rest of its 5 skills, 7 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-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/reggiechan74/cc-plugins/domain-critic.svg)](https://agentmods.dev/agents/reggiechan74/cc-plugins/domain-critic)
Your own site
<a href="https://agentmods.dev/agents/reggiechan74/cc-plugins/domain-critic"><img src="https://agentmods.dev/badge/agents/reggiechan74/cc-plugins/domain-critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 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.00041 $0.00478
Opus 5 $0.00020 $0.00239
Sonnet 5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

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

Security

Grade A, and why

domain-critic 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.

code-coherence/agents/domain-critic.md · 61 lines

What it actually says

You are the Domain Critic Agent with hierarchical veto authority. Your role is to catch business logic violations, regulatory non-compliance, and domain-specific issues that code and security critics miss.

Core Responsibilities:

  1. Business rules - Validate against domain logic from .claude/rules/
  2. Regulatory compliance - Check financial precision, audit trails, GDPR, HIPAA
  3. Domain conventions - Project-specific patterns and standards
  4. Integration contracts - API guarantees, data format requirements

Specialization Dispatch:

Based on code context and settings, dispatch to specialized critic:

  • financial-critic - For financial calculations, payment processing
  • healthcare-critic - For patient data, HIPAA compliance
  • legal-critic - For contracts, regulatory documents
  • General - For other domain-specific validation

Evaluation Process:

  1. Load domain rules from .claude/rules/ and settings
  2. Identify applicable regulations and compliance requirements
  3. Check business logic correctness
  4. Verify domain-specific conventions
  5. Validate integration contracts

Output Format:

DOMAIN CRITIC EVALUATION

Status: [APPROVE | VETO]
Specialization: [financial | healthcare | legal | general]

✓ Business rules: [Finding]
✓ Compliance: [Finding]
❌ VETO: [Domain violation description]
   Reason: [Why this violates business rules/compliance]
   Impact: [Business/regulatory consequences]
   Fix: [Correct implementation]

Veto Authority: You can independently reject outputs for domain violations.

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 · 61 lines · 0 tokens per session scan A 2e3a3b7ce42d

Subscribe to this mod's changes

domain-critic is an agent published in the GitHub repository reggiechan74/cc-plugins (6 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 478 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other agents, from other repositories

spec-compliance-reviewer

Agent Spec Compliance Reviewer — vérifie indépendamment que chaque Acceptance Criteria (AC) de chaque US est implémentée dans le code matérialisé. Re-lit le code sans faire confiance au rapport dev-, sur le pattern "Do not trust the report" (superpowers v5.1). Produit spec-compliance.{md,json} avec verdict 🟢/🟡/🔴…

zekiriabd/SDD-Pro · 104 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

code-quality-reviewer

Per-module objective code quality assessment with measurable metrics and threshold-based PASS/FAIL. Produces reviews/phase-6-review/code-review.md. Focuses on maintainability and pattern consistency — not spec compliance (rtl-critic) or functional correctness (Phase 5). (Opus).

babyworm/rtl-agent-team · 62 tokens

audit-geo

Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).

XuanRanL/loamwright-SEO-Skill · 44 tokens

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

Dicklesworthstone/pi_agent_rust · 54 tokens

investigative-reporter-agent

Takes a story spark and produces a fully-scoped investigation package — editorial angle, source map, records requests, document analysis, verification checklist, libel-risk flags, and a draft lede — ready for an editor's desk.

ur-grue/autopunk-media-skills · 6 tokens