Skills for Real Engineers. Straight from my .agents directory.
stitch::extract-static-html
Agent skill fromgoogle-labs-code/stitch-skills
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'.
How to install stitch::extract-static-html
npx skills add google-labs-code/stitch-skills# or add only this skill to Claude Code: copy the folder
plugins/stitch-design/skills/extract-static-html/
# into
~/.claude/skills/extract-static-html/ (all projects)
.claude/skills/extract-static-html/ (one project)
1# Extract Static HTML23Extract a self-contained static HTML file from any web application.45## Which Strategy to Use67You 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.89| | Strategy A (Puppeteer) | Strategy B (Browser Subagent) |10| :--- | :--- | :--- |11| **When** | App runs locally, no auth wall | Need to interact with page first (click, fill forms) |12| **Fidelity** | **Highest — computed styles resolved** | High — rendered DOM |13| **Setup** | **Zero — no mock needed** | Zero — no mock needed |14| **Framework** | **Any** | Any |15| **Output** | **Writes to file — no size limit** | May truncate in agent context |1617> [!WARNING]18> **Checkpoint — User Confirmation Required.**19> You **MUST** ask the user which strategy they prefer before proceeding.20> Present the comparison table above, recommend Strategy A as the default, and21> wait for explicit approval. Do **NOT** make the decision yourself or proceed22> until the user confirms.2324***2526## Strategy A: Puppeteer Snapshot (Recommended)2728Launches headless Chrome, captures the fully rendered DOM, and produces a self-contained HTML file with all CSS inlined and images as base64. Works with **any framework** — no MockPage.jsx needed.2930### Prerequisites3132- App running locally (e.g., `npm run dev`)33…
Excerpt shown under the repository's Apache-2.0 license.
More skills in stitch-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
