design-md-consumer

design-md-consumer is an agent for Claude Code from AgentsORG/design-engineering. It costs 98 tokens per session (2,042 once invoked), scanned A, original, MIT.

An assistant that finds a project's design contract—a .design file or DESIGN.md containing agreed colors, spacing, typography, and other interface tokens—and makes generated UI use it. It resolves inherited values and produces implementation formats such as CSS variables or TypeScript.

In plain words
What is it for?
Use it when generating or editing UI in a project with a design contract, especially when you need to discover the correct token source, resolve overrides, or convert the tokens for the codebase.
Why use it?
It prevents generated screens from inventing a separate visual system and helps keep components consistent with the project's existing design rules.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Per-agent identity. Inherits from the repo-root [SOUL.md](../SOUL.md) — this section narrows that to design-token consumption..

Part of the design-engineering plugin — 1 skill, 10 commands, 10 agents shipped together

Good fit Use it when generating or editing UI in a project with a design contract, especially when you need to discover the correct token source, resolve overrides, or convert the tokens for the codebase.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AgentsORG/design-engineering
agentmods
npx agentmods add agents/agentsorg/design-engineering/design-md-consumer

Made for: Claude Code.

Or install design-engineering, the plugin that ships this one along with the rest of its 1 skill, 10 commands, 10 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 design-md-consumer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentsorg/design-engineering/design-md-consumer"><img src="https://agentmods.dev/badge/agents/agentsorg/design-engineering/design-md-consumer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 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,042 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.00098 $0.02042
Opus 5.5 $0.00039 $0.00817
Sonnet 5.5 $0.00020 $0.00408
Haiku 4.5 $0.00010 $0.00204

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

Security

Grade A, and why

design-md-consumer 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.

agents/design-md-consumer.md · 106 lines

How it starts

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

design-md-consumer

You are a design-contract consumer. The user's project ships either a .design file (schema design.v1, see spec/design-file-spec.md) or a DESIGN.md (Google Labs format, see spec/design-md-spec.md). Your job: find it, respect it, generate UI that uses its tokens — don't invent parallel values.

Workflow

  1. Discover the contract, nearest wins. Walk up from the file being edited. Prefer a literal .design; else exactly one *.design in that directory; several candidates → ask which system. Resolve extends depth-first, child overriding parent. Then look for DESIGN.md at the project root, docs/, or design/.

    • Both exist → .design is the contract; DESIGN.md becomes rationale. Offer to converge them.
    • Neither exists → hand back: "No design contract found. I can (a) generate UI with sensible defaults from this skill, (b) bootstrap a .design from your existing signals, or (c) help you author a DESIGN.md. Which?" Never invent an untracked system silently. If bootstrapping, scan adjacent signals first — AGENTS.md design notes, global CSS, Tailwind config, components.json — and record them in sources.
  2. Load the consumption canon. Read in this order:

    • spec/design-file-spec.md or spec/design-md-spec.md — the format spec for whichever contract you found (mirrored offline).
    • skills/design-engineering/references/meta/using-design-file.md or using-design-md.md — how this skill recommends consuming it.
    • skills/design-engineering/references/meta/pov.md — installer overrides may take precedence in personal projects.
  3. Parse the contract.

    A .design file loads in this order: agent.instructions (required, self-contained) → intent → constraints → policy / decisions → tokens → voice → components / patterns → integrations. Pull rationale.* on demand. On a large file, the normative core is mandatory before generating; judgment and tooling sections load as needed.

Read the full file on GitHub · 106 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 · 106 lines · 98 tokens per session scan A 930031ab4b7c

Subscribe to this mod's changes

design-md-consumer is an agent published in the GitHub repository AgentsORG/design-engineering (32 stars, last pushed 10d ago), licensed MIT. It adds 98 tokens to every session and 2,042 once invoked, about $0.0004 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

Other agents, from other repositories

nw-product-owner-reviewer

Use as hard gate before DESIGN wave - validates journey coherence, emotional arc quality, shared artifact tracking, Definition of Ready checklist, LeanUX antipatterns, and story sizing. Blocks handoff if any critical issue or DoR item fails. Runs on Haiku for cost efficiency.

nWave-ai/nWave · 62 tokens

nw-diverger

Use before DISCUSS — runs JTBD analysis, competitive research, structured brainstorming, and taste-filtered evaluation to produce 3-5 design directions before the team converges on one. Use when the team has a validated problem but hasn't chosen a solution approach.

nWave-ai/nWave · 57 tokens

designer

Ornamental design specialist for historical and modern style analysis, colorblind-accessible palettes, and AI-assisted image generation using Z-Image.

pjt222/agent-almanac · 29 tokens

css-expert

Expert in modern CSS including CSS Grid, Flexbox, custom properties, container queries, CSS layers, native nesting, modern color spaces, and advanced styling techniques. Specializes in responsive design, accessibility, performance optimization, and CSS architecture for scalable applications. Examples: Context: User…

andisab/swe-marketplace · 393 tokens

prompt-ux-designer

Designs the prompt input experience for AI features — input pattern, suggestion system, feedback loop, history, and constraints. Use before implementing any AI prompt input or chat interface.

RBraga01/builder-design · 41 tokens

design-builder

Use this agent for building production-ready prototypes and implementations from design specs — assembling components into full pages, wiring up interactions, integrating with APIs, setting up project scaffolding, and bridging the gap between design decisions and working software. Dispatch after the design-lead has…

Owl-Listener/designpowers · 85 tokens