Home / Web development / stitch-extract-static-html
stitch-extract-static-html
Extract self-contained static HTML from a built web application or React components by inlining CSS and images.
Normal demand
What the author says it does
Extract self-contained static HTML from a built web application or React components by inlining CSS and images. Use this skill whenever you need to capture a specific UI state, share a static version of a page, or prepare assets for Stitch upload, even if the user just asks to 'save the HTML' or 'mock the view'.
Install stitch-extract-static-html
# Mac or Linux
unzip stitch-extract-static-html.zip -d ~/.claude/skills
# Windows PowerShell
Expand-Archive stitch-extract-static-html.zip "$env:USERPROFILE\.claude\skills"
Start a new Claude Code session and the skill is ready. In the Claude app, upload the zip under Settings, Capabilities, Skills.
Scripts and network
The zip holds 10 scripts, such as scripts/extract_inline_html.ts, scripts/frame_policy.ts, scripts/html_serialize.ts. Its scripts connect to the internet when you run them.
What is in the zip
- LICENSE
- SKILL.md
- scripts/
- tests/