Skip to content
google-labs-code avatar

Stitch::Extract Static Html

Converts a running web app into one self-contained static HTML file using a choice of two extraction strategies.

CCM score
64 of 100
skills.sh installs
12.5K
GitHub stars
14.4K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two extraction paths: Puppeteer for locally running apps with no auth wall, and a browser subagent for pages that need clicks or form fills first
  • Puppeteer keeps the highest fidelity by resolving computed styles, while the browser subagent captures the rendered DOM
  • Writes output straight to a file with no size limit, whereas the browser subagent path may truncate inside an agent context
  • Designed for framework-agnostic capture of pages from React, Next.js, or other stacks without setting up mocks

Install

$ npx -y skills add google-labs-code/stitch-skills --skill 'stitch::extract-static-html' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Extract Static HTML

Extract a self-contained static HTML file from any web application.

Which Strategy to Use

You MUST ask the user to choose which strategy to use before proceeding. Present the options clearly, recommend Strategy A as the preferred default, and provide a brief pros/cons summary for each option to help them make an informed decision.

Strategy A (Puppeteer)Strategy B (Browser Subagent)
WhenApp runs locally, no auth wallNeed to interact with page first (click, fill forms)
FidelityHighest — computed styles resolvedHigh — rendered DOM
SetupZero — no mock neededZero — no mock needed
FrameworkAnyAny
OutputWrites to file — no size limitMay truncate in agent context

[!WARNING] Checkpoint — User Confirmation Required. You MUST ask the user which strategy they prefer before proceeding. Present the comparison table above, recommend Strategy A as the default, and wait for explicit approval. Do NOT make the decision yourself or proceed until the user confirms.


Strategy A: Puppeteer Snapshot (Recommended)

Details

Repository
github.com/google-labs-code/stitch-skills
Categories
Frontend & UI Code, Browser Automation & Scraping
First seen
Nov 30, 2026

More from google-labs-code/stitch-skills

All 12

Similar to Stitch::Extract Static Html

More Frontend & UI Code