New to Claude Skills? Learn how to install them →

mengto on GitHub

Stitched Full-Page Capture

Free

Capture reliable full-page screenshots for complex web pages.

by mengto4.6k stars on mengto/skills
3 views
Updated Aug 9, 2026
Get this skill

Free · Opens the source repo

What Stitched Full-Page Capture does

Stitched Full-Page Capture is a specialized tool designed for capturing full-page screenshots of web pages that utilize lazy loading, scroll animations, or complex rendering techniques. Traditional fullPage screenshots can often result in incomplete captures, especially on modern web applications built with frameworks like Framer or those that heavily rely on WebGL and canvas elements. This skill addresses those shortcomings by ensuring that the screenshots you obtain are accurate and comprehensive, reflecting the actual content of the page as it appears during normal interaction.

The core workflow of this skill involves several steps that ensure the web page is fully rendered before capturing. It begins by opening the page URL and scrolling through it to load all lazy content. After this initial warm-up, the skill scrolls down in defined viewport-sized increments, capturing settled viewport images at each step. These images are then stitched together to form a complete full-page screenshot. This method not only guarantees that all visible content is captured but also allows for the extraction of specific sections from the stitched image, ensuring that the final output is both reliable and visually accurate.

This skill is particularly useful for designers, developers, and content creators who need to document web pages for UI inspiration, testing, or reporting purposes. By providing a more accurate representation of a page's content, it helps avoid the pitfalls of relying on native fullPage screenshots, which may not reflect the true state of the page. Additionally, the validation steps included ensure that the captured images meet quality standards, making it a robust solution for anyone needing reliable visual documentation of web content.

While this skill excels in capturing complex web pages, it may not be necessary for simpler sites where standard screenshot methods suffice. Users should consider the complexity of the pages they are working with to determine if this tool is the right fit for their needs.

When to use it

Use this skill when working with web pages that employ lazy loading, scroll animations, or require precise visual documentation.

When not to use it

Avoid using this skill for simple web pages where standard screenshot methods are sufficient.

What you can build with it

Documenting UI Designs

Use this skill to capture full-page screenshots of web applications for design documentation or inspiration.

Quality Assurance Testing

Employ this tool during QA testing to ensure that all visual elements of a web page are accurately captured.

Content Creation for Articles

Utilize stitched screenshots in articles or reports where precise visual evidence of web content is required.

How to install Stitched Full-Page Capture

View source

1. Install with the skills CLI

npx skills add mengto/skills/stitched-full-page-capture --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mengto

Stitched Full-Page Capture

Overview

Use settled viewport screenshots instead of trusting one-shot browser fullPage captures. This is especially important for Framer pages and other lazy/scroll-animated sites where the MP4 can look correct while the tall screenshot is mostly blank.

Core Workflow

  1. Open the real page URL, not a marketplace thumbnail, cover image, remix page, or asset URL.
  2. Warm the page by scrolling from top to bottom once so lazy media and reveal sections mount.
  3. Return to the top.
  4. Scroll downward in viewport-sized or slightly-overlapping steps.
  5. Wait about 2 seconds after each scroll stop.
  6. Capture the settled viewport.
  7. Stitch the viewport captures vertically into one full-page image.
  8. Cut section crops from that stitched image, not from the native browser fullPage screenshot.
  9. Validate the stitched image against the representative still, MP4, and motion frames.

Reject a full-page candidate when it has blank/gray/white bands, very low visual content, missing lazy-loaded sections, an extremely narrow content column, or obvious disagreement with the scroll video.

Script

For daily UI inspiration articles, use the helper script from this skill directory when available:

node <skills-root>/stitched-full-page-capture/scripts/stitch_full_page_capture.mjs \
  --manifest articles/YYYY-MM-DD-ui-inspiration-capture/manifest.json

The script:

  • reads items[].pageUrl, fullPageImage, and sectionImages;
  • opens each live page in Playwright Chromium;
  • warms lazy content by scrolling once;
  • captures settled viewport slices;
  • stitches slices into fullPageImage;
  • regenerates each existing section crop from the stitched image;
  • updates manifest.json with fullPageCaptureMethod: "stitchedViewportScreenshots", viewport, step, segment count, and corrected crop coordinates.

Useful options:

--item 4              # repair only item 4, 1-based
--viewport 1440x1100 # default
--step 950           # default; use less than viewport height for overlap
--wait 2000          # ms to wait after each scroll stop
--quality 3          # ffmpeg JPEG quality, lower is better

Validation

After capture or repair:

  • Inspect at least the page that was visibly wrong before.
  • Confirm sips -g pixelWidth -g pixelHeight full-page/*.jpg reports expected wide/tall dimensions.
  • Confirm the full-page image is not mostly blank and includes lower-page content.
  • Confirm section crop coordinates are contiguous and end at the full-page image height.
  • Run the project’s normal checks, for example:
git diff --check -- articles/YYYY-MM-DD-ui-inspiration-capture/content.md articles/YYYY-MM-DD-ui-inspiration-capture/manifest.json
node scripts/check-ui-inspiration-duplicates.mjs articles/YYYY-MM-DD-ui-inspiration-capture/manifest.json
for f in articles/YYYY-MM-DD-ui-inspiration-capture/videos/*.mp4; do ffprobe -v error "$f" >/dev/null; done

Notes

  • The scroll video is evidence that the page can render during real scrolling, but it is not a substitute for full-page still evidence.
  • Native fullPage screenshots can still be saved as comparison candidates, but do not use them as source of truth unless they visually match the stitched capture.
  • For daily UI articles, update the manifest and commit only the repaired article assets and metadata.

Frequently asked questions about Stitched Full-Page Capture

Similar skills