Skip to content
Back to skills

1197 Mshtools Browser Screenshot F42e5e0e

ASecurity

Page capture tool for visual inspection and documentation. Returns screenshot as embedded image or saves to filesystem.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 1, 2026
documentationjavascriptjavadocumentation

Works with

  • cli

Security analysis

A100/100

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

Scanned June 1, 2026

npx -y skills add tools-only/X-Skills --skill 1197-mshtools-browser_screenshot_f42e5e0e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1197 Mshtools Browser Screenshot F42e5e0e?

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

Security grade badge for 1197 Mshtools Browser Screenshot F42e5e0e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1197-mshtools-browser-screenshot-f42e5e0e/badge)](https://www.skillsdirectory.com/skills/tools-only-1197-mshtools-browser-screenshot-f42e5e0e)

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-browser_screenshot

## Overview
Page capture tool for visual inspection and documentation. Returns screenshot as embedded image or saves to filesystem.

## JSON Schema
```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to capture (optional, uses current page if omitted)"
    },
    "citation_id": {
      "type": "integer",
      "description": "Citation ID of tab to capture (optional)"
    },
    "download_screenshot_path": {
      "type": "string",
      "description": "Absolute path to save screenshot (optional, empty string = don't save)"
    }
  }
}
```

## Streaming Mechanism
- **Capture Method**: CDP Page.captureScreenshot
- **Format**: PNG (default)
- **Viewport**: Current browser viewport only (not full page)
- **Return**: Image data embedded in response or saved to path

## Integration Architecture

### CDP Page Domain
```javascript
Page.captureScreenshot({
  format: 'png',
  fromSurface: true
})
```

## Usage Patterns

### Capture Current Page
```
browser_visit(url="https://example.com")
browser_screenshot()  # Returns inline image
```

### Save to File
```
browser_screenshot(
  citation_id=1,
  download_screenshot_path="/mnt/kimi/output/screenshot.png"
)
```

### Visual Verification
```
browser_click(citation_id=1, element_index=3)
browser_screenshot(citation_id=1)  # Verify result
```

## Limitations
- **Viewport Only**: Captures visible area, not full scrollable page
- **Dynamic Content**: May catch loading states

## Related Tools
- `screenshot_web_full_page`: Capture full scrollable page

Files in this skill

  • README.md929 B
  • skill.md1.6 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…