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.

An architecture-design command for defining system boundaries, components, technology choices, and relationships between parts of a system. It can document these relationships with C4 diagrams, a visual way to show software structure at several levels.

In plain words
What is it for?
Use it to design system, domain, or application architecture, choose technologies, define component boundaries, and create architecture documents and diagrams.
Why use it?
It gives teams a structured way to compare design options and trade-offs before implementation. It also helps choose the right design scope instead of assuming every problem needs a whole-system redesign.

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

Good fit Use it to design system, domain, or application architecture, choose technologies, define component boundaries, and create architecture documents and diagrams.

Compare 6 commands from other repositories ↓
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/github.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/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 design

Your own site · 80×15
<a href="https://agentmods.dev/commands/nwave-ai/nwave/design"><img src="https://agentmods.dev/badge/commands/nwave-ai/nwave/design.svg" alt="Reviewed on agentmods" width="80" 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 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.00027 $0.03132
Opus 5.5 $0.00011 $0.01253
Sonnet 5.5 $0.00005 $0.00626
Haiku 4.5 $0.00003 $0.00313

Measured 3mo ago against content hash 48b869b0384b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

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. 3mo ago 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 (638 stars, last pushed 16d ago), licensed MIT. It adds 27 tokens to every session and 3,132 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-09-06.

Related

design compared with commands from other repositories

design next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
designnWave-ai/nWaveCommand63816d agoMITA27Claude Code
checklistgithub/spec-kitCommand154kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand154kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand154kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand154kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand154kyesterdayMITA35Claude Code
speckit.bug.testgithub/spec-kitCommand154kyesterdayMITA13Claude Code