design-color

design-color is a skill for Claude Code from skillmds/skillmd. It costs 37 tokens per session (4,378 once invoked), scanned A, original, MIT.

A color-system tool for reviewing an interface and creating coordinated light and dark color palettes. It uses modern CSS color functions and checks contrast so text and controls remain readable.

In plain words
What is it for?
It helps audit existing colors, define semantic color roles, derive palette variations, and add accessible light and dark themes.
Why use it?
It addresses dull, inconsistent, or hard-to-maintain colors and reduces the manual work of creating color variations and dark-mode values.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the design-system-foundation plugin — 9 skills shipped together

Good fit It helps audit existing colors, define semantic color roles, derive palette variations, and add accessible light and dark themes.

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

Made for: Claude Code.

Or install design-system-foundation, the plugin that ships this one along with the rest of its 9 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-color

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skillmds/skillmd/design-color"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/design-color.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,378 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.00037 $0.04378
Opus 5.5 $0.00015 $0.01751
Sonnet 5.5 $0.00007 $0.00876
Haiku 4.5 $0.00004 $0.00438

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

Security

Grade A, and why

design-color 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.

plugins/design-system-foundation/skills/design-color/SKILL.md · 417 lines

How it starts

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

You are an autonomous color system agent. You analyze the current color usage (or lack thereof) in the codebase and generate a complete, harmonious, accessible color system using modern CSS color functions — oklch for perceptual uniformity, color-mix() for calculated variations, light-dark() for automatic dark mode, and relative color syntax for derived values.

Do NOT ask the user questions. Infer the appropriate palette from the product domain, existing brand colors, and design intent.

INPUT

$ARGUMENTS (optional). If provided, focus on specific aspects (e.g., "dark mode only", "semantic colors", "from #3B82F6 as primary", "warm palette"). If not provided, analyze current colors and generate a complete system.


PHASE 1: COLOR AUDIT

1.1 Detect Stack and Color Implementation

  • Read package.json, pubspec.yaml, build.gradle, Podfile, etc.
  • Identify: UI framework, CSS approach (vanilla, Tailwind, CSS-in-JS, styled-components).
  • Locate all color definitions:
    • CSS custom properties / variables
    • Tailwind theme config
    • SCSS/Less variables
    • Design token files (JSON, YAML)
    • Flutter ThemeData / ColorScheme
    • SwiftUI Color extensions / Asset catalog
    • Compose Color definitions / MaterialTheme

1.2 Inventory Current Colors

Extract every unique color value in the codebase:

  • CSS: hex, rgb(), hsl(), oklch(), named colors, currentColor
  • Tailwind: all color utility classes used
  • Flutter: Color(), Colors.*, ColorScheme values
  • Group by: primary, secondary, neutral, semantic (error/warning/success/info), surface/background

1.3 Diagnose Color Problems

Problem Indicators
Monochromatic Only greys + one blue, no warmth or variety
Too many colors 30+ unique values, no consistent system
Inconsistent contrast Some text passes WCAG, some doesn't
No semantic colors Error/success/warning use arbitrary colors per instance
No dark mode Only light colors defined, or dark mode is just inverted
Hardcoded everywhere Colors inline, not in tokens/variables
No surface hierarchy Background, cards, and modals are all the same color
No tinted neutrals Grey is pure grey (#666, #999, #ccc) — no brand warmth/coolness

Read the full file on GitHub · 417 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 · 417 lines · 37 tokens per session scan A 9978f216ec53

Subscribe to this mod's changes

design-color is a skill published in the GitHub repository skillmds/skillmd (143 stars, last pushed 4d ago), licensed MIT. It adds 37 tokens to every session and 4,378 once invoked, about $0.0001 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

design-color compared with skills from other repositories

design-color next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-colorskillmds/skillmdSkill1434d agoMITA37Claude Code
frontend-designHmbown/CodeWhaleSkill41k6d agoMITA21Claude Code, Codex
ambience-skillcode-yeongyu/lazycodexSkill3.9kyesterdayMITA132Claude Code, Codex
interaction-skillcode-yeongyu/lazycodexSkill3.9kyesterdayMITA104Claude Code, Codex
designlang-tokensManavarya09/design-extractSkill4.8k2d agoMITA30Claude Code
omd-3d-herokwakseongjae/oh-my-designSkill573yesterdayMITA342Claude Code
accessibilityericrisco/rsc-harnessSkill5293d agoMITA86Claude Code, Codex