scraperapi-research-agent skill
scriptsScraperAPI aracılığıyla kaynakları kazıyarak otonom web araştırması yapar ve Claude kullanarak bu verileri atıflı markdown raporlarına dönüştürür.
- GitHub yıldızları
- 10
- Dosyalar
- 3
- Son commit
- 7 Ağu 2026
- Lisans
- MIT
- İzin verilen araçlar
- —
scraperapi-research-agent skill ne işe yarar?
scraperapi-research-agent bir agent skill'dir. ScraperAPI aracılığıyla kaynakları kazıyarak otonom web araştırması yapar ve Claude kullanarak bu verileri atıflı markdown raporlarına dönüştürür.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
scraperapi-research-agent skilli hakkında
Bu ajan, araştırmacılar ve geliştiriciler için derin web incelemeleri yapmayı ve atıflı raporlar oluşturmayı mümkün kılar. Bir ajanın gerçek zamanlı bilgi bulmak için dahili eğitim verilerinin ötesine geçmesi gerektiğinde, otonom bir araştırma döngüsü gerçekleştirmek için bu SKILL'i yükleyebilir. Süreç, bir kullanıcı sorusunun arama sorgularına ayrıştırılmasıyla başlar; ScraperAPI kullanılarak markdown formatındaki web içerikleri keşfedilir ve getirilir, ardından bu sayfalar metin artefaktları olarak Anthropic Files API'ye yüklenir.
Claude daha sonra bu yüklenen belgeleri; yönetici özeti, organize edilmiş bulgular ve metin içi atıflar içeren yapılandırılmış bir markdown raporu halinde sentezler. Araç, web keşfi için ScraperAPI'ye, belge alımı için ise Anthropic Files API'ye güvenir. Kullanıcılar, ScraperAPI kredi tüketimini yönetmek için max-sources gibi parametreleri ve nihai raporu bir dosyaya kaydetmek için output bayrağını kullanarak araştırmanın kapsamını kontrol edebilirler.
Bir agent bununla neler yapabilir
- 1Web konularında derinlemesine inceleme yapınModel hafızası yerine gerçek web kaynaklarını kullanarak karmaşık bir konu hakkında inceleme talep edin.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
scraperapi-research-agent skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.scraperapi-research-agent skill'ini Claude Code uygulamasına kur
~/.claude/skills/scraperapi-research-agent/SKILL.md
$ npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent ~/.claude/skills/scraperapi-research-agentscraperapi-research-agent skill'ini Claude Code (project) uygulamasına kur
.claude/skills/scraperapi-research-agent/SKILL.md
$ npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent .claude/skills/scraperapi-research-agentscraperapi-research-agent skill'ini Codex uygulamasına kur
~/.agents/skills/scraperapi-research-agent/SKILL.md
$ npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent ~/.agents/skills/scraperapi-research-agentscraperapi-research-agent skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/scraperapi-research-agent/SKILL.md
$ npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent ~/.gemini/skills/scraperapi-research-agentscraperapi-research-agent skill'ini Claude.ai uygulamasına kur
npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent scraperapi-research-agent && zip -r scraperapi-research-agent.zip scraperapi-research-agent # claude.ai → Customize → Skills → + → Create skill → Upload a skill → scraperapi-research-agent.zip
SKILL.md
GitHub'da görüntüleScraperAPI 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:
# Install dependencies
pip install requests anthropic
# Set env vars
export SCRAPERAPI_API_KEY=your-key
export ANTHROPIC_API_KEY=your-key
# Run
python skills/scraperapi-research-agent/scripts/research_agent.py \
--question "What are the best practices for rate limiting in web APIs?" \
--max-sources 5 \
--output report.md
See scripts/research_agent.py for the full implementation.
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 — Does the answer depend on recent events? Search queries will use recent date filters.
- Credit budget — Each source costs ~1 credit to scrape (more with JS rendering). 5 sources = ~5–10 credits total.
- 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).
Stop Conditions
The agent stops when any of the following is true:
--max-sourcesreached (default: 5) — limits credit spend- All search queries exhausted — no more URLs to explore
--max-creditsexceeded — hard cap on ScraperAPI credit use (optional)
Without stop conditions, a research loop will keep fetching until credits are gone.
Key Parameters
| Flag | Default | Description |
|---|---|---|
--question |
(required) | Research question |
--max-sources |
5 | Max pages to scrape (credit budget) |
--output |
stdout | Write report to file |
--country |
us |
ScraperAPI country code for geo-targeted results |
--model |
claude-opus-4-8 |
Anthropic model for synthesis |
Output Format
See assets/report_template.md for the report structure.
The report is a markdown document with:
- Title derived from the research question
- Summary — 2–3 sentence executive summary
- Findings — structured sections with inline
[N]citations - Sources — numbered bibliography with URLs and titles
Credit Cost Estimate
| Sources | Scraping credits | Anthropic tokens | Total estimate |
|---|---|---|---|
| 3 | ~3 | ~15K in / ~2K out | Low |
| 5 | ~5 | ~25K in / ~3K out | Medium |
| 10 | ~10 | ~50K in / ~5K out | Higher |
Prompt caching applies to the scraped content on repeated runs for the same question.
ScraperAPI Endpoints Used
- Google Search —
GET https://api.scraperapi.com/structured/google/search— finds source URLs - Scrape —
GET https://api.scraperapi.com/?output_format=markdown— fetches page content
See ScraperAPI docs for rate limits and credit costs.
Anthropic APIs Used
- Files API (beta) — uploads scraped pages as document artifacts
- Messages API — Claude synthesizes the report with citations
Requires ANTHROPIC_API_KEY with access to claude-opus-4-8 and the Files API beta.
Bu becerideki dosyalar
3scraperapi-research-agent skill soruları
scraperapi-research-agent skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit scraperapi/scraperapi-skills/skills/scraperapi-research-agent ~/.claude/skills/scraperapi-research-agent komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
scraperapi-research-agent skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
Araştırma ajanı ne üretir?
Başlık, yönetici özeti, metin içi atıflar içeren bulgular ve numaralandırılmış bir kaynakça içeren yapılandırılmış bir markdown raporu üretir.
Ajan kaynak kullanımını nasıl kontrol eder?
Ajan, sonsuz döngüleri önlemek için maksimum kaynak sayısına ulaşma, arama sorgularının tükenmesi veya kredi sınırına takılma gibi durdurma koşulları kullanır.
Bu SKILL'i çalıştırmak için hangi API'ler gereklidir?
Bu SKILL, web kazıma işlemi için bir ScraperAPI anahtarına ve belge sentezi için bir Anthropic API anahtarına ihtiyaç duyar.