design-setup

design-setup is a skill for Claude Code from skillmds/skillmd. It costs 82 tokens per session (3,492 once invoked), scanned A, original, MIT.

An automated codebase scan that finds existing design choices such as colors, fonts, spacing, brand patterns and the software stack. It records those findings in a Design Context section of CLAUDE.md, a project guidance file.

In plain words
What is it for?
Use it when starting or updating design context, design tokens or brand guidance for a web or mobile project.
Why use it?
It gives coding agents a shared description of the product’s visual rules without requiring the developer to answer setup questions.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Part of the design-system-audit-and-remediation plugin — 14 skills shipped together

Good fit Use it when starting or updating design context, design tokens or brand guidance for a web or mobile project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skillmds/skillmd/design-setup
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 skillmds/skillmd --skill design-setup
Clone the repo
git clone --depth 1 https://github.com/skillmds/skillmd

Made for: Claude Code.

Or install design-system-audit-and-remediation, the plugin that ships this one along with the rest of its 14 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skillmds/skillmd/design-setup"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/design-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,492 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.00082 $0.03492
Opus 5.5 $0.00033 $0.01397
Sonnet 5 $0.00016 $0.00698
Haiku 4.5 $0.00008 $0.00349

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

Security

Grade A, and why

design-setup 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 4d 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.

plugins/design-system-audit-and-remediation/skills/design-setup/SKILL.md · 343 lines

How it starts

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

You are an autonomous design context discovery agent. You scan the entire codebase to extract every design decision already made — colors, typography, spacing, brand patterns, component conventions, tech stack — and write a comprehensive Design Context section to CLAUDE.md.

Do NOT ask the user any questions. Infer everything from the codebase. If something is ambiguous, make a reasonable decision and document the assumption.

INPUT

$ARGUMENTS (optional). If provided, focus on specific aspects (e.g., "colors only", "mobile theme", "refresh existing"). If not provided, perform full discovery.


PHASE 1: TECH STACK DISCOVERY

1.1 Identify Platform and Framework

Scan for these files to determine the tech stack:

Web:

  • package.json — React, Vue, Svelte, Angular, Astro, Next.js, Nuxt, SvelteKit
  • tailwind.config.* — Tailwind CSS version and configuration
  • postcss.config.* — PostCSS plugins in use
  • vite.config.*, webpack.config.*, next.config.* — build tooling
  • tsconfig.json — TypeScript usage

Mobile:

  • pubspec.yaml — Flutter (check for flutter: section, material, cupertino imports)
  • Package.swift, *.xcodeproj — SwiftUI / UIKit
  • build.gradle.kts, build.gradle — Jetpack Compose / Android
  • app.json, metro.config.js — React Native

Cross-platform:

  • .expo/ — Expo
  • capacitor.config.* — Capacitor
  • electron-builder.* — Electron

Record: primary language, framework, CSS methodology, build tool, component model.

1.2 Identify Design Dependencies

Scan dependency files for design-related packages:

  • CSS frameworks: Tailwind, Bootstrap, Chakra, Mantine, Radix, shadcn/ui, Open Props
  • Icon sets: Lucide, Heroicons, Phosphor, Material Icons, FontAwesome
  • Animation: Framer Motion, GSAP, Motion One, Lottie
  • Font loading: @fontsource, Google Fonts links, local font files
  • Flutter packages: google_fonts, flutter_animate, animations, flex_color_scheme

1.3 Detect CSS Methodology

  • Check for CSS Modules (*.module.css), CSS-in-JS (styled-components, emotion), utility-first (Tailwind classes in templates), vanilla CSS, Sass/SCSS
  • Check for modern CSS usage: oklch(), color-mix(), light-dark(), container queries, @layer, @scope, custom properties with fallbacks
  • Check for design token files: tokens.css, variables.css, theme.ts, design-tokens.*

Read the full file on GitHub · 343 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. 4d ago First seen · 343 lines · 82 tokens per session scan A fa995b86d5da

Subscribe to this mod's changes

design-setup is a skill published in the GitHub repository skillmds/skillmd (1 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 3,492 once invoked, about $0.0003 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-19.

Related

Other skills, from other repositories

design

Use when designing or refreshing a web UI or landing page — visual concept, type/color/spacing/motion tokens, composition, rescuing a UI that reads AI-generic, or a graded design review. Brand-grounded and research-first; ships Tailwind v4 + Next.js 15 under WCAG 2.2 AA and Core Web Vitals budgets. NOT the words on…

ericrisco/rsc-harness · 100 tokens

beautiful-cli-design

Expert in making CLI tools visually stunning and delightful — not just functional. Covers ANSI color systems (16/256/truecolor with graceful degradation), Unicode box drawing, progress indicators, tables, animated output, ASCII art, rich text, interactive prompts, and full TUI frameworks (Ink, Bubble Tea, Ratatui…

curiositech/windags-skills · 173 tokens

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/lazycodex · 49 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

antv-x6-editor

A skill for creating and troubleshooting interactive diagrams with AntV X6, a JavaScript engine for editors made of connected nodes and lines. It supports diagram types such as flowcharts, dependency graphs, entity-relationship diagrams, and organization charts.

antvis/chart-visualization-skills · 253 tokens

antv-infographic

Create beautiful infographics based on given text content. Use when users request to create infographics.

antvis/chart-visualization-skills · 24 tokens