web-screenshot

web-screenshot is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 118 tokens per session (6,171 once invoked), scanned A, original, MIT.

A guide for capturing screenshots of web pages with a Playwright-backed command-line tool. Playwright is software for controlling web browsers in code.

In plain words
What is it for?
Use it to capture web pages for documentation, visual comparison, or automated batches.
Why use it?
It helps create consistent screenshots of full pages, individual elements, or different screen sizes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the tools-virtuoso plugin — 11 skills shipped together

Good fit Use it to capture web pages for documentation, visual comparison, or automated batches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krzysztofsurdy/code-virtuoso/web-screenshot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add krzysztofsurdy/code-virtuoso --skill web-screenshot
Clone the repo
git clone --depth 1 https://github.com/krzysztofsurdy/code-virtuoso

Made for: Claude Code.

Or install tools-virtuoso, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/web-screenshot/github.svg)](https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/web-screenshot)
Your own site
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/web-screenshot"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/web-screenshot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-screenshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/web-screenshot"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/web-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.06171
Opus 5 $0.00059 $0.03086
Sonnet 5 $0.00024 $0.01234
Haiku 4.5 $0.00012 $0.00617

Measured 7d ago against content hash bd6134326802, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

web-screenshot scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/capture_via_system_browser.sh, scripts/capture_with_stealth.py, scripts/connect_to_running_chrome.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- [ ] **Preflight the URL with a text fetch first** - a quick `WebFetch` or `curl` confirms the URL returns real content (status 200, expected title, body word count). Opening a browser only to land on a 404 or a wrong r
skills/tools/web-screenshot/SKILL.md · 485 lines

How it starts

The opening of the file, as written. The whole thing — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Screenshot

Take reliable screenshots of web pages. This skill teaches a tool-selection cascade - pick the lightest tool that does the job, never install dependencies the environment did not ask for.

Tool Selection Cascade

Two cascades govern the skill: one for picking the capture tool, one for escalating around a bot wall. They are different decisions - do not mix them up.

Cascade A: Picking the capture tool (no bot wall in sight)

Before any capture, check what is already available in the environment and pick the lightest viable tool:

# Tool Detect with Best for Limits
1 Browser MCP (e.g. mcp__*__browser_take_screenshot) Already loaded in this session - check the MCP tool list Single ad-hoc shot, no install, full-page and element shots, navigation flows Runs in docker with datacenter IP - bot walls block this; output path is inside the MCP container
2 shot-scraper (CLI) which shot-scraper Repeated captures, batch YAML, scripted automation, CI jobs Headless by default - some bot walls fire only on headless; requires pip install shot-scraper && shot-scraper install once
3 Playwright (Python or Node) python -c "import playwright" 2>/dev/null Multi-step flows, headed mode with stealth, anti-bot escalation (see Cascade B Tier 1) Library-level; more code per shot
4 Ask user before installing None of the above present Long-term tooling decisions Never install silently

Cascade B: Escalating around a bot wall

When Cascade A's pick gets blocked (status 403/429/503 or a CAPTCHA/block page), do not retry the same tool with new flags - escalate up the tiers in order. Every tier aims at LIVE content. Archived snapshots are not acceptable as a fallback - they give stale content with a third-party chrome on top.

# Tier What it does When to pick it
1 Playwright headed + stealth Local headed Chromium, stealth-patched, user's home IP First escalation; user can install Playwright
2 CDP attach to user's Chrome Use the user's actual running Chrome via --remote-debugging-port User can relaunch Chrome with a debug flag; reuses their real session
3 System-native browser + OS screen capture Open URL in the user's default browser, capture via the OS's built-in screenshot command Last resort - no extra install, but brittle, steals focus, depends on OS permissions

Read the full file on GitHub · 485 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 485 lines · 118 tokens per session scan A bd6134326802

Subscribe to this mod's changes

web-screenshot is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (21 stars, last pushed 3mo ago), licensed MIT. It adds 118 tokens to every session and 6,171 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

browser-harness-authoring

Use when mapping a repeatable website workflow into a verified Hermes skill so later runs can follow known steps instead of rediscovering the site. Surveys browser compatibility, semantic targets, failure modes, recovery paths, decision gates, and expiry using dummy data and no irreversible submissions.

AtlasOmnia/hermes-custom-pack · 60 tokens

reddit-browse-and-post

Let an agent read Reddit by default, and publish only after the user explicitly opts in and approves the exact post. Everything here is account-agnostic: the user supplies credentials through environment variables or a browser login, never through chat.

AtlasOmnia/hermes-custom-pack · 54 tokens

cross-browser-typography-qa

Use this skill when web text looks clipped, flattened, wrapped incorrectly, misaligned, or materially different between Chromium and WebKit/Safari. Treat text rendering as both a geometry problem and a visual paint problem: passing DOM bounds does not prove that every glyph is intact.

AtlasOmnia/hermes-custom-pack · 56 tokens

dogfood

This skill guides you through systematic exploratory QA testing of web applications using the browser toolset. You will navigate the application, interact with elements, capture evidence of issues, and produce a structured bug report.

AtlasOmnia/hermes-custom-pack · 20 tokens

dynamic-content-extraction

Extract structured data (prices, listings, product details) from JavaScript-heavy sites where key data is rendered by React/Vue/Angular and doesn't appear in compact accessibility snapshots.

AtlasOmnia/hermes-custom-pack · 56 tokens

macos-app-automation

Use this skill when the user asks whether Hermes can control a native macOS app, or asks you to verify, configure, or troubleshoot AppleScript/Automation access for an app.

AtlasOmnia/hermes-custom-pack · 43 tokens