common-stitch-design

common-stitch-design is a skill for Claude Code, Codex from HoangNguyen0403/agent-skills-standard. It costs 50 tokens per session (854 once invoked), scanned A, original, MIT.

A guide for using Google Stitch, a design tool accessed through MCP, to inspect screens and design-system files and create safer revisions. It explains how to review screenshots and HTML and how to make variants without overwriting originals.

In plain words
What is it for?
Use it to review, edit, or generate Stitch screens, inspect mobile and tablet layouts, and create or apply a design system.
Why use it?
It prevents accidental loss of existing designs and makes visual decisions checkable through screenshots and audits. It also identifies when approval is needed before changing shared designs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review, edit, or generate Stitch screens, inspect mobile and tablet layouts, and create or apply a design system.

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

Made for: Claude Code, Codex.

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 common-stitch-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/common-stitch-design"><img src="https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/common-stitch-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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.00050 $0.00854
Opus 5.5 $0.00020 $0.00342
Sonnet 5.5 $0.00010 $0.00171
Haiku 4.5 $0.00005 $0.00085

Measured today against content hash 157e933bf2b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

common-stitch-design 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/audit_html.js, scripts/audit_html.test.js), 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.

.agents/skills/common/common-stitch-design/SKILL.md · 60 lines

How it starts

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

Stitch Design

Priority: P1 (HIGH)

Preflight

  • Stitch tools (list_projects, list_screens, get_screen) must be in the tool list. Missing → BLOCKED (stitch-mcp).
  • Endpoint https://stitch.googleapis.com/mcp, header X-Goog-Api-Key. Config added mid-session loads only after restart. Setup: Stitch MCP.

Read

  • list_screens, then group by title: many versions share one title. Confirm the current one with the author; default most recent.
  • Before opening an image, fetch it to disk without attaching it to the model; verify decoded width and height and create a proportional preview with a longest edge <=1600 px. This is a conservative workflow budget, not a guaranteed model limit. =w390/=w1280 is optional optimization, not a size guarantee. Preserve originals; use the bounded review procedure in Stitch MCP.
  • Read SVG source as text first. Bound raster output and both browser screenshot dimensions before image ingestion; never request fullPage. Account for physical pixels (CSS pixels × devicePixelRatio); review tall pages with an overview and separate viewport captures.
  • A rejected image in a generation/edit response does not prove the backend write failed. Recover IDs, metadata, and completed screens before any retry. If documented tool behavior can embed an oversized image and no host-supported resize/text-only route exists, stop before the write call.
  • If a retained conversation image blocks work, query advertised commands and follow OMP image recovery; preserve source screenshots before /shake images.
  • Run node scripts/audit_html.js <dir>. Audit output is evidence; screenshots confirm visual judgement.

Write Safely

  • Never overwrite originals. Fix through generate_variants (creativeRange: REFINE, variantCount: 1) or a new design system.
  • Explicit approval before delete_project, update_design_system on an existing asset, or apply_design_system to original screens.
  • New design system: create_design_system with theme.designMd, then update_design_system on that new asset.
  • apply_design_system takes screen instance ids from get_project, not screen ids.
  • Generation takes minutes. On timeout do not retry; poll get_screen every 30 s, max 10.
  • Variant output includes illustration image screens with null deviceType: skip them. Check device class on the screenshot; a TABLET request can return DESKTOP.

Read the full file on GitHub · 60 lines

Files

What ships with it

6 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. today Changed · +3 lines 157e933bf2b1
  2. 22d ago First seen · 57 lines · 50 tokens per session scan A f292ee2de1ce

Subscribe to this mod's changes

common-stitch-design is a skill published in the GitHub repository HoangNguyen0403/agent-skills-standard (581 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 854 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-10-01.

Related

Other skills, from other repositories

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

mastra-ai/mastra · 77 tokens

frontend-design

Generates distinctive, production-grade frontend interfaces and artifacts (React, Vue, HTML/CSS). Prioritizes bold aesthetics, unique typography, and motion to avoid generic designs. Use when building websites, landing pages, dashboards, posters, or when the user requests to style, beautify, or create visually…

irahardianto/awesome-agv · 67 tokens

modern-site-engineering

Integrate systems after frontend direction.

TheGoat395/Codex-Skills · 12 tokens

radix-accessible-primitives

Repair Radix parts, portals and focus mechanics.

TheGoat395/Codex-Skills · 17 tokens

ui-beats

Use this skill when users want to add, customize, or troubleshoot UI Beats components in React/Next.js projects. It covers component selection, shadcn registry installation from uibeats.com, the UI Beats MCP server, motion and reduced-motion handling, and integration patterns for animated sections.

nikhils4/ui-beats · 62 tokens