Design & Frontend static-htmlhtml-snapshotcss-inliningimage-embeddingpuppeteerstitch-mcp

Stitch Static HTML Extractor

Turn a rendered web page into a self-contained HTML snapshot for sharing or Stitch upload.

FollowSkills review · FSRS-2.0
Not recommended
49/ 100 5-point scale 2.5 / 5
Trust14 / 25 · 2.8/5

The documentation requires confirmation before strategy selection and before browser capture, and discloses image inlining; the scripts include protocol checks, private IPv4 blocking, redirect limits, timeouts, and file-size limits. Points are deducted because allowed-tools includes Bash, Write, and web_fetch, outbound resources are still fetched, sensitive-data handling, credential isolation, complete DNS/IPv6 SSRF protection, and rollback are not specified, and post_process rewrites files in place.

Reliability8 / 20 · 2.0/5

The scripts include argument validation, timeouts, concurrency limits, fallbacks, warnings, and partial machine-readable statistics, so the main paths are statically coherent. Points are deducted because no tests or execution evidence are provided, dependencies are installed through npx or the environment without pinned versions, framework/authentication/iframe/CSS/JSX edge coverage is incomplete, and some failures continue with placeholder images or warnings that can yield incomplete output.

Adaptability9 / 15 · 3.0/5

The target scenarios, two capture strategies, fallback method, parameters, and several limitations are documented. Points are deducted because trigger conditions remain broad, non-fit boundaries for private pages, complex interaction, cross-origin assets, and dynamic behavior are not precise, Chinese-language interaction is not documented, and Stitch MCP, remote assets, and Puppeteer network reachability from mainland China are not addressed.

Convention8 / 15 · 2.7/5

SKILL.md is layered into strategies, prerequisites, workflows, flags, framework notes, and troubleshooting; repository materials provide Apache-2.0 licensing, installation guidance, and examples. Points are deducted because the skill does not identify maintainers, versioning policy, changelog, upgrade path, or a standalone dependency manifest, and the documented Strategy B may not fully match the script capabilities.

Effectiveness6 / 15 · 2.0/5

The skill clearly targets self-contained HTML with inlined CSS and images and offers Puppeteer, browser interaction, and MockPage fallback workflows; the intended artifact is potentially directly usable for sharing or Stitch upload. Points are deducted because no third-party execution evidence or representative output is included, dynamic state, fonts, cross-origin assets, authentication, and complex JSX may require manual repair, and static materials do not sufficiently prove complete snapshot fidelity.

Verifiability4 / 10 · 2.0/5

The source code, parameters, validation logic, and security handling are auditable, with comments explaining some design choices. Points are deducted because the supplied material shows no key-path test suite, CI results, pinned-dependency verification, or independent reproduction report; evidence is confined to one repository and cannot meet the stronger executable-reproduction standard.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision ad4b8bc8c519
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Confirm that captured pages do not contain personal, session, or confidential data; the scripts may request and inline remote images.
  • post_process overwrites HTML files in place by default; create a backup first.
  • No execution evidence is supplied; validate separately with the target framework, authentication state, cross-origin assets, and mainland-China network conditions.
Review evidence [1][2][3][4][5][6]
See the full review method →

What does this skill do, and when should you use it?

This skill supports Google Stitch MCP workflows by extracting self-contained static HTML from built web applications or React components. It inlines CSS and converts images to Base64 data URIs. Its preferred method uses Puppeteer to capture a rendered page, while a browser-subagent method handles pages that require interaction first. It is a good fit for developers who need to preserve a UI state, share a static page, or prepare HTML for Stitch.

It accesses a locally running web application, uses Puppeteer to capture the rendered DOM, inlines linked stylesheets and relative CSS URLs, converts img, srcset, and source srcset images to Base64 data URIs, removes scripts and development overlays, and writes a static HTML file. For interactive pages, a browser subagent can click, fill forms, navigate, and extract document.documentElement.outerHTML. If the application cannot run, the documented fallback uses a flattened MockPage.jsx with extract_inline_html.ts and post_process.ts.

  1. A frontend developer needs a complete snapshot of a route on a local development server.
  2. A designer or product team wants to share a specific UI state as a static file.
  3. A Stitch user needs to prepare a web page as uploadable HTML.
  4. A page requires button clicks, form entry, or tab navigation before capture.
  5. An application has an authentication wall or broken runtime and needs a manually flattened fallback page.

What are this skill's strengths and limitations?

