stitch-enhance-prompt

stitch-enhance-prompt is a skill for Codex from PracticalSwan/agent-skills. It costs 27 tokens per session (1,236 once invoked), scanned A, original, MIT.

A guide for improving rough Google Stitch requests by adding clear information about the platform, page layout, components, visual style, and design rules.

In plain words
What is it for?
Use it to turn an initial UI idea or edit request into a structured Stitch prompt.
Why use it?
It removes ambiguity from short prompts so the requested interface is easier to interpret and reproduce consistently.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to turn an initial UI idea or edit request into a structured Stitch prompt.

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

Made for: 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 stitch-enhance-prompt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/stitch-enhance-prompt"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/stitch-enhance-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 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.00027 $0.01236
Opus 5.5 $0.00011 $0.00494
Sonnet 5.5 $0.00005 $0.00247
Haiku 4.5 $0.00003 $0.00124

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

Security

Grade A, and why

stitch-enhance-prompt 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.

stitch-enhance-prompt/SKILL.md · 89 lines

How it starts

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

Stitch Enhance Prompt

This skill is a catalog-normalized import from https://github.com/google-labs-code/stitch-skills at commit 7b53207b94e62911777d53d4238b5f8c88c2b519, source path plugins/stitch-utilities/skills/enhance-prompt. The upstream control file was corrected for this workspace: the verified Stitch MCP surface here is design-system oriented, so screen lookup, screen generation, and screen editing tools must be used only when the current host explicitly exposes them.

When to Use This Skill

  • Use when a rough Stitch prompt needs better structure or an edit prompt needs precision.
  • The task involves Google Stitch project IDs, .stitch/ artifacts, DESIGN.md files, Stitch exports, or Stitch-specific validation.
  • The broader stitch-design router points here as the narrowest workflow.

Workflow

  1. Identify platform, page type, intent, sections, visual style, components, and constraints already present.
  2. Read .stitch/DESIGN.md when present and include only relevant rules.
  3. Replace vague terms with concrete UI patterns, component names, and layout structure.
  4. For generation prompts, describe layout, content, and behavior without duplicating project-level theme tokens.
  5. For edit prompts, name the exact screen region and focused change.
  6. Return the enhanced prompt plus assumptions that affect the design.

Local Assets

  • examples/, resources/, references/, or reference/ are upstream support material when present. Treat SKILL.md as the source of truth if a support file mentions an unavailable MCP tool.
  • scripts/ are optional helpers. On Windows, prefer PowerShell or Node equivalents unless Git Bash or WSL is actually available.
  • Keep generated .stitch/ files out of commits unless the user explicitly wants them as durable examples.

Corrected Stitch MCP Surface

Verified in this workspace on 2026-06-15: create_project, upload_design_md, create_design_system_from_design_md, list_design_systems, and apply_design_system. This 2026-07-29 source refresh did not re-verify a broader live MCP surface. Do not claim list_projects, list_screens, get_project, get_screen, generate_screen_from_text, edit_screens, or generate_variants were used unless the current host exposes those exact tools in the active tool list.

Read the full file on GitHub · 89 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. 2mo ago Changed 9c1b5b3e5c27
  2. 2mo ago Changed aa21ec287fba
  3. 3mo ago First seen · 89 lines · 27 tokens per session scan A 19813c27594d

Subscribe to this mod's changes

stitch-enhance-prompt is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 18d ago), licensed MIT. It adds 27 tokens to every session and 1,236 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-09-03.

Related

stitch-enhance-prompt compared with skills from other repositories

stitch-enhance-prompt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stitch-enhance-promptPracticalSwan/agent-skillsSkill2518d agoMITA27Codex
ui-designmrpulor-gh/nuphusSkill10612d agoApache-2.0A0Claude Code, Codex
Prototipagem com Google StitchMatheus-Gama-deluna/MaestroSkill08mo agononeA7Claude Code, Codex
popular-web-designsNousResearch/hermes-agentSkill268ktodayMITA23Claude Code, Codex
anti-ui-slopsickn33/agentic-awesome-skillsSkill51ktodayMITA39Claude Code
tamagui-v6-configtamagui/tamaguiSkill14k3d agoMITA76Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14k3d agoMITA48Claude Code, Codex