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.
npx skills add ngocsangyem/MeowKit --skill stitchgit clone --depth 1 https://github.com/ngocsangyem/MeowKitWrote 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.
[](https://agentmods.dev/skills/ngocsangyem/meowkit/stitch)<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/stitch"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/stitch.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.01549 |
| Opus 5 | $0.00026 | $0.00775 |
| Sonnet 5 | $0.00011 | $0.00310 |
| Haiku 4.5 | $0.00005 | $0.00155 |
Grade A, and why
mk:stitch 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stitch — AI Design Generation
Generate high-fidelity UI designs from text prompts. Export Tailwind/HTML, PNG screenshot,
and DESIGN.md for handoff to mk:frontend-design.
Use only for a novel, text-prompt design. Existing design sources belong to mk:figma or
mk:frontend-design.
Setup and guard
Set STITCH_API_KEY in the project env file, then install the scripts once:
cd .claude/skills/stitch/scripts && npm install
Run the prerequisite check before any API command; it fails before a network request if the key
or tsx is unavailable. Full setup, optional variables, and MCP setup: references/stitch-setup.md.
Fail-Closed Gate
Before any script runs, verify both prerequisites:
# Key gate
[ -z "$STITCH_API_KEY" ] && { echo "[X] STITCH_API_KEY not set — add it to the project env file"; exit 1; }
# tsx gate
npx tsx --version 2>/dev/null || { echo "[X] tsx not found — run: cd .claude/skills/stitch/scripts && npm install"; exit 1; }
stitch-api-call.ts also checks STITCH_API_KEY as its first action before any Stitch SDK
call. If the key is unset the script exits 1 immediately — no network request is made.
Quick Start
# 1. Check quota
npx tsx .claude/skills/stitch/scripts/stitch-quota.ts check
# 2. Generate (API call only — returns JSON with screenId + imageUrl)
npx tsx .claude/skills/stitch/scripts/stitch-api-call.ts \
generate "A checkout page with cart summary and payment form"
# 3. Export + write files (pipe: API call → schema-validate → write to disk)
npx tsx .claude/skills/stitch/scripts/stitch-api-call.ts export <screen-id> | \
npx tsx .claude/skills/stitch/scripts/stitch-write-output.ts
Commands
| Task | Command / contract |
|---|---|
| Check quota | npx tsx .claude/skills/stitch/scripts/stitch-quota.ts check |
| Generate | npx tsx .claude/skills/stitch/scripts/stitch-api-call.ts generate "<prompt>" — returns screenId, projectId, imageUrl, and quota data |
| Export | npx tsx .claude/skills/stitch/scripts/stitch-api-call.ts export <screen-id> | npx tsx .claude/skills/stitch/scripts/stitch-write-output.ts |
What ships with it
10 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.
- references/design-to-code-pipeline.md 4.2 KB
- references/quota-management.md 2.3 KB
- references/stitch-mcp-setup.md 2.3 KB
- references/stitch-operations.md 1.1 KB
- references/stitch-sdk-api.md 4.0 KB
- references/stitch-setup.md 514 B
- scripts/package.json 403 B
- scripts/stitch-api-call.ts 12 KB runs code
- scripts/stitch-quota.ts 4.6 KB runs code
- scripts/stitch-write-output.ts 11 KB runs code
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.
- 4d ago First seen · 146 lines · 53 tokens per session scan A a0de4333efda
mk:stitch is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,549 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-09-03.
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…
figma-design-handoff
Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…
stitch-design-system
Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic design system document. Run this before framework conversion skills.
stitch-a11y
Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus management, and screen reader support.
stitch-animate
Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects prefers-reduced-motion.
web-prototype
General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed assets/template.html and pasting section layouts from references/layouts.md. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.