stitch-design-md

stitch-design-md is a skill for Claude Code from gabelul/stitch-kit. It costs 53 tokens per session (2,285 once invoked), scanned A, original, Apache-2.0.

A design-analysis skill for Google Stitch, a tool that generates interface screens. It studies a Stitch project and writes a plain-language DESIGN.md file describing its visual style, colors, fonts, and reusable prompt guidance.

In plain words
What is it for?
Documenting a Stitch project's design before generating more screens or building a multi-page interface.
Why use it?
It gives several generated screens a shared visual direction instead of leaving each page with unrelated styling.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Documenting a Stitch project's design before generating more screens or building a multi-page interface.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabelul/stitch-kit/stitch-design-md.svg)](https://agentmods.dev/skills/gabelul/stitch-kit/stitch-design-md)
Your own site
<a href="https://agentmods.dev/skills/gabelul/stitch-kit/stitch-design-md"><img src="https://agentmods.dev/badge/skills/gabelul/stitch-kit/stitch-design-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,285 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.00053 $0.02285
Opus 5 $0.00026 $0.01143
Sonnet 5 $0.00011 $0.00457
Haiku 4.5 $0.00005 $0.00229

Measured 7d ago against content hash 2a764975dd42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

stitch-design-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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch-stitch.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-md/SKILL.md · 230 lines

How it starts

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

Stitch → DESIGN.md

Constraint: Only use this skill when the user explicitly mentions "Stitch" or when preparing design system documentation for Stitch generation.

You are an expert Design Systems Lead. Your job is to analyze Stitch project assets and synthesize a Semantic Design System into a file named DESIGN.md — written in natural language, not CSS.

When to use this vs. stitch-design-system

Skill What it produces Use it for
stitch-design-md Natural-language DESIGN.md Feeding back into Stitch prompts; multi-page visual consistency; design docs
stitch-design-system design-tokens.css, tailwind-theme.css, DESIGN.md Code-level theming for Next.js, Svelte, React, HTML output

Use stitch-design-md first if you're building more Stitch screens. Use stitch-design-system when you're converting to code.

Prerequisites

  • Stitch MCP Server configured
  • A Stitch project with at least one designed screen

Step 1: Retrieve the design

If the user provides a Stitch URL

If the user pastes a Stitch design URL like https://stitch.withgoogle.com/projects/3492931393329678076?node-id=375b1aadc9cb45209bee8ad4f69af450:

  1. Parse the URL:
    • projectId = segment after /projects/ and before ? (e.g. 3492931393329678076)
    • screenId = query param node-id (e.g. 375b1aadc9cb45209bee8ad4f69af450)
  2. Call [prefix]:get_screen with those IDs
  3. Skip ahead to Step 2

If project/screen IDs are unknown

  1. Run list_tools → find the Stitch MCP prefix
  2. Call [prefix]:list_projects with filter: "view=owned" → select project by title → extract numeric ID
  3. Call [prefix]:list_screens with projects/[projectId] → pick the representative screen
  4. Call [prefix]:get_screen with numeric projectId and screenId
  5. Call [prefix]:get_project with projects/[projectId] → get full designTheme including:
    • Core: colorMode, customColor, colorVariant, roundness, spacingScale
    • Fonts: headlineFont, bodyFont, labelFont
    • Colors: namedColors (40+ semantic tokens), override colors
    • Documentation: designMd (auto-generated design system — if present, use as foundation for DESIGN.md)
    • Backgrounds: backgroundLight, backgroundDark

Read the full file on GitHub · 230 lines

Files

What ships with it

3 files 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. 7d ago First seen · 230 lines · 53 tokens per session scan A 2a764975dd42

Subscribe to this mod's changes

stitch-design-md is a skill published in the GitHub repository gabelul/stitch-kit (43 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,285 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

design-to-code

Mockup-to-component pipeline using Google Stitch, 21st.dev, and Storybook MCP. Accepts a screenshot, a description, or a URL and produces production-ready React components, checking existing Storybook components before generating anything new. Use when implementing UI from a mockup or screenshot. To call the MCP tool…

yonatangross/orchestkit · 86 tokens

kit-montar

Monta um site novo combinando peças já validadas do acervo pessoal do usuário — templates, design systems, componentes, animações, menus, prompts e receitas — em vez de gerar tudo do zero. Acervo vazio: constrói do zero e oferece guardar. Recebe o briefing, decide cor e tipografia antes da identidade, pergunta que…

harebeats/cannonball · 245 tokens

kit-buscar

Consulta o acervo pessoal de sites do usuário — o que ele já guardou: templates rodáveis, design systems com paleta e tipografia, componentes de UI e de IA, animações de scroll, texto e menu, efeitos WebGL, prompts de página inteira e receitas de composição que já deram certo. Responde "o que eu já tenho pronto pra…

harebeats/cannonball · 228 tokens

kit-cor

Define a paleta do site como decisão, não como consequência de ter escolhido um design system. Faz as perguntas que determinam cor (o que a marca promete, o que o setor já usa, para onde o olho tem que ir, o que ela NÃO pode parecer), monta a paleta por papel — fundo, tinta, superfície, acento — mede o contraste de…

harebeats/cannonball · 193 tokens

kit-tipo

Define a tipografia do site como decisão — e, principalmente, resolve se dá para ENTREGAR. Confere licença (site de marca paga por tipo, e acervo montado a partir de site de marca vem cheio de fonte comercial que não se pode servir), propõe substituto livre com critério de desenho, monta o par display + corpo, gera a…

harebeats/cannonball · 199 tokens

stitch-react-native

Convert Stitch HTML designs into React Native screens, or sync existing native components to updated Stitch designs, using native primitives, StyleSheet rules, and mobile platform checks.

PracticalSwan/agent-skills · 37 tokens