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-extractiongit 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-extraction)<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-extraction"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-extraction/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-extraction"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-extraction.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.00022 | $0.02968 |
| Opus 5.5 | $0.00009 | $0.01187 |
| Sonnet 5.5 | $0.00004 | $0.00594 |
| Haiku 4.5 | $0.00002 | $0.00297 |
Grade A, and why
scrapfly-extraction 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 — 389 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scrapfly Extraction
Use the Scrapfly Extraction API to extract structured data from HTML, markdown, or text using LLM prompts, pre-trained AI models, or custom extraction templates.
When to use
- Extracting structured data from web page content
- Using natural language prompts to pull specific information from documents
- Extracting product, article, review, or real estate data with auto AI models
- Parsing HTML/markdown into structured formats with custom templates
- Asking questions about document content and getting AI-powered answers
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: POST https://api.scrapfly.io/extraction
ScrapflyClient
from scrapfly import ScrapflyClient, ExtractionConfig
import os
client = ScrapflyClient(key=os.environ["SCRAPFLY_API_KEY"])
ExtractionConfig Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
body |
str | required | Document content to extract from |
content_type |
str | required | Input format: "text/html", "text/markdown", "text/plain", "text/xml" |
url |
str | None | Base URL for resolving relative links in HTML |
charset |
str | None | Document encoding (auto-detected if omitted) |
extraction_prompt |
str | None | Natural language instruction for LLM extraction |
extraction_model |
str | None | Pre-trained model: "product", "article", "review_list", "real_estate_property_listing" |
extraction_template |
str | None | Slug of a template saved on Scrapfly |
extraction_ephemeral_template |
dict | None | Inline template definition |
timeout |
int | None | Processing timeout in seconds (60-155) |
webhook |
str | None | Webhook name for async processing |
You must provide exactly one of: extraction_prompt, extraction_model, extraction_template, or extraction_ephemeral_template.
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 · 389 lines · 22 tokens per session scan A 611fdb95000f
scrapfly-extraction is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 2,968 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.
scrapfly-extraction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scrapfly-extractionscrapfly/scrapfly-mcp | Skill | 15 | 3d ago | MIT | A | 22 | Claude Code, Codex |
| prompt-enhancersammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| ambitious-model-usesammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 58 | Claude Code |
| llm-prompting-guidesammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| prompt-optimizerwasintoh/toh-framework | Skill | 99 | 21d ago | MIT | A | 101 | Claude Code, Codex |
| prompt-reviewspacedriveapp/spacebot | Skill | 2.4k | 2mo ago | none | A | 70 | Claude Code, Codex |
| hatch3r-ai-featurehatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 39 | Claude Code |