Skip to content
Back to skills

039 Mshtools Screenshot Web Full Page 74b74a15

ASecurity

Full-page screenshot using segmented stitching. Handles virtual scrolling pages by detecting fixed navigation, capturing viewport-sized segments, and stitching into single image.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 31, 2026
developmentjavascriptgojava

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 039-mshtools-screenshot_web_full_page_74b74a15 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 039 Mshtools Screenshot Web Full Page 74b74a15?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 039 Mshtools Screenshot Web Full Page 74b74a15
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-039-mshtools-screenshot-web-full-page-74b74a15/badge)](https://www.skillsdirectory.com/skills/tools-only-039-mshtools-screenshot-web-full-page-74b74a15)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Tool Specification: mshtools-screenshot_web_full_page

## Overview
Full-page screenshot using segmented stitching. Handles virtual scrolling pages by detecting fixed navigation, capturing viewport-sized segments, and stitching into single image.

## JSON Schema
```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to capture"
    }
  }
}
```

## Streaming Mechanism
- **Algorithm**:
  1. Detect fixed/sticky headers (hide during capture)
  2. Determine full page height
  3. Scroll to top
  4. Capture viewport, scroll down, repeat
  5. Stitch segments vertically
  6. Restore fixed elements
- **Output**: Single PNG of full scrollable content

## Integration Architecture

### Multi-Shot Technique
```javascript
// Pseudocode
const height = document.body.scrollHeight;
const viewport = window.innerHeight;
const shots = [];
for (let y = 0; y < height; y += viewport) {
  window.scrollTo(0, y);
  shots.push(await captureScreenshot());
}
return stitchVertically(shots);
```

## Usage Patterns

### Document Full Page
```
screenshot_web_full_page(url="https://long-article.example.com")
# Returns stitched image of entire article
```

### Compare Before/After
```
screenshot_web_full_page(url="https://site.com/before")
# ... make changes ...
screenshot_web_full_page(url="https://site.com/after")
```

## Limitations
- **Memory**: Large pages may fail due to memory constraints
- **Fixed Elements**: May appear multiple times if not properly hidden
- **Lazy Loading**: May trigger new content during scroll sequence

Files in this skill

  • README.md976 B
  • skill.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.