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 scraperapi/scraperapi-skills --skill scraperapi-research-agentgit clone --depth 1 https://github.com/scraperapi/scraperapi-skillsWrote 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/scraperapi/scraperapi-skills/scraperapi-research-agent)<a href="https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-research-agent"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-research-agent/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/scraperapi/scraperapi-skills/scraperapi-research-agent"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-research-agent.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.00226 | $0.01639 |
| Opus 5.5 | $0.00090 | $0.00656 |
| Sonnet 5.5 | $0.00045 | $0.00328 |
| Haiku 4.5 | $0.00023 | $0.00164 |
Grade A, and why
scraperapi-research-agent 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 — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ScraperAPI Research Agent
End-to-end autonomous research: ScraperAPI finds and fetches sources → Anthropic Files API ingests them as cited documents → Claude synthesizes a report.
Run it: save the script from references/research-agent-script.md
as research_agent.py in the user's project, then:
# Install dependencies (a recent anthropic SDK: the script uses the Files API)
pip install -U requests anthropic
# Replace YOUR_API_KEY and YOUR_ANTHROPIC_API_KEY at the top of research_agent.py
# Run
python research_agent.py \
--question "What are the best practices for rate limiting in web APIs?" \
--max-sources 5 \
--output report.md
Planning Checklist
Before starting a research run, establish:
- Question clarity — Is the question specific enough to produce useful search queries? Vague questions like "tell me about AI" produce noise. Better: "What are the tradeoffs between RAG and fine-tuning for domain-specific LLMs?"
- Source count — How many sources are needed? 3–5 is usually sufficient for a factual summary; 8–10 for a comparative analysis. More sources = more ScraperAPI credits.
- Recency — The script doesn't filter search results by date. If the answer depends on recent events, put the year or "latest" in the question so the planned searches carry it.
- Credit budget — Each Google search costs 25 credits and the script runs 1–3. Each scraped page costs 1 credit on a normal site and 10 on a bot-protected one. 5 sources on normal sites ≈ 30–85 credits; see Credit cost estimate.
- Stop condition — Define when to stop. The default stop is
--max-sources(5). Do not loop indefinitely.
Research Loop
1. PLAN
↓ Claude decomposes the question into 2–3 targeted search queries
2. DISCOVER
↓ ScraperAPI google/search structured endpoint → list of (url, title, snippet)
3. DEDUPLICATE
↓ Filter to top N unique URLs (default: 5), skipping PDFs and low-quality domains
4. FETCH
↓ ScraperAPI scrape each URL as markdown (output_format=markdown)
↓ Skip pages returning < 200 characters (blocked, error pages)
5. UPLOAD
↓ Upload each scraped page to Anthropic Files API as a text/plain artifact
↓ Store file_id for each source
6. SYNTHESIZE
↓ Claude (claude-opus-4-8, adaptive thinking) reads all document artifacts
↓ Returns structured report with inline citations [1], [2]...
7. CLEAN UP
↓ Delete uploaded file artifacts from Anthropic
↓ Write or print the final report
STOP when: max_sources reached, or all queries exhausted (whichever comes first).
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed · -4 lines · +7 tokens per session 0b7633f090b8
- 9d ago Changed · +3 lines · +31 tokens per session 7c31f38762e2
- 3mo ago First seen · 157 lines · 188 tokens per session scan A f26bc92d6aac
scraperapi-research-agent is a skill published in the GitHub repository scraperapi/scraperapi-skills (10 stars, last pushed 5d ago), licensed MIT. It adds 226 tokens to every session and 1,639 once invoked, about $0.0009 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-08-31.
scraperapi-research-agent compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scraperapi-research-agentscraperapi/scraperapi-skills | Skill | 10 | 5d ago | MIT | A | 226 | Claude Code |
| browser-automationRightNow-AI/openfang | Skill | 18k | 5mo ago | Apache-2.0 | A | 14 | Claude Code, Codex |
| webapp-testingalebgl77/claude-inc | Skill | 23 | 18d ago | MIT | A | 103 | Claude Code |
| application-testingAryan-Jhaveri/mcp-statcan | Skill | 8 | 23d ago | MIT | A | 190 | Claude Code, Codex |
| scraper-briefur-grue/autopunk-media-skills | Skill | 50 | 3mo ago | MIT | A | 55 | Claude Code |
| e2llme2llm/e2llm-sifr | Skill | 8 | 2mo ago | MIT | A | 129 | Claude Code |
| sifre2llm/e2llm-sifr | Skill | 8 | 2mo ago | MIT | A | 89 | Claude Code |