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
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' -yInstalls 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) | |
|---|---|---|
| When | App runs locally, no auth wall | Need to interact with page first (click, fill forms) |
| Fidelity | Highest — computed styles resolved | High — rendered DOM |
| Setup | Zero — no mock needed | Zero — no mock needed |
| Framework | Any | Any |
| Output | Writes to file — no size limit | May 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 12Similar to Stitch::Extract Static Html
More Frontend & UI Codevue-jsx-best-practicesvuejs-ai/skills12.3K installsJSX syntax in Vue (e.g., class vs className, JSX plugin config).
typescript-best-practicescursor/plugins12.3K installsTypeScript best practices.
angular-componentanalogjs/angular-skills11.9K installsCreate modern Angular standalone components following v20+ best practices. Use for building UI components with signal-based inputs/outputs, OnPush change detect
nuxt4-patternsaffaan-m/ecc11.5K installsNuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
angular-migrationwshobson/agents11.5K installsMigrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS application
accessibilityaffaan-m/ecc11.5K installsDesign, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards. Use this skill to generate semantic ARIA for Web and accessibility tr