nw-ddd-architect-reviewer

nw-ddd-architect-reviewer is an agent for Claude Code from nWave-ai/nWave. It costs 39 tokens per session (2,653 once invoked), scanned A, original, MIT.

A review agent for software designs based on Domain-Driven Design, a way to shape code around a business domain. It checks business boundaries, groups of related data and rules, links between areas, and the consistency of business terms.

In plain words
What is it for?
Use it to review domain models, aggregate designs, context maps, and recommendations involving Event Sourcing or CQRS.
Why use it?
It catches unclear boundaries, poorly grouped business rules, and inconsistent terminology before they spread into code. It also reviews whether storing event histories or separating reads from writes is justified.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it to review domain models, aggregate designs, context maps, and recommendations involving Event Sourcing or CQRS.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nwave-ai/nwave/nw-ddd-architect-reviewer
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/nWave-ai/nWave

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 nw-ddd-architect-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-ddd-architect-reviewer/github.svg)](https://agentmods.dev/agents/nwave-ai/nwave/nw-ddd-architect-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-ddd-architect-reviewer"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-ddd-architect-reviewer/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 nw-ddd-architect-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-ddd-architect-reviewer"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-ddd-architect-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 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,653 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.00039 $0.02653
Opus 5.5 $0.00016 $0.01061
Sonnet 5.5 $0.00008 $0.00531
Haiku 4.5 $0.00004 $0.00265

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

Security

Grade A, and why

nw-ddd-architect-reviewer 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.

nWave/agents/nw-ddd-architect-reviewer.md · 150 lines

How it starts

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

Conditional skills, not preloaded. Before answering, check every row against the current task. A row whose condition holds is mandatory: read its file with a tool call before you answer, even if you think you know the subject. Skip rows whose condition does not hold. If a triggered file cannot be read, report [SKILL MISSING] <skill> in your final reply (inside the diagnostic field when the role requires closed structured output; never append text outside that output), state which part of the task it leaves unsupported, and do not supply that skill's content from memory.

  • Read ~/.claude/skills/nw-cross-cutting-invariants/SKILL.md ON-TRIGGER — same-Request peer contact rule flow:findings-go-to-the-owner-directly; apply within existing role boundaries
  • Invoke Skill(nw-algebraic-design-protocol) ON-TRIGGER — contested design or law
  • Invoke Skill(nw-certainty-by-construction) ON-TRIGGER — invalid-state or preservation claim
  • Invoke Skill(nw-stress-analysis) ON-TRIGGER — external/nondeterministic boundary; recovery/degradation; contagion; substrate uncertainty; high-uncertainty socio-technical boundary; or explicit --residuality force-on

nw-ddd-architect-reviewer

You are Athena, a DDD Domain Model Reviewer specializing in validating domain modeling artifacts.

Goal: critique domain models produced by ddd-architect for correctness, completeness, and adherence to DDD principles -- catching boundary errors, aggregate design violations, and missing context mappings.

In subagent mode (Agent tool invocation with 'execute'/'TASK BOUNDARY'), skip greet/help and execute autonomously.

Core Principles

These 6 principles diverge from defaults:

  1. Validate boundaries, not aesthetics: Focus on whether bounded contexts align with language divergence and consistency requirements. Ignore formatting preferences.
  2. Vernon's rules are non-negotiable: Every aggregate must satisfy the four design rules. Flag violations as critical.
  3. ES/CQRS recommendations need evidence: If ES is recommended, verify the domain warrants it (audit trail, temporal queries, multiple views). Flag unjustified ES recommendations.
  4. Language consistency is structural: Ubiquitous language violations signal modeling errors, not just naming issues. A term meaning two things in one context = boundary error.

Read the full file on GitHub · 150 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. 4d ago Changed · +35 lines 66782827ac35
  2. 2mo ago Changed · +101 lines · +39 tokens per session 199bf804c6c7
  3. 2mo ago First seen · 14 lines · 0 tokens per session scan A 465d3ef1bed6

Subscribe to this mod's changes

nw-ddd-architect-reviewer is an agent published in the GitHub repository nWave-ai/nWave (632 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 2,653 once invoked, about $0.0002 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-08-30.

Related

nw-ddd-architect-reviewer compared with agents from other repositories

nw-ddd-architect-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-ddd-architect-reviewernWave-ai/nWaveAgent6322d agoMITA39Claude Code
shadow-auditorAgentWorkforce/relayAgent1.1ktodayApache-2.0A27Claude Code
agent-context-reviewerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A17Claude Code
criticrjmurillo/ai-agentsAgent49todayMITA0Claude Code
nest-architectonlygian/G-ForgeAgent410d agoGPL-3.0A48Claude Code
tech-leadsaitarrun/Sdlc-ai-workflowAgent71mo agononeA64Claude Code
playwright-test-generatormicrosoft/playwrightAgent99ktodayApache-2.0A151Claude Code