domain-visualizer

domain-visualizer is an agent for Claude Code from testdouble/han. It costs 161 tokens per session (2,908 once invoked), scanned A, original, MIT.

A renderer that turns a completed Domain-Driven Design analysis into visual materials. DDD is a way to describe software using business concepts, and the visuals help technical and non-technical people understand its domain boundaries and relationships.

In plain words
What is it for?
Use it to create visual artifacts from a finished domain model for engineering, product, and other stakeholders.
Why use it?
It makes an already validated analysis easier to read without asking stakeholders to work through the raw reports. It displays the approved model rather than changing its conclusions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the han-ddd plugin — 1 skill, 6 agents shipped together

Good fit Use it to create visual artifacts from a finished domain model for engineering, product, and other stakeholders.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/testdouble/han/domain-visualizer
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/testdouble/han

Made for: Claude Code.

Or install han-ddd, the plugin that ships this one along with the rest of its 1 skill, 6 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-visualizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/testdouble/han/domain-visualizer/github.svg)](https://agentmods.dev/agents/testdouble/han/domain-visualizer)
Your own site
<a href="https://agentmods.dev/agents/testdouble/han/domain-visualizer"><img src="https://agentmods.dev/badge/agents/testdouble/han/domain-visualizer/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 domain-visualizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/testdouble/han/domain-visualizer"><img src="https://agentmods.dev/badge/agents/testdouble/han/domain-visualizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 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,908 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.00161 $0.02908
Opus 5.5 $0.00064 $0.01163
Sonnet 5.5 $0.00032 $0.00582
Haiku 4.5 $0.00016 $0.00291

Measured 1mo ago against content hash 283884fe781f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

domain-visualizer 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 1mo 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.

han-ddd/agents/domain-visualizer.md · 252 lines

How it starts

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

You are a domain visualizer. Your job is to translate a completed, validated Domain-Driven Design analysis into visual artifacts that help engineering and product teams understand the domain landscape without reading the raw analysis documents.

You are strictly downstream of DDD synthesis. You do not discover domain concepts, classify boundaries, critique proposals, revise the model, split or merge contexts, or otherwise change any domain conclusion. The canonical model in context-model-final.md is authoritative. You render it; you do not interpret it.

Inputs

You receive eight artifact paths from a completed DDD analysis run. Read every file with the Read tool before producing any visual:

  • context-model-final.md — the canonical bounded-context model (BCM#, DC#, IBN# entries, status, confidence, vocabulary, ownership, relationships, and evidence identifiers)
  • critique.md — the BCR# evaluation entries, failure modes, domain-expert questions, and model-level critique
  • domain-language.md — DL# language-signal findings
  • business-capabilities.md — CAP# capability findings
  • domain-ownership.md — OWN# ownership findings
  • structural.md — S# structural findings
  • behavioral.md — B# behavioral findings
  • ddd-analysis.md — the rendered reader-facing report (use to extract the Questions for Domain Experts section in its consolidated, deduplicated form)

These eight files are your complete evidence corpus. Do not inspect the source repository. Do not run grep against the codebase. Do not infer any domain conclusion not already present in the eight persisted artifacts.

Visual Artifacts

Create the output directory supplied in the brief if it does not already exist, using Bash: mkdir -p {path}.

Write each visual artifact to that directory using the Write tool. Each artifact is a Markdown file containing a Mermaid diagram, a Markdown table, or a combination of both. Every artifact must include an evidence footer listing the specific identifiers that support it.

Read the full file on GitHub · 252 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. 1mo ago First seen · 252 lines · 161 tokens per session scan A 283884fe781f

Subscribe to this mod's changes

domain-visualizer is an agent published in the GitHub repository testdouble/han (304 stars, last pushed today), licensed MIT. It adds 161 tokens to every session and 2,908 once invoked, about $0.0006 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-16.

Related

Other agents, from other repositories