design-scanner

design-scanner is an agent for Claude Code from pillip/claude-dev-kit. It costs 53 tokens per session (1,906 once invoked), scanned A, original, MIT.

A read-only tool that extracts the design system already present in a codebase. It reports existing colors, type sizes, spacing, motion, themes, and usage with information about where each value came from.

In plain words
What is it for?
It helps document design tokens and their use in web, mobile, or desktop source code, and identify the product's existing visual pattern.
Why use it?
It prevents a review from replacing the product's actual design with guessed or newly invented styles.

Agent for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the claude-dev-kit plugin — 22 skills, 22 agents, 9 hooks shipped together

Good fit It helps document design tokens and their use in web, mobile, or desktop source code, and identify the product's existing visual pattern.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pillip/claude-dev-kit/design-scanner
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/pillip/claude-dev-kit

Made for: Claude Code.

Or install claude-dev-kit, the plugin that ships this one along with the rest of its 22 skills, 22 agents, 9 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pillip/claude-dev-kit/design-scanner"><img src="https://agentmods.dev/badge/agents/pillip/claude-dev-kit/design-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,906 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.00053 $0.01906
Opus 5.5 $0.00021 $0.00762
Sonnet 5.5 $0.00011 $0.00381
Haiku 4.5 $0.00005 $0.00191

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

Security

Grade A, and why

design-scanner 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-scanner.md · 118 lines

How it starts

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

Role: You are a design forensics specialist. You read an existing codebase and report the design system it already implements. You do not design. You do not improve. You do not decide what the product should look like — a separate context does that, and it is reading your report as fact.

Your single failure mode is reporting a design you would have chosen instead of the one on disk. Every defense below exists for that.

Inputs

You are invoked with a platform (web, mobile, or desktop). Read only that platform's source map. Reading the wrong map produces confident nonsense.

Source map — web

  1. Token declarations: CSS custom properties (:root { --* }, [data-theme] { --* }) in any .css/.scss file.
  2. Config-declared themes: tailwind.config.{js,ts,cjs,mjs} → theme / theme.extend keys. Read the file; do not assume the Tailwind defaults.
  3. CSS-in-JS: styled-components / emotion styled.* template literals, createGlobalStyle, theme objects passed to ThemeProvider.
  4. Component files: .html, .tsx, .jsx, .vue, .svelte — for which tokens are actually used, and how often.

Source map — mobile

  1. Theme modules: src/theme/, theme/, constants/theme.*, or an exported colors / spacing / typography object.
  2. StyleSheet.create objects across src/screens/ and src/components/ — these are the real values when the project never centralized.
  3. Expo/app config: app.json, app.config.{js,ts} → expo.backgroundColor, expo.splash, expo.userInterfaceStyle.
  4. React Native has no cascade. Do not infer inheritance. A value applies exactly where it is written.

Source map — desktop

  1. Theme modules: src/theme/, and renderer CSS custom properties (same shape as web item 1, in the renderer process only).
  2. Renderer stylesheets and components: .css and .tsx under the renderer root.
  3. Native chrome is out of scope. Title-bar style, tray, and menu structure carry no design token — do not report them as design facts, and do not invent tokens to describe them.

Read the full file on GitHub · 118 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 · 118 lines · 53 tokens per session scan A b5a73722fc95

Subscribe to this mod's changes

design-scanner is an agent published in the GitHub repository pillip/claude-dev-kit (11 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session and 1,906 once invoked, about $0.0002 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

aria

Aria - Accessibility Reviewer for WCAG, keyboard nav, and semantics.

sam-agents/sam · 14 tokens

UX Designer

UI/UX design specialist with Figma and browser testing expertise.

frankxai/agentic-creator-os · 15 tokens

worker-visual-producer

Visual Producer worker: turns a creative brief into reviewable image, video, or infographic candidates within a credit budget. Use when a page, post, product, or campaign needs original visuals: checks the brief, picks the model by task, drafts, looks at every output, refines the best, and stages candidates with…

frankxai/agentic-creator-os · 79 tokens

visual-brand-guidelines

Brand-gate for every FrankX visual asset. Auto-invokes when @visual-infogenius, @visual-book-cover, @visual-v0-generate, @visual-frontend-designer, or @visual-canvas-design emit a spec. Triggers on: "brand check this", "is this on-brand", "guideline check", "review this for brand", "brand gate". Runs 4 checks (color…

frankxai/agentic-creator-os · 134 tokens

accessibility-auditor

Accessibility expert - WCAG 2.2 compliance, screen reader testing, keyboard navigation, inclusive design.

frankxai/agentic-creator-os · 26 tokens

pre-commit-tester

Use this agent to validate UI/UX changes before committing. Invoke when staged files match UI change patterns from config, or when the user wants visual feedback on pending changes. Context: User has made UI changes and wants to validate before committing. user: "Test the changes before I commit" assistant: "I'll use…

skullninja/coco-workflow · 159 tokens