Design Token System Generator

    2

    Convert brand colors into production-ready CSS, Tailwind configs, and W3C design tokens with dark mode support.

    Free

    6 usesSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Design Token System Generator

    Example session with this skill installed

    Generate a token system for brand "Volt" using primary color #6366F1. Include a typography scale and dark mode. Output to /styles/tokens.

    • Read your context and instructions
    • Compiled the design token system
    • Generated the UI component

    Generated 3 files in /styles/tokens/:

    1. tokens.css: 11-stop OKLCH palette, semantic aliases (primary-hover, surface, etc.), and .dark mode scope.
    2. tailwind.config.js: Full theme extension mapping to CSS variables.
    3. tokens.json: W3C-standard JSON for design tool interoperability.
      WCAG AA check: Passed.

    tokens.css

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Manually building a design system foundation is repetitive and error-prone. Developers often struggle to extract consistent tokens from legacy CSS or translate brand colors into accessible, multi-mode palettes.

    What it does

    • Generates 11-stop OKLCH color palettes from as little as one hex code.
    • Creates WCAG AA compliant dark mode scopes automatically.
    • Produces production-ready CSS variables, Tailwind configs (v3/v4), and W3C-standard JSON.
    • Scans existing projects to map hardcoded values to a semantic token system.
    • Calculates typography scales, spacing units, and border-radius systems based on configurable ratios.

    Frameworks & tools

    Tailwind CSS v3 and v4, Style Dictionary, Figma Tokens, and any project using CSS Custom Properties.

    Why this beats prompting it yourself

    Standard prompts often fail at complex color math like OKLCH lightness anchoring or WCAG contrast validation. This skill uses a multi-step normalization process to ensure every generated token is technically valid and accessible, preventing the "hallucinated color" problem common in basic chats.

    Use cases

    • Bootstrapping a new frontend project from a single brand color.
    • Refactoring a legacy CSS codebase into a modern, themeable design system.
    • Generating a dark mode theme for an existing application.
    • Standardizing design handoffs using the W3C DTCG JSON format.

    Known limitations

    Does not support CSS color functions like color-mix or relative references to Tailwind classes as input values.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Requires at least one hex brand color; UI agents (Cursor, Copilot Chat) may need multi-turn writes for 3 output files; palette quality depends on input color (very light/dark primaries shift scale); Tailwind version detection is heuristic; sRGB gamut clipping for out-of-range colors

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    6 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 19 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Write Files

    File Scopes

    tokens/*
    Listed4 months ago
    Updated19 days ago

    What's inside

    Frequently Asked Questions

    The generator uses a multi-step normalization process to calculate 11-stop OKLCH palettes and typography scales, providing precise mathematical accuracy and WCAG contrast validation that standard AI prompts often lack.

    You can input as little as a single hex code or brand color; the skill will also scan existing projects to identify hardcoded values and map them to a structured token system.

    It supports Tailwind CSS (v3 and v4), Style Dictionary, W3C-standard JSON for Figma, and any frontend framework that utilizes standard CSS Custom Properties.

    Yes, the skill automatically generates WCAG AA-compliant dark mode scopes and accessible color palettes, ensuring your theme is inclusive and high-contrast by default.

    You receive the full Design Token System Generator skill, including support for CSS, Tailwind, and W3C JSON exports, which you can use across multiple personal or commercial projects.

    The skill does not currently support CSS color-mix functions or relative Tailwind class references as input values, so it is best to use hex codes or solid color values.

    New in Frontend & Web Apps

    Free