stitch::react-native

stitch::react-native is a skill for Claude Code from google-labs-code/stitch-skills. It costs 35 tokens per session (2,991 once invoked), scanned A, original, Apache-2.0.

A conversion workflow that turns Stitch web designs, which are HTML-based screen mockups, into React Native mobile components using StyleSheet. It can also update existing native components to match newer designs.

In plain words
What is it for?
Use it to build or synchronize React Native screens from Stitch designs.
Why use it?
It helps developers carry a web design into a native mobile app without manually translating every layout and style.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build or synchronize React Native screens from Stitch designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google-labs-code/stitch-skills/react-native
About the project

Stitch Design Skills is a collection of Agent Skills and plugins for Google Stitch, a design tool accessed through the Stitch MCP server. It is for coding agents such as Codex, Antigravity, Gemini CLI, Claude Code, Cursor, and OpenCode, with catalogue entries covering Stitch design, build, and utility workflows.

google-labs-code/stitch-skills · 15,731 stars · on GitHub · stitch.withgoogle.com

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 google-labs-code/stitch-skills --skill react-native
Clone the repo
git clone --depth 1 https://github.com/google-labs-code/stitch-skills

Made for: Claude Code.

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::react-native

README.md
[![agentmods](https://agentmods.dev/badge/skills/google-labs-code/stitch-skills/react-native/github.svg)](https://agentmods.dev/skills/google-labs-code/stitch-skills/react-native)
Your own site
<a href="https://agentmods.dev/skills/google-labs-code/stitch-skills/react-native"><img src="https://agentmods.dev/badge/skills/google-labs-code/stitch-skills/react-native/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::react-native

Your own site · 80×15
<a href="https://agentmods.dev/skills/google-labs-code/stitch-skills/react-native"><img src="https://agentmods.dev/badge/skills/google-labs-code/stitch-skills/react-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,991 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 161
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 161
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00035 $0.02991
Opus 5.5 $0.00014 $0.01196
Sonnet 5.5 $0.00007 $0.00598
Haiku 4.5 $0.00003 $0.00299

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

Security

Grade A, and why

stitch::react-native 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 3mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/fetch-stitch.sh, scripts/validate.js, test/call-arguments.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.

plugins/stitch-build/skills/react-native/SKILL.md · 173 lines

How it starts

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

Stitch to React Native Components

You are a mobile engineer focused on transforming Stitch web designs into clean, production-ready React Native code or syncing/updating existing native components to align with the latest Stitch designs. You translate HTML/CSS layouts into native mobile components using React Native primitives and StyleSheet.

CRITICAL: Every step in this skill is MANDATORY. Do NOT skip any step or take shortcuts. Each section contains a GATE that must be satisfied before proceeding.

Phase 1: Retrieval and networking

GATE: Phase 1 is complete ONLY when all screens have been downloaded via scripts/fetch-stitch.sh AND visually audited. Reading local files directly without going through this phase is PROHIBITED.

  1. Namespace discovery: Run list_tools to find the Stitch MCP prefix. Use this prefix (e.g., stitch:) for all subsequent calls.
  2. Metadata fetch: Call [prefix]:get_screen for EVERY screen in the project to retrieve the design JSON with download URLs. Do NOT skip any screen.
  3. Check for existing designs: Before downloading, check if .stitch/designs/{page}.html and .stitch/designs/{page}.png already exist:
    • If files exist: Ask the user whether to refresh the designs from the Stitch project using the MCP, or reuse the existing local files. You MUST ask — do not assume. Only re-download if the user confirms.
    • If files do not exist: Proceed to step 4.
  4. High-reliability download: Internal AI fetch tools can fail on Google Cloud Storage domains. You MUST use the provided script.
    • HTML: bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" ".stitch/designs/{page}.html"
    • Screenshot: Append =w{width} to the screenshot URL first, where {width} is the width value from the screen metadata (Google CDN serves low-res thumbnails by default). Then run: bash scripts/fetch-stitch.sh "[screenshot.downloadUrl]=w{width}" ".stitch/designs/{page}.png"
    • This script handles the necessary redirects and security handshakes.
  5. Visual audit: Review the downloaded screenshot (.stitch/designs/{page}.png) to confirm design intent and layout details. You MUST view each screenshot — do not proceed based on assumptions about the design.
  6. Project metadata tracking: Retrieve project configuration using [prefix]:get_project and save it to .stitch/metadata.json (inside the app folder, and mirrored in the workspace root). Ensure it has:
    • projectId, title, deviceType
    • A Last Sync Time field matching the current sync ISO execution time
    • A screens map detailing each screen's ID, label, sourceScreen reference, dimensions, and canvasPosition.

Read the full file on GitHub · 173 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. 3mo ago First seen · 173 lines · 35 tokens per session scan A fb83197d8341

Subscribe to this mod's changes

stitch::react-native is a skill published in the GitHub repository google-labs-code/stitch-skills (15,731 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 2,991 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-08-30.

Related

stitch::react-native compared with skills from other repositories

stitch::react-native next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stitch::react-nativegoogle-labs-code/stitch-skillsSkill16kyesterdayApache-2.0A35Claude Code
agent-spec-mobile-react-nativeruvnet/rufloSkill83kyesterdayMITA22Claude Code
react-native-devMiniMax-AI/skillsSkill14k23d agoMITA102Claude Code
expo-native-uiexpo/skillsSkill4.3kyesterdayMITA63Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1kyesterdayMITA171Claude Code, Codex
expo-brownfieldexpo/skillsSkill4.3kyesterdayMITA70Claude Code, Codex
vercel-react-native-skillsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A57Claude Code