# Design DNA Extractor

> Extract the design system hiding in your product: observed tokens, inconsistent component styles and drift across pages, states and viewports.

Design DNA Extractor is a paid AI agent skill on Agensi by andan, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [andan](https://www.agensi.io/creators/andan)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/design-dna-extractor
- Tags: ui-ux

## About this skill

**Discover the design system hiding in your product.**

Design DNA Extractor reads computed styles from pages you authorise, infers the recurring patterns, and reports where a component has drifted from the rule. It is how you find out that your buttons use three different paddings — before a redesign, not after.

### How it works
1. **Capture computed styles.** Your agent collects computed styles for chosen elements across pages, states, viewports and themes. The skill never assumes a style it did not observe.
2. **Infer tokens and rules.** Recurring values become an observed token inventory; supporting patterns become rules marked `inferred-not-approved` until you approve them.
3. **Audit drift and contrast.** Approved rules are compared with what is actually rendered, per page and context, with contrast checked only where an opaque background was observed.

### What the report gives you
- A token inventory with counts and the exact page/ref evidence behind each value.
- A CSS custom-property export of the observed tokens, ready for `:root`.
- Drift rows: expected versus actual, per page and element, including drift against your own semantic tokens.
- A snapshot delta between two captures: added, unobserved, changed properties and role changes.
- Contrast results with the computed ratio and the threshold, or `unverified` when the background was not provably opaque.
### What is bundled
- `SKILL.md`, a browser-collector reference, quickstart and the v2 reference.
- Deterministic engine and helper, offline, no network calls.
- Example capture and output so you can see the report shape first.

### Requirements
- Node.js 18+. An agent host that can run local Node scripts and collect computed styles.
- No API key, account or network access needed by the bundled engine.

### Licence
Proprietary commercial-use licence for authorised design and client work. No redistribution.

## Requires

- Node.js

It analyses the computed styles your agent collects. It does not redesign anything, and it does not certify accessibility compliance.

## Known limitations

Requires Node.js 18+. Cannot perform network or disk writes. Depends on authorized host tools for data capture. Input validation is strict; invalid JSON results in immediate exit.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Design DNA Extractor skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from manually prompting an LLM to analyze my CSS?

It automates the discovery of your UI's "DNA" by extracting computed styles and identifying pattern drift, replacing manual CSS audits and reducing AI hallucinations regarding design values.

### What are the technical requirements for running the design dna extractor?

The skill requires Node.js 18+ and is designed to work with AI agents that support local script execution and host-provided UI observation data.

### What exactly is included in the purchase?

You receive the core execution engine (engine.cjs), the assistance scripts (assist.cjs), and the schema documentation necessary to process and audit your design tokens.

### Does the extraction process require an internet connection or send data to external servers?

No, this skill operates entirely locally without external network calls, ensuring your codebase and design patterns remain secure within your authorized environment.

### How does the drift detection feature help maintain my design system?

It identifies inconsistencies by comparing current snapshots of computed styles against your established design rules, highlighting where components have diverged from your system.

### Can I use this tool to verify WCAG compliance?

Yes, it performs automated contrast checks on computed color pairs to ensure your UI elements meet accessibility standards before they reach production.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
