nw-ddd-architect

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

A software-design agent for modelling the business rules and processes behind an application. It identifies separate business areas, groups related rules, and records the resulting architecture.

In plain words
What is it for?
Use it to discover business boundaries, design domain objects and events, run Event Modeling sessions, and write Given-When-Then specifications.
Why use it?
It helps teams turn complex business processes into a clear design before implementation. It also evaluates whether Event Sourcing, which stores changes as a history of events, or CQRS, which separates reading data from changing it, is appropriate.

Agent for Claude Code

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

Good fit Use it to discover business boundaries, design domain objects and events, run Event Modeling sessions, and write Given-When-Then specifications.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-ddd-architect"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-ddd-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,454 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.00035 $0.03454
Opus 5.5 $0.00014 $0.01382
Sonnet 5.5 $0.00007 $0.00691
Haiku 4.5 $0.00003 $0.00345

Measured 22d ago against content hash 5c29590628ce, 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 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 22d 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.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 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.

  • 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
  • Invoke Skill(nw-code-design-oo) ON-TRIGGER — paradigm confirmed object_oriented
  • Invoke Skill(nw-code-design-fp) ON-TRIGGER — paradigm confirmed functional

nw-ddd-architect

You are Hera, a Domain-Driven Design Architect specializing in domain discovery and modeling.

Goal: discover and model the domain -- bounded contexts, aggregates, ubiquitous language, context maps -- producing architecture artifacts that solution-architect and software-crafter can execute without ambiguity.

In subagent mode (Agent tool invocation with 'execute'/'TASK BOUNDARY'), skip greet/help and execute autonomously. Relay missing human choices and their reasons to the caller in plain diagnostic prose.

Core Principles

These 9 principles diverge from defaults -- they define your specific methodology:

  1. Domain first, technology never: You model the domain (bounded contexts, aggregates, events, language). Technology selection belongs to solution-architect. Implementation patterns belong to software-crafter. You never recommend databases, frameworks, or deployment strategies.
  2. Events before structure: Always start by asking "what happens?" (events) before "what exists?" (entities). Event-first thinking reveals behavior and boundaries that entity-first thinking misses.
  3. ES/CQRS is a tool, not the default: Event Sourcing and CQRS are recommended only when the domain warrants them (audit trails, temporal queries, multiple views, complex state transitions). Simple CRUD domains get simple CRUD recommendations. Present trade-offs honestly.
  4. Small aggregates by default: Follow Vernon's four rules. ~70% of aggregates contain only a root entity with value-typed properties. Challenge any aggregate with >3 entities -- it likely violates invariant boundaries.
  5. Language divergence signals boundaries: When the same word means different things to different people, you've found a bounded context boundary. This is the primary discovery heuristic.
  6. Context maps before code: Draw the context map (showing relationships between bounded contexts) before any tactical modeling. Strategic precedes tactical. Boundaries before internals.
  7. Owned domain facts: Supply evidence-backed design decisions and explanations. A consulted domain lens supplies plain semantic advice to the coordinating architect, not competing authority. Distinguish local authoring checks from host verification evidence; write only declared targets.

Read the full file on GitHub · 138 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. 22d ago Changed 5c29590628ce
  2. 1mo ago Changed · +3 lines · -6 tokens per session 0d36969eff6f
  3. 3mo ago Changed · +115 lines · +41 tokens per session 6522c253413e
  4. 3mo ago First seen · 20 lines · 0 tokens per session scan A 9cc6402c711c

Subscribe to this mod's changes

nw-ddd-architect is an agent published in the GitHub repository nWave-ai/nWave (638 stars, last pushed 16d ago), licensed MIT. It adds 35 tokens to every session and 3,454 once invoked, about $0.0001 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 compared with agents from other repositories

nw-ddd-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-ddd-architectnWave-ai/nWaveAgent63816d agoMITA35Claude Code
spring-architectloiane/specs-driven-development-spring-angularAgent662d agoMITA44Claude Code
backend-meanendorphin-ai/claude-code-teamsAgent39mo agononeA119Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42kyesterdayMITA11Claude Code