Pros
  • Produces self-contained HTML with inlined CSS and images for sharing or upload.
  • The Puppeteer method resolves computed styles and is documented as the highest-fidelity option.
  • Includes notes for React, Vue, Svelte, Next.js, Storybook, and SSR applications.
  • Supports multiple routes, dark mode, full-page height, and removal of fixed elements.
Limitations
  • The documented workflow requires user confirmation when choosing a capture strategy and after starting the local server.
  • The main workflow depends on a locally running app, Node.js, Puppeteer, and tsx.
  • Browser-subagent extraction may truncate large pages in the agent context.
  • The source provides no test suite, version compatibility matrix, or empirical platform test results.

How do you install this skill?

The skill is located at plugins/stitch-design/skills/extract-static-html/ in the repository. To install skills selectively from the repository, run: npx skills add google-labs-code/stitch-skills. The README also documents registering the Stitch Skills marketplace and installing the stitch-design plugin. Before use, configure and run the Stitch MCP server in the agent environment; the source does not document a separate one-skill installation command.

How do you use this skill?

Start the application locally and verify that Node.js can load puppeteer. Use a prompt such as “Extract a static HTML snapshot of http://localhost:3000/profile.” Choose between the documented Puppeteer and browser-subagent strategies: Puppeteer is intended for locally running pages without an auth wall, while the browser subagent is intended for pages requiring interaction. A Puppeteer example is: npx tsx <SKILL_DIR>/scripts/snapshot.ts --url http://localhost:5173 --output .stitch/home.html --wait 2000. If the application cannot run, use the documented extract_inline_html.ts and post_process.ts fallback workflow.

How does this skill compare with similar options?

The documentation presents Puppeteer snapshotting and browser-subagent capture as the two main alternatives. Puppeteer is for locally running pages without interaction, offers higher computed-style fidelity, and writes directly to a file; the browser subagent is for pages requiring clicks or form entry but may truncate large output. MockPage.jsx is described as a last-resort fallback when the application cannot run.

FAQ

Is it free, and are there additional service costs?
The source identifies the repository as Apache-2.0 licensed but does not state whether Stitch MCP or related services incur fees.
What permissions and environment are required?
The skill declares Stitch tools, Bash, Read, Write, and web_fetch. The README also requires a configured and running Stitch MCP server, environment variables, and credentials.
Which pages are the best fit?
Use Puppeteer for locally running pages without an auth wall. Use the browser subagent when the target state requires clicks, form entry, or navigation.
What if images or dark mode are missing?
The documentation recommends increasing the wait time, checking that srcset was inlined, and using --html-class dark when needed. Auth-gated pages should use the static fallback.

More skills from this repository

All from google-labs-code/stitch-skills

Design & Frontend

Stitch React Component Builder

Turn Stitch screens into modular, maintainable, and validated React components.

Design & Frontend

Stitch Frontend Design Extractor

Turn frontend source code into a Stitch-ready DESIGN.md.

Design & Frontend

Stitch Prompt Refiner

Turns vague UI ideas into structured prompts optimized for better Stitch generation.

Design & Frontend

Stitch Design System Synthesizer

Analyze Stitch projects and turn existing UI patterns into a reusable DESIGN.md.

Design & Frontend

Stitch Screen Generator

Generate, edit, and explore Stitch screens from text or images.

Dev & Engineering

Stitch Remotion Walkthrough Builder

Turn Stitch app screens into polished walkthrough videos with transitions, zoom effects, and contextual overlays.

Design & Frontend

Stitch Build Loop

Continuously generate, integrate, and advance website pages with Stitch iterations.

Dev & Engineering

Stitch React Dashboard Builder

Turn Stitch screens into production-ready React and Vite dashboards for dense data workflows.

Dev & Engineering

Stitch React Native Builder

Turn Stitch HTML designs into maintainable React Native components and sync existing native screens with design updates.

Design & Frontend

Stitch Code-to-Design

Turn an existing frontend codebase into a Stitch-ready design and design system.

Design & Frontend

Stitch Asset Uploader

Reliably upload local images, HTML, and design documents to Google Stitch projects.

Design & Frontend

Stitch Design System Manager

Create, update, and apply consistent project-level design systems in Stitch.

Design & Frontend

shadcn/ui Component Integration Guide

Guides developers through discovering, installing, customizing, and validating shadcn/ui components.

Design & Frontend

Stitch Design Taste

Generates rigorous, non-generic DESIGN.md systems for premium Google Stitch screen generation.

Related skills