ai-design-dot-md

ai-design-dot-md is a skill for Claude Code from robcsaszar/scaffold. It costs 145 tokens per session (1,621 once invoked), scanned A, original, MIT.

A skill for creating or extracting a DESIGN.md file: a project document containing shared colors, fonts, spacing, shapes, components, and written design guidance.

In plain words
What is it for?
Use it to document an existing interface's design system or create one from brand instructions, then keep that context available for future UI work.
Why use it?
It gives an agent a durable description of a project's visual rules, including details that may be scattered across source files or only known from a design brief.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the robcsaszar-scaffold plugin — 3 skills shipped together

Good fit Use it to document an existing interface's design system or create one from brand instructions, then keep that context available for future UI work.

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

Made for: Claude Code.

Or install robcsaszar-scaffold, the plugin that ships this one along with the rest of its 3 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 ai-design-dot-md

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/robcsaszar/scaffold/ai-design-dot-md"><img src="https://agentmods.dev/badge/skills/robcsaszar/scaffold/ai-design-dot-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,621 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.00145 $0.01621
Opus 5.5 $0.00058 $0.00648
Sonnet 5.5 $0.00029 $0.00324
Haiku 4.5 $0.00015 $0.00162

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

Security

Grade A, and why

ai-design-dot-md 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 2mo 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.

skills/ai-design-dot-md/SKILL.md · 127 lines

How it starts

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

Create / Extract DESIGN.md

DESIGN.md = YAML design tokens (machine-readable) + 8 ordered markdown sections (human-readable rationale). Two modes: extract from existing source code, create from design intent.

MANDATORY READ before any token work (Phase 3+): references/design-md-spec.md — Do NOT load during Phases 1 and 2.


Phase 1 — Detect Mode

Extract — frontend source exists. Signals: package.json, tailwind.config.js, CSS/SCSS files, component directories with repeated styles.

Create — no extractable source. User provides brand brief, palette, adjectives, or aesthetic description.

Ambiguous → ask: "Extract design tokens from existing source code, or create from a design brief?"

If an existing DESIGN.md is present → ask: "Update existing file or replace it?"

Exit criterion: mode is unambiguous and any existing file decision is made.


Phase 2 — Gather Inputs

Extract mode

Scan in order:

  1. package.json → detect framework (Svelte, React, Vue, Angular, Tailwind)
  2. Framework config (tailwind.config.js, svelte.config.js, theme files)
  3. Global CSS/SCSS → custom properties, font-face declarations, spacing scales
  4. Component files → repeated class patterns, inline styles, token usage frequency

Consolidate near-duplicate colors (within ~10% perceptual distance). Use semantic keys in YAML (primary, secondary, accent) for cross-referencing. Use descriptive names ("Warm Amber") only in prose sections and as YAML value comments — never as token keys.

If no extractable tokens are found (minified CSS, no custom properties, framework-agnostic markup) → switch to Create mode and inform the user: "No design tokens found in source — I'll create DESIGN.md from a design brief instead."

Create mode

Elicit: brand name, 2–3 personality adjectives, primary color or hex, secondary/accent colors, preferred typeface (or "system" if unspecified), corner style (sharp / soft / pill), density (compact / comfortable / spacious).

Read the full file on GitHub · 127 lines

Files

What ships with it

1 file 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. 2mo ago Changed · +1 lines 345eb5bef576
  2. 3mo ago First seen · 126 lines · 145 tokens per session scan A 1121ca6f792c

Subscribe to this mod's changes

ai-design-dot-md is a skill published in the GitHub repository robcsaszar/scaffold (2 stars, last pushed 2mo ago), licensed MIT. It adds 145 tokens to every session and 1,621 once invoked, about $0.0006 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-31.

Related

ai-design-dot-md compared with skills from other repositories

ai-design-dot-md next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-design-dot-mdrobcsaszar/scaffoldSkill22mo agoMITA145Claude Code
Folio Boardsevergreen-it-dev/folioSkill101yesterdayMITA41Claude Code, Codex
sddbrycewang-stanford/Auto-Empirical-Research-SkillsSkill5.4ktodaynoneA75Claude Code, Codex
architecture-diagramd-o-hub/github-template-ai-agentsSkill2yesterdayMITA113Claude Code, Codex
sddmeleantonio/awesome-econ-ai-stuffSkill68717d agononeA75Claude Code, Codex
apple-interface-writingNeeeophytee/agent-stylebooksSkill853mo agoMITA66Claude Code, Codex
writing-plansmateaix/mateclawSkill1.2ktodayApache-2.0A16Claude Code, Codex