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 PracticalSwan/agent-skills --skill stitch-code-to-designgit clone --depth 1 https://github.com/PracticalSwan/agent-skillsWrote 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/practicalswan/agent-skills/stitch-code-to-design)<a href="https://agentmods.dev/skills/practicalswan/agent-skills/stitch-code-to-design"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/stitch-code-to-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.
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/stitch-code-to-design"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/stitch-code-to-design.svg" alt="Reviewed on agentmods" width="80" 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.00034 | $0.01485 |
| Opus 5.5 | $0.00014 | $0.00594 |
| Sonnet 5.5 | $0.00007 | $0.00297 |
| Haiku 4.5 | $0.00003 | $0.00148 |
Grade A, and why
stitch-code-to-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 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code to Design
Transform your existing frontend code (React + Vite, Next.js, Angular, Vue, etc.) into a Stitch Design so you can iterate and improve it using Stitch.
This skill orchestrates three other skills in sequence:
extract-static-html: Extract a single self-contained HTML file from your build output or running dev server (e.g., Vite dev server or Angular CLIng serve).extract-design-md: Analyze the source code (including Angularangular.json, external.htmltemplates, theme files, and components) to create a design system (DESIGN.md).upload-to-stitch: Upload that HTML file and the design system to your Stitch project.
Workflow
Follow these steps to convert your existing code.
Prerequisites
- A running local dev server (e.g.
npm run dev,ng serve) OR a built web application directory containingindex.htmland assets. - Target Stitch
projectId(uselist_projectsif unknown).
Steps
1. Extract Self-Contained HTML
Delegate to the extract-static-html skill to generate a standalone HTML file.
Read stitch-extract-static-html/SKILL.md for detailed instructions and script usage.
Expected output: A single file like /path/to/extracted/standalone.html.
2. Verify HTML (Optional — User-Driven)
After extraction, inform the user of the output file path so they can manually verify in a browser if desired. Do not block on verification — proceed directly to Step 3.
If the user reports issues after reviewing, fix them before continuing.
3. Extract Design System (File)
Delegate to the extract-design-md skill to analyze the project's source files
(components, stylesheets, theme configs) and produce a design system. Read
stitch-extract-design-md/SKILL.md for the
full analysis workflow.
Write .stitch/DESIGN.md following the extract-design-md skill's output
structure.
4. Upload DESIGN.md and Create Design System in Stitch
What ships with it
2 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.
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.
- 2mo ago Changed 916d5ae1e735
- 3mo ago Changed b83f32ef7060
- 3mo ago First seen · 126 lines · 34 tokens per session scan A 3908bceaecc0
stitch-code-to-design is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 19d ago), licensed MIT. It adds 34 tokens to every session and 1,485 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.
stitch-code-to-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stitch-code-to-designPracticalSwan/agent-skills | Skill | 25 | 19d ago | MIT | A | 34 | Codex |
| popular-web-designsNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 23 | Claude Code, Codex |
| figmaheygen-com/hyperframes | Skill | 96k | today | Apache-2.0 | A | 72 | Claude Code |
| data-viz-rendererzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 62 | Claude Code, Codex |
| architecture-diagrammateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 15 | Claude Code, Codex |
| reimagine-itKayforkind/reimagine-it | Skill | 218 | 6d ago | MIT | A | 230 | Claude Code |
| architecture-diagramAgentEra/Agently | Skill | 1.7k | 22d ago | Apache-2.0 | A | 47 | Claude Code, Codex |