design

design is a command for Claude Code from nWave-ai/nWave. It costs 27 tokens per session (3,132 once invoked), scanned A, original, MIT.

Designs system architecture with C4 diagrams and technology selection. Use when defining component boundaries, choosing tech stacks, or creating architecture documents.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the nw plugin — 12 commands shipped together

Install with agentmods
npx agentmods add commands/nwave-ai/nwave/design
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.

Or install nw, the plugin that ships this one along with the rest of its 12 commands.

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 design

README.md
[![agentmods](https://agentmods.dev/badge/commands/nwave-ai/nwave/design.svg)](https://agentmods.dev/commands/nwave-ai/nwave/design)
Your own site
<a href="https://agentmods.dev/commands/nwave-ai/nwave/design"><img src="https://agentmods.dev/badge/commands/nwave-ai/nwave/design.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 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,132 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 unknown 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.00027 $0.03132
Opus 5 $0.00014 $0.01566
Sonnet 5 $0.00005 $0.00626
Haiku 4.5 $0.00003 $0.00313

Measured today against content hash 48b869b0384b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

design 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 today.

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.

plugins/nw/commands/design.md · 251 lines

How it starts

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

NW-DESIGN: Architecture Design

Wave: DESIGN (wave 3 of 6) | Agents: Morgan (nw-solution-architect), nw-system-designer, nw-ddd-architect, nw-platform-architect | Command: *design-architecture

Overview

Execute DESIGN wave through discovery-driven architecture design. The command routes to the right architect based on design scope: system-level (distributed architecture, scalability), domain-level (DDD, bounded contexts), or application-level (component boundaries, tech stack). Users choose an interaction mode — guided (collaborative Q&A) or propose (architect analyzes requirements and presents options with trade-offs). Analyzes existing codebase, evaluates open-source alternatives, produces C4 diagrams (Mermaid) as mandatory output.

Interactive Decision Points

Decision 0: Design Scope (MANDATORY — do NOT skip)

Question: What are you designing?

You MUST ask this question before invoking any architect. Do NOT default to application scope. The answer determines WHICH agent to invoke.

Options:

  1. System / infrastructure — distributed architecture, scalability, caching, load balancing, message queues → invokes @nw-system-designer
  2. Domain / bounded contexts — DDD, aggregates, Event Modeling, event sourcing, context mapping → invokes @nw-ddd-architect
  3. Application / components — component boundaries, hexagonal architecture, tech stack, ADRs → invokes @nw-solution-architect
  4. Full stack — all three in sequence: system -> domain -> application → invokes all three agents sequentially
  5. Platform / delivery infrastructure — deployment architecture, CI/CD, infrastructure as code, observability, production readiness → invokes @nw-platform-architect

Decision 1: Interaction Mode

Question: How do you want to work?

Options:

  1. Guide me — the architect asks questions, you make decisions together
  2. Propose — the architect reads your requirements and proposes 2-3 options with trade-offs

Prior Wave Consultation

Read the full file on GitHub · 251 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. today First seen · 251 lines · 27 tokens per session scan A 48b869b0384b

Subscribe to this mod's changes

design is a command published in the GitHub repository nWave-ai/nWave (605 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 3,132 once invoked, about $0.0001 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-09-06.