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.
npx skills add scrapfly/scrapfly-mcp --skill scrapfly-sdk-typescriptgit clone --depth 1 https://github.com/scrapfly/scrapfly-mcpWrote 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.
[](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-sdk-typescript)<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-sdk-typescript"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-sdk-typescript/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.
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-sdk-typescript"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-sdk-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.00974 |
| Opus 5.5 | $0.00025 | $0.00390 |
| Sonnet 5.5 | $0.00013 | $0.00195 |
| Haiku 4.5 | $0.00006 | $0.00097 |
Grade A, and why
scrapfly-sdk-typescript 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scrapfly TypeScript SDK
Use the scrapfly-sdk package to scrape web pages from TypeScript/JavaScript
with proxy rotation, anti-bot bypass (Unblocker), JavaScript rendering, screenshots,
and AI extraction. Runs on Node.js, Deno, Bun, and edge runtimes
(Cloudflare Workers, AWS Lambda).
When to use
- Scraping web pages (HTML, JSON, text, markdown) from a TS/JS codebase
- Bypassing anti-bot protections (Cloudflare, DataDome, PerimeterX, Kasada)
- Rendering JavaScript-heavy pages with a headless browser
- Capturing screenshots or extracting structured data
- Concurrent scraping of many URLs
Setup
npm install scrapfly-sdk
# Deno / JSR: import from 'jsr:@scrapfly/scrapfly-sdk'
export SCRAPFLY_API_KEY="your-api-key"
Get your API key at scrapfly.io.
Basic scrape
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
const client = new ScrapflyClient({ key: process.env.SCRAPFLY_API_KEY });
const result = await client.scrape(
new ScrapeConfig({ url: 'https://web-scraping.dev/products' }),
);
console.log(result.result.content);
Anti-bot bypass, geo-targeting, JS rendering
ScrapeConfig uses snake_case option keys, matching the API.
const result = await client.scrape(
new ScrapeConfig({
url: 'https://web-scraping.dev/products',
unblocker: true, // bypass anti-bot
country: 'us', // proxy country (ISO 3166-1 alpha-2)
proxy_pool: 'public_residential_pool',
render_js: true, // headless browser rendering
wait_for_selector: 'div.product', // requires render_js
rendering_wait: 5000, // ms, requires render_js
format: 'markdown', // raw | clean_html | json | markdown | text
}),
);
Screenshots and extraction
import { ScreenshotConfig, ExtractionConfig } from 'scrapfly-sdk';
const shot = await client.screenshot(
new ScreenshotConfig({ url: 'https://web-scraping.dev/products' }),
);
// shot.image is the binary image data
const html = (await client.scrape(
new ScrapeConfig({ url: 'https://web-scraping.dev/reviews' }),
)).result.content;
const data = await client.extract(
new ExtractionConfig({
body: html,
content_type: 'text/html',
extraction_prompt: 'extract the reviews as JSON with fields: review, date, rating, author',
}),
);
console.log(data.data);
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.
- 4d ago First seen · 120 lines · 63 tokens per session scan A 6b42930604be
scrapfly-sdk-typescript is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 974 once invoked, about $0.0003 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.
scrapfly-sdk-typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scrapfly-sdk-typescriptscrapfly/scrapfly-mcp | Skill | 15 | 3d ago | MIT | A | 63 | Claude Code, Codex |
| dev-pain-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 160 | Claude Code, Codex |
| interview-preptinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 141 | Claude Code, Codex |
| tenders-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 139 | Claude Code, Codex |
| freelance-gig-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 98 | Claude Code, Codex |
| use-tinyfishtinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 77 | Claude Code, Codex |
| agenttinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 170 | Claude Code |