Stitchflow
StitchFlow turns prompts into UI directions, Tailwind-friendly HTML, and screenshots across Codex, Claude Code, OpenClaw, GitHub Copilot, and Gemini CLI.
Install / Use
/learn @yshishenya/StitchflowQuality Score
Category
Development & EngineeringSupported Platforms
README
StitchFlow
Turn plain-language product briefs into UI directions, Tailwind-friendly HTML, and screenshots in minutes.
Prompt -> UI direction -> local HTML + screenshots.
StitchFlow packages Google Stitch into a portable local workflow for:
- Codex
- Claude Code
- OpenClaw
- GitHub Copilot
- Gemini CLI
- other clients that understand
SKILL.mdorAGENTS.md
Why people star and keep it:
- generate usable UI directions from plain-language briefs
- save local HTML and screenshots your team can review immediately
- reuse one workflow across multiple coding-agent clients

Main demo: a live-style workflow built from real Stitch project artifacts (screen.html, screen.png, result.json) pulled from the Stitch API.

Example generated output.
What you need before install
- Node.js
>=22 - a
STITCH_API_KEY - one supported client: Codex, Claude Code, OpenClaw, GitHub Copilot, or Gemini CLI
First result in ~2 minutes
- clone the repo and run the installer
- add
STITCH_API_KEYto your local.env - restart your agent client
- run one of the example prompts below
- open the generated HTML and screenshot artifacts from the local
runs/folder
Try these prompts first
Use $stitchflow to generate a premium desktop analytics dashboard for a product team, with a left sidebar, KPI cards, trend charts, and clean Tailwind-ready HTML.
Use $stitchflow to explore three mobile-first checkout directions for a modern ecommerce app, with sticky CTA, compact order summary, and polished spacing.
Use $stitchflow to create a SaaS landing page for an enterprise design tool, with strong typography, product shots, pricing cards, and a credible B2B feel.
Compatibility note:
- brand name:
StitchFlow - current skill slug:
stitchflow - legacy alias still supported:
stitch-design-local - GitHub Copilot plugin slug:
stitchflow - Gemini CLI extension id:
stitchflow
60-second setup
git clone https://github.com/yshishenya/stitchflow.git
cd stitchflow
bash install.sh --target all
Then add STITCH_API_KEY to:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/.env
Then restart your client and run one of the prompts from this README.
Expected first output:
- a generated UI direction
- local HTML you can inspect or share
- a screenshot image saved in the corresponding
runs/folder
Who this is for
- product and design engineers who want faster UI exploration before frontend work
- agent builders who want one reusable design workflow across multiple clients
- teams that need local artifacts instead of another hosted black box
What you get
- one canonical skill:
stitchflow - one shared local toolkit:
stitch-starter - local HTML, screenshots, and run artifacts
- variants and edits from natural-language prompts
- installable packaging across multiple agent clients
Why this exists
The Stitch SDK is powerful, but most teams still need a repeatable workflow around it.
This repo removes the friction between:
- a rough product brief
- a useful UI direction
- local artifacts the team can review immediately
StitchFlow packages Stitch as a reusable agent skill, installs a local toolkit, and saves HTML, screenshots, and run metadata on your machine instead of behind another hosted workflow.
Who this is for
- product engineers who want to explore UI before writing frontend code
- design engineers who want faster prompt-to-HTML loops
- founders who need strong first-pass screens from natural-language briefs
- AI-agent builders who want a ready-to-run Stitch workflow across multiple clients
What you get
- one canonical skill:
stitchflow - one shared local toolkit:
stitch-starter - one installer for Codex, Claude Code, OpenClaw, and GitHub Copilot
- local HTML, screenshots, and run artifacts
- one canonical setup under
~/.agentswith compatibility links for native clients
Canonical install paths:
- skill:
${AGENT_SKILLS_HOME:-$HOME/.agents}/skills/stitchflow - toolkit:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}
Optional compatibility links:
${CODEX_HOME:-$HOME/.codex}/skills/stitchflow${CLAUDE_HOME:-$HOME/.claude}/skills/stitchflow${OPENCLAW_HOME:-$HOME/.openclaw}/skills/stitchflow${COPILOT_HOME:-$HOME/.copilot}/skills/stitchflow
Legacy alias links remain available after install:
${CODEX_HOME:-$HOME/.codex}/skills/stitch-design-local${CLAUDE_HOME:-$HOME/.claude}/skills/stitch-design-local${OPENCLAW_HOME:-$HOME/.openclaw}/skills/stitch-design-local${COPILOT_HOME:-$HOME/.copilot}/skills/stitch-design-local
Native extension / plugin entrypoints:
- GitHub Copilot:
.github/plugin/plugin.json - Gemini CLI:
gemini-extension.json
Why not just use the raw SDK?
The raw Stitch SDK is flexible.
This repo is for when you want:
- a ready-to-run local workflow instead of wiring the SDK yourself
- portable skill packaging across multiple agent clients
- HTML, screenshots, and run artifacts saved locally by default
How to use it
In Codex:
Use $stitchflow to generate a premium desktop dashboard for an internal analytics product.
In Claude Code:
/stitchflow landing page for a design tool aimed at enterprise product teams
In OpenClaw:
Use the stitchflow skill to explore three mobile-first UI directions for a checkout experience.
In GitHub Copilot CLI:
copilot plugin install yshishenya/stitchflow
In Gemini CLI:
gemini extensions install https://github.com/yshishenya/stitchflow
Direct CLI usage:
cd "${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}"
npm run list
npm run generate -- --prompt "A modern SaaS dashboard with sidebar and stat cards"
npm run edit -- --prompt "Make it more premium and add stronger typography"
npm run variants -- --prompt "Explore three different visual directions" --variant-count 3
Results you can get fast
- explore 3 landing page directions before writing code
- turn a PM brief into HTML and screenshots for review
- iterate on a dashboard without opening Figma
- generate local artifacts a team can review without adopting a new hosted service
Ready-to-use prompt ideas:
If you want to record a demo or launch video:
- docs/demo-script.md
- docs/launch-kit.md
- docs/catalog-submissions.md
- docs/launch-system.md
- docs/community-posts.md
What gets saved
Outputs go to:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs/<timestamp>-<operation>-<slug>/
Typical files:
result.jsonorvariants.jsonscreen.htmlscreen.png,screen.jpeg, orscreen.webphtml-url.txtimage-url.txt
Latest single-screen pointer:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs/latest-screen.json
Discovery and trust
- built on Google's Stitch SDK
- exports clean HTML and screenshots programmatically
- works across Codex, Claude Code, OpenClaw, GitHub Copilot, and Gemini CLI
- includes AGENTS.md, SKILL.md, and agent-specific manifests
- licensed under Apache-2.0
Distribution channels
- official OpenClaw registry path via ClawHub
- official GitHub Copilot plugin install from the repository
- official Gemini CLI extension install from the repository
- community catalog checklist in docs/catalog-submissions.md
Contributing
- contribution guide: CONTRIBUTING.md
- toolkit details: stitch-starter/README.md
Install it, generate one screen, and ship the best direction into code.
</details> <details> <summary><strong>Русский</strong></summary>Зачем это нужно
Stitch SDK мощный, но большинству команд нужен не просто SDK, а готовый workflow вокруг него.
Этот репозиторий убирает трение между:
- сырым продуктовым брифом
- первым сильным UI-направлением
- локальными артефактами, которые можно сразу показать команде
StitchFlow упаковывает Stitch в reusable skill для агента, ставит локальный toolkit и сохраняет HTML, скриншоты и run metadata на вашей машине.
Для кого это
- product engineers, которые хотят исследовать UI до написания фронтенда
- design engineers, которым нужен быстрый prompt-to-HTML цикл
- founders, которым нужны сильные первые экраны из текстового брифа
- builders агентных workflow, которым нужен готовый Stitch setup для нескольких клиентов
Что вы получаете
- один канонический skill:
stitchflow - один локальный toolkit:
stitch-starter - один installer для Codex, Claude
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
AGENTS
346.4kExtensions Boundary This directory contains bundled plugins. Treat it as the same boundary that third-party plugins see. Public Contracts - Docs: - `docs/plugins/building-plugins.md` - `do
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
