scrapfly-screenshot

scrapfly-screenshot is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 20 tokens per session (1,747 once invoked), scanned A, original, MIT.

A Python interface for capturing images of web pages or selected page elements. It supports JavaScript rendering, different image formats, full-page or viewport captures, and CSS selector or XPath targets.

In plain words
What is it for?
Use it to capture full pages, visible viewports, or specific elements for visual records and page checks at different screen sizes.
Why use it?
It avoids setting up and operating a browser just to produce consistent page images, including images of pages that need JavaScript to load.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to capture full pages, visible viewports, or specific elements for visual records and page checks at different screen sizes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-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 scrapfly/scrapfly-mcp --skill scrapfly-screenshot
Clone the repo
git clone --depth 1 https://github.com/scrapfly/scrapfly-mcp

Made for: Claude Code, Codex.

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 scrapfly-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-screenshot/github.svg)](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-screenshot)
Your own site
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-screenshot"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-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 scrapfly-screenshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-screenshot"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,747 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00020 $0.01747
Opus 5.5 $0.00008 $0.00699
Sonnet 5.5 $0.00004 $0.00349
Haiku 4.5 $0.00002 $0.00175

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

Security

Grade A, and why

scrapfly-screenshot scanned grade A with 0 findings 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 3d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/mcpskills/skills/scrapfly-screenshot/SKILL.md · 202 lines

How it starts

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

Scrapfly Screenshot

Use the Scrapfly Screenshot API to capture high-quality screenshots of web pages with JavaScript rendering and anti-bot bypass.

When to use

  • Capturing full-page or viewport screenshots of websites
  • Taking screenshots of specific page elements via CSS selector/XPath
  • Rendering pages behind anti-bot protections for visual capture
  • Generating screenshots in different formats (JPG, PNG, WebP, GIF)
  • Testing pages at different screen resolutions

Setup

pip install scrapfly-sdk

The API key must be provided via environment variable SCRAPFLY_API_KEY or passed directly to the client.

API Reference

Endpoint: GET https://api.scrapfly.io/screenshot

ScrapflyClient

from scrapfly import ScrapflyClient, ScreenshotConfig
import os

client = ScrapflyClient(key=os.environ["SCRAPFLY_API_KEY"])

ScreenshotConfig Parameters

Parameter Type Default Description
url str required Target URL to screenshot
format str or Format "jpg" Image format: "jpg", "png", "webp", "gif" (Format enum)
capture str "viewport" Capture scope: "viewport", "fullpage", or a CSS selector/XPath
resolution str None Screen dimensions, e.g. "1920x1080", "375x812"
country str None Proxy country: an ISO 3166-1 alpha-2 code ("us"), a comma-separated list ("us,ca") or exclusions ("-us": any country of the pool but those)
timeout int None Total request timeout in milliseconds
rendering_wait int 1000 Wait time in ms after page load before capture
wait_for_selector str None Wait until this CSS/XPath selector is visible before capture
options list[str] or list[Options] None Screenshot behavior flags, e.g. "load_images", "dark_mode", "block_banners", "print_media_format" (Options enum)
auto_scroll bool False Scroll to bottom to trigger lazy-loading before capture
js str None Raw JavaScript to execute before capture (SDK will base64‑encode; max 16KB)
cache bool None Enable response caching for this screenshot request
cache_ttl bool or int None Cache TTL (time-to-live); only effective when cache=True
cache_clear bool None Clear existing cache entry for this URL when cache=True
vision_deficiency str or VisionDeficiency None Simulate vision impairment for accessibility testing, e.g. "deuteranopia", "protanopia", "achromatopsia" (VisionDeficiency enum)
webhook str None Webhook name to receive async screenshot completion callbacks
raise_on_upstream_error bool True Raise an exception if the upstream page returns an error status

Read the full file on GitHub · 202 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. 3d ago Changed 7d706ca2331f
  2. 4d ago First seen · 202 lines · 20 tokens per session scan A 20ce8efb14a6

Subscribe to this mod's changes

scrapfly-screenshot is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 1,747 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

scrapfly-screenshot compared with skills from other repositories

scrapfly-screenshot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-screenshotscrapfly/scrapfly-mcpSkill153d agoMITA20Claude Code, Codex
camoufox-cliBin-Huang/camoufox-cliSkill36620d agoMITA74Claude Code, Codex
obscurah4ckf0r0day/obscuraSkill38ktodayApache-2.0A100Claude Code, Codex
dev-pain-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA160Claude Code, Codex
interview-preptinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA141Claude Code, Codex
tenders-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA139Claude Code, Codex
use-tinyfishtinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA77Claude Code, Codex