smithery.ai

websnap

Take a screenshot of a web page or run JavaScript against it. Use when checking page layout, verifying styling changes, inspecting rendered content, or querying page properties like dimensions.

First seen Apr 23, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,574 B
  • docs SUMMARY.md 208 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Take a screenshot of the specified URL using websnap and display the result.

Steps

  1. Run: websnap $ARGUMENTS
  2. For screenshots: the command outputs the path to the saved PNG (in /tmp/), then use the Read tool to display the image
  3. For -r (run JS): the command outputs the JavaScript result directly (no screenshot)

Options

  • -w, --width <px> — Viewport width (default: 1280)
  • -h, --height <px> — Viewport height (default: 1080)
  • -x, --xoffset <px> — Horizontal scroll offset
  • -y, --yoffset <px> — Vertical scroll offset
  • -f, --full — Capture full page height (ignores -h)
  • -r, --run <js> — Run JavaScript and output result (no screenshot)

Examples

/websnap http://localhost:1313/guide/
/websnap http://localhost:1313/ -w 1920 -h 1080
/websnap http://localhost:1313/guide/ -y 500
/websnap http://localhost:1313/ -f
/websnap http://example.com -r 'document.title'
/websnap http://example.com -r 'document.documentElement.scrollHeight'

If no URL is provided, ask the user what page they want to screenshot.

Notes

Each call to websnap spawns a fresh browser instance. State does not persist between calls (no cookies, localStorage, or session data).