design-dna

design-dna is a skill for Claude Code, Codex from mrDesign-ww/vault-os. It costs 85 tokens per session (784 once invoked), scanned A, original, MIT.

A skill for turning screenshots, images, URLs, Figma files, or UI code into a structured description of a design’s rules, visual style, and effects. It records how strongly each detail is supported by evidence.

In plain words
What is it for?
Extracting colors, spacing, typography, style decisions, and visual effects; saving those findings as machine-readable design information; and applying them to interface work.
Why use it?
It reduces guesswork when copying or documenting a design, and keeps measured facts separate from visual interpretation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Extracting colors, spacing, typography, style decisions, and visual effects; saving those findings as machine-readable design information; and applying them to interface work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrdesign-ww/vault-os/design-dna
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.

Any agent
npx skills add mrDesign-ww/vault-os --skill design-dna
Clone the repo
git clone --depth 1 https://github.com/mrDesign-ww/vault-os

Made for: Claude Code, Codex.

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-dna

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrdesign-ww/vault-os/design-dna/github.svg)](https://agentmods.dev/skills/mrdesign-ww/vault-os/design-dna)
Your own site
<a href="https://agentmods.dev/skills/mrdesign-ww/vault-os/design-dna"><img src="https://agentmods.dev/badge/skills/mrdesign-ww/vault-os/design-dna/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-dna

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrdesign-ww/vault-os/design-dna"><img src="https://agentmods.dev/badge/skills/mrdesign-ww/vault-os/design-dna.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 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.00085 $0.00784
Opus 5 $0.00043 $0.00392
Sonnet 5 $0.00017 $0.00157
Haiku 4.5 $0.00009 $0.00078

Measured 10d ago against content hash 6abf55d1d816, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

design-dna 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 10d 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.

shell/claude/skills/design-dna/SKILL.md · 84 lines

How it starts

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

Design DNA

Build a machine-readable design profile without presenting guesses as measured facts. Treat existing project tokens, Figma variables, approved specs, and vault decisions as sources of truth.

Source priority

Use the strongest available evidence in this order:

  1. Existing approved project tokens, Figma variables, and implementation constants.
  2. Inspected source code and computed styles.
  3. Pixel measurements or color sampling from supplied assets.
  4. Visual inference from screenshots or video.
  5. Qualitative interpretation.

Never overwrite a stronger source with a weaker inference. When sources conflict, report the conflict and ask which source governs.

Evidence contract

Read references/schema.md before extraction. Preserve its three dimensions: design_system, design_style, and visual_effects.

For every populated leaf, add an entry to a top-level evidence map keyed by JSON path:

{
  "evidence": {
    "design_system.color.primary.hex": {
      "status": "measured",
      "confidence": 0.96,
      "source": "Figma variable Brand/Primary"
    }
  }
}

Allowed status values:

  • authoritative: approved token, Figma variable, spec, or implementation constant.
  • measured: directly sampled or inspected.
  • observed: clearly visible behavior or property without an exact value.
  • inferred: reasoned estimate from incomplete evidence.
  • unknown: not supported by the available references.

Use null for unknown values. Do not fabricate a complete-looking profile. Keep confidence between 0 and 1 and explain low-confidence fields briefly.

Workflows

Structure

When asked for the schema, read references/schema.md, present only the relevant sections unless the user requests the complete schema, and explain the evidence contract.

Analyze references

  1. Identify reference type and available evidence.
  2. Inspect the strongest sources first.
  3. Extract only supported fields.
  4. Record evidence status, confidence, and source for every populated field.
  5. Separate shared patterns from reference-specific variants.
  6. Report unknowns and contradictions instead of silently resolving them.
  7. Return the JSON plus a concise findings summary.

Read the full file on GitHub · 84 lines

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 84 lines · 85 tokens per session scan A 6abf55d1d816

Subscribe to this mod's changes

design-dna is a skill published in the GitHub repository mrDesign-ww/vault-os (2 stars, last pushed 3d ago), licensed MIT. It adds 85 tokens to every session and 784 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

archify

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and…

tt-a1i/archify · 130 tokens

fireworks-tech-graph

Create technical diagrams such as software architecture, data flow, flowcharts, sequence diagrams, C4 reviews, cloud deployments, event streams, observability investigations, agent/memory systems, UML, ER, network topology, timelines, and technical concept maps, then export SVG, PNG, focused semantic SVG-to-GIF…

yizhiyanhua-ai/fireworks-tech-graph · 128 tokens

taiyi-ui-design

A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.

Dong90/oh-my-taiyiforge · 35 tokens

ui-web

Web UI - glassmorphism, Tailwind, dark mode, accessibility.

alinaqi/maggy · 17 tokens

slides

A slide generator that creates PNG images for presentation decks, including simple backgrounds for spoken-video scripts and fuller layouts for standalone presentations.

majiayu000/spellbook · 41 tokens

diagrams

Mermaid diagrams following the C4 model: context, container, component, sequence, ER and deployment. Use when saying "diagram", "visualize", or "architecture diagram".

anton-abyzov/specweave · 0 tokens