agentleFS
mike-scrapingbotmike-scrapingbot/scrapingbot/skills/web-scraping/SKILL.md

web-scraping

Skill0 starsChanged 39 days agoMITView on GitHub

Fetch any public web page through the ScrapingBot API as HTML (optionally rendered in a real browser, with clicks/typing, screenshots), or have AI extract specific fields as JSON. Use when the user wants the content of a URL, data pulled from a page, or a page that needs JavaScript. Requires SCRAPINGBOT_API_KEY.

  • Reads credentials
  • Sends data out

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use community-led-growth, ph-community-outreach and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • nicepkgSkill

    ph-community-outreach

    Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.

    Also in 5 projects that use this

  • xfstudioSkill

    micro-saas-launcher

    Expert in launching small, focused SaaS products fast - the indie hacker approach to building profitable software. Covers idea validation, MVP development, pricing, launch strategies, and growing to sustainable revenue. Ship in weeks, not months. Use when: micro saas, indie hacker, small saas, side project, saas mvp.

    Also in 5 projects that use this

  • mastepanoskiSkill

    ux-audit-rethink

    Comprehensive UX audit using IxDF's 7 factors, 5 usability characteristics, and 5 interaction dimensions. Holistic evaluation with redesign proposals based on user-centered design principles.

    Also in 5 projects that use this

  • ncklrsSkill

    seo-content-strategist

    Expert SEO content strategy for SaaS and B2B sites. Use when doing keyword research, planning content clusters, creating pillar pages, optimizing on-page SEO, fixing technical SEO issues, building links, refreshing content, implementing programmatic SEO, mapping search intent, optimizing for SERP features, or measuring content performance. Use for SEO audits, content gap analysis, and organic growth strategy.

    Also in 5 projects that use this

  • hieutrtrSkill

    code-review-security

    Security-focused code review checklist and automated scanning patterns. Use when reviewing pull requests for security issues, auditing authentication/authorization code, checking for OWASP Top 10 vulnerabilities, or validating input sanitization. Covers SQL injection prevention, XSS protection, CSRF tokens, authentication flow review, secrets detection, dependency vulnerability scanning, and secure coding patterns for Python (FastAPI) and React. Does NOT cover deployment security (use docker-best-practices) or incident handling (use incident-response).

    Also in 5 projects that use this

  • +6 more from nicepkg

The file

Files
SKILL.md

Web scraping and AI extraction with ScrapingBot

GET or POST https://scrapingbot.io/api/v1/scrape, header x-api-key: $SCRAPINGBOT_API_KEY. Parameters go in the query string or a JSON body (body wins). URL-encode url in a query string.

For Google results pages use the google-search skill instead: google.com/search?q=… URLs are rejected here with 400. For TikTok, Instagram and Amazon prefer their skills: cleaner JSON, and cheaper than rendering those sites.

Choose the cheapest mode that works

ModeParametersCredits
Plain HTTPnone1
Rendered in a browserrender_js=true (also turned on by screenshot, js_scenario)5
Premium proxy (residential IPs)premium_proxy=true10
Stealth proxy (always renders)stealth_proxy=true75
AI extractionai_query or ai_schema+5 on top of the mode

Costs don't stack: the most capable mode sets the price, AI adds 5. Start with plain HTTP; add render_js only if the HTML lacks content a browser shows. Escalate to a proxy option only if cheaper modes keep failing; failed attempts are refunded. Never use stealth_proxy without the user agreeing to 75 credits per call.

Parameters

  • url (required): full http(s):// URL, max 4096 chars. Private/local addresses are rejected.
  • render_js, block_ads, block_resources (booleans, true/1).
  • wait_for: CSS selector to wait for (rendering only). Prefer it over wait.
  • wait: extra ms after load, 0–45000. wait_browser: domcontentloaded (default), load, networkidle0, networkidle2.
  • screenshot: true (viewport) or full_page. Returned base64 PNG in screenshot.
  • js_scenario: JSON array (or {"instructions": [...]}), max 49 steps, e.g. [{"click": "#accept"}, {"fill": ["#q", "shoes"]}, {"wait_for": ".results"}, {"scroll_y": 1200}, {"wait": 1000}, {"evaluate": "document.title"}]. Also wait_for_and_click, scroll_x, infinite_scroll ({"max_count": 5, "delay": 1000}). Send it in a JSON body. Invalid JSON is charged as fault: "user", so validate first.
  • cookies: string a=1; b=2, object, or array of {name, value}. Not allowed with stealth_proxy.
  • timeout: ms, max and default 45000.
  • ai_query: plain English, e.g. "product name, price and rating".
  • ai_schema: object (or JSON string) with properties, e.g. {"type":"object","properties":{"price":{"type":"number"},"in_stock":{"type":"boolean"}}}. Takes precedence over ai_query. The AI reads the page text (up to 50,000 characters).

Example

curl -X POST "https://scrapingbot.io/api/v1/scrape" \
  -H "x-api-key: $SCRAPINGBOT_API_KEY" -H "Content-Type: application/json" \
  -d '{"url": "https://books.toscrape.com/", "ai_query": "title and price of every book"}'

Response

Success: success: true, url, html, status (the page's status), duration, credits_used, job_id; plus screenshot, scenario (action report), ai_result (extracted JSON) and ai_error when relevant. If ai_error is set the scrape still succeeded and was charged; read html yourself.

GET /api/v1/job/{job_id} re-fetches a result for 24 hours (free): status (completed/failed), result.html, result.status.

Errors

The HTTP status mirrors the target page, so read the JSON body even on non-2xx. Failures carry fault:

  • user (page answered 400/404): charged. Don't retry the same URL.
  • system (site 403/429/5xx, or our side) and timeout (over 45 s, HTTP 408): refunded, credits_used: 0. Retry with backoff, or step up the mode.
  • 400 without fault: invalid parameter (message says which). Free; fix and resend.
  • 401 bad key, 402 not enough credits (tell the user), 429 concurrency limit (free plan: 1 request at a time; wait and retry, don't parallelize).

Docs: https://scrapingbot.io/docs/website

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.