scrapfly-cli

scrapfly-cli is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 111 tokens per session (6,405 once invoked), scanned A, original, MIT.

A command-line tool for scraping pages, taking screenshots, extracting data, crawling sites, and controlling a remote browser. It returns JSON by default, so shell scripts and coding agents can read its results.

In plain words
What is it for?
Use it from scripts or agents to fetch rendered pages, run browser actions, crawl websites, capture images, or extract structured data.
Why use it?
It gives different web-collection and browser tasks one shell interface instead of requiring a separate program for each task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it from scripts or agents to fetch rendered pages, run browser actions, crawl websites, capture images, or extract structured data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-cli
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-cli
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-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-cli"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,405 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.00111 $0.06405
Opus 5.5 $0.00044 $0.02562
Sonnet 5.5 $0.00022 $0.01281
Haiku 4.5 $0.00011 $0.00641

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

Security

Grade A, and why

scrapfly-cli 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-cli/SKILL.md · 507 lines

How it starts

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

Scrapfly: Web Scraping, Rendering, and Browser Automation

Scrapfly gives AI agents and applications access to the web through five products: scraping, screenshots, AI extraction, recursive crawling, and a remote browser that you can drive directly over CDP, through a persistent session daemon, or hand to an LLM agent.

This CLI, scrapfly, is the single surface over all five products plus a Playwright-MCP-style agent mode. It speaks JSON by default so LLM callers can pipe it directly.

Installation

Pre-built binaries (macOS universal, Linux amd64/arm64, Windows amd64) on the Releases page. Or from source:

go install github.com/scrapfly/scrapfly-cli/cmd/scrapfly@latest

Six Usage Paths

Path A (Fetch content): scrapfly scrape <url> - the default. Covers every ScrapeConfig field from the SDK:

  • Render & navigate: --render-js, --wait-for-selector, --rendering-wait, --rendering-stage, --auto-scroll, --js-file FILE, --js-scenario-file FILE
  • Anti-bot: --unblocker (--asp is the deprecated alias and still works), --cost-budget N, --proxy-pool, --country, --geolocation
  • Format & extraction: --format markdown|clean_html|text|raw + --format-option; --extraction-prompt, --extraction-model, --extraction-template, --extraction-template-file FILE (ephemeral inline template)
  • Request shape: --method, --header k=v, --cookie n=v, --body, --body-file, --data-file FILE (structured body as JSON map), --lang, --os, --browser-brand
  • Sessions & caching: --session, --session-sticky-proxy, --cache, --cache-ttl N, --cache-clear, --retry=true|false
  • Screenshots on scrape: --screenshot (fullpage shortcut), --screenshot-named name=selector (repeatable), --screenshot-flag FLAG
  • Observability: --debug, --ssl, --dns, --correlation-id, --tag, --webhook NAME, --timing
  • Batch: multiple positional URLs or --from-file PATH|- + --concurrency (ndjson on stdout)
  • Pipe-friendly: --proxified streams the raw upstream body with no JSON envelope

Read the full file on GitHub · 507 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 9139c912d37c
  2. 4d ago First seen · 507 lines · 111 tokens per session scan A 26f63ec6de13

Subscribe to this mod's changes

scrapfly-cli is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 111 tokens to every session and 6,405 once invoked, about $0.0004 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-cli compared with skills from other repositories

scrapfly-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-cliscrapfly/scrapfly-mcpSkill153d agoMITA111Claude 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