stitch-design-system

stitch-design-system is a skill for Claude Code from gabelul/stitch-kit. It costs 47 tokens per session (5,120 once invoked), scanned A, original, Apache-2.0.

A tool that turns a Stitch design into reusable design-system files, including CSS variables, dark-mode values, Tailwind CSS settings, and documentation.

In plain words
What is it for?
It is for extracting design tokens and generating files to use before building Stitch designs with frameworks such as Next.js or Svelte.
Why use it?
It provides a consistent visual foundation before converting the design into application components.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" "temp/source.html".

Part of the stitch-kit plugin — 36 skills, 1 agent, 2 hooks shipped together

Good fit It is for extracting design tokens and generating files to use before building Stitch designs with frameworks such as Next.js or Svelte.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gabelul/stitch-kit
agentmods
npx agentmods add skills/gabelul/stitch-kit/stitch-design-system

Made for: Claude Code.

Or install stitch-kit, the plugin that ships this one along with the rest of its 36 skills, 1 agent, 2 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 stitch-design-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabelul/stitch-kit/stitch-design-system"><img src="https://agentmods.dev/badge/skills/gabelul/stitch-kit/stitch-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,120 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00047 $0.05120
Opus 5.5 $0.00019 $0.02048
Sonnet 5.5 $0.00009 $0.01024
Haiku 4.5 $0.00005 $0.00512

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

Security

Grade A, and why

stitch-design-system 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/stitch-design-system/SKILL.md · 412 lines

How it starts

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

Stitch → Design System Code Artifacts

You are a design systems engineer. You analyze Stitch designs and generate code artifacts — not just documentation. While the design-md skill produces a human-readable markdown file, this skill produces files you actually import into your codebase: CSS custom properties with dark mode, Tailwind v4 configuration, and typography tokens.

Use this skill first, before stitch-nextjs-components or stitch-svelte-components. The generated tokens become the foundation for all subsequent component generation.

When to use this skill

Use this skill when:

  • Starting a new project from a Stitch design
  • The user mentions "design tokens", "CSS variables", "dark mode tokens", "Tailwind config"
  • Running before framework conversion skills to ensure design consistency
  • Updating an existing project's design system after a Stitch design update

What this skill generates

Three output files:

File Purpose
design-tokens.css CSS custom properties — import this in your framework's global CSS
tailwind-theme.css Tailwind v4 @theme block — paste into your globals.css
DESIGN.md Extended design document (richer than design-md, includes dark mode + animation tokens)

Step 1: Retrieve the Stitch design

  1. Namespace discovery — Run list_tools to find the Stitch MCP prefix.
  2. Fetch screen — Call [prefix]:get_screen with projectId and screenId.
  3. Download HTML — Run:
    bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" "temp/source.html"
    
  4. Visual reference — Check screenshot.downloadUrl to see the full design intent.

If multiple screens exist, retrieve all of them. Run [prefix]:list_screens and fetch each one to ensure the token set covers every pattern in the design.

Step 1.5: Read project DesignTheme (ground truth)

Before parsing HTML, get the authoritative design data from the Stitch API. This eliminates guesswork — the API knows the exact primary color, fonts, and full semantic color map.

Read the full file on GitHub · 412 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 First seen · 412 lines · 47 tokens per session scan A 30e8ce3dcb3a

Subscribe to this mod's changes

stitch-design-system is a skill published in the GitHub repository gabelul/stitch-kit (48 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 5,120 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

stitch-design-system compared with skills from other repositories

stitch-design-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stitch-design-systemgabelul/stitch-kitSkill483mo agoApache-2.0A47Claude Code
mk:stitchngocsangyem/MeowKitSkill155d agoMITA53Claude Code
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA0Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
kiranism-shadcn-dashboardKiranism/next-shadcn-dashboard-starterSkill7.2k3d agoMITA142Claude Code, Codex
top-designwondelai/skillsSkill2.6k4d agoMITA113Claude Code, Codex
scroll-craftnateherkai/scroll-craftSkill4.6k1mo agoMITA177Claude Code