agentleFS
superagntsuperagnt/leverage/skills/core/web-scraping/SKILL.md

web-scraping

Skill6 starsChanged 2 months agoMITView on GitHub

Scrape, search, and map the web for agents — clean markdown, structured JSON, and site URL discovery.

  • 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

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If this client speaks MCP, you can connect the Web Scraping facet server instead of using this skill's curl calls — the same endpoints …

    line 30
  2. Distinctive:

    If the variable is not set, ask the user for their key or point them at https://superagnt.com/r/ch-web-scraping-key.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Web Scraping

The superagnt Web API gives agents reliable access to the live web through a single integration. Fetch the content of any public page as clean main-content markdown or structured JSON, run a web search and pull the full content of each result in one call, and discover every URL on a site before scraping it. JavaScript-rendered pages are handled for you. Instead of managing scraping infrastructure, proxies, and rate limits yourself, you call superagnt with one credential and consume agent-ready JSON with predictable, usage-based credit pricing.

Alternative install: the scoped MCP server

If this client speaks MCP, you can connect the Web Scraping facet server instead of using this skill's curl calls — the same endpoints below as native MCP tools with structured parameters and OAuth sign-in, scoped to this capability:

https://mcp.superagnt.com/mcp/web-scraping

That URL publishes full OAuth discovery: an MCP-capable client needs the URL and nothing else (approve once in the browser). On clients that hold a bearer instead, add it as an Authorization: Bearer header. Per-client setup lines: https://www.superagnt.com/install?facet=web-scraping

This skill document stays fully usable on curl-only environments — everything below works with just the API key.

Authentication

Get an API key from the superagnt app and export it as SUPERAGNT_API_KEY. Every request sends it as a Bearer token:

Authorization: Bearer $SUPERAGNT_API_KEY

If the variable is not set, ask the user for their key or point them at https://superagnt.com/r/ch-web-scraping-key.

Verify the install (do this first)

One call proves the key, the credit balance, and this source end to end:

curl -s https://api.superagnt.com/v1/credits \
  -H 'Authorization: Bearer $SUPERAGNT_API_KEY'

A JSON result means you are live. A 401 means the key is wrong or missing; a 402 means the workspace is out of credits — the superagnt app shows both.

Base URL

https://api.superagnt.com/v1/data/web

Available Endpoints

MethodPathSummary
POST/scrapeScrape a web page
POST/searchSearch the web
POST/mapMap a website's URLs

Tool Schemas

The following JSON defines every operation with its parameters. Each tool maps to an API endpoint under the base URL.

[
  {
    "name": "superagnt_web_scrape",
    "description": "Scrape a web page",
    "method": "POST",
    "path": "/scrape",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL to scrape (must be a publicly reachable http(s) URL)."
        },
        "formats": {
          "type": "array",
          "description": "Output formats to return. Each entry is either a string preset or an object form. String presets: 'markdown' (default), 'summary', 'html', 'rawHtml', 'links', 'images'. Object forms include { type: 'json', schema, prompt } for structured extraction, { type: 'screenshot', fullPage, quality } for an image, and { type: 'changeTracking', modes } for diffs. Defaults to ['markdown'] when omitted."
        },
        "onlyMainContent": {
          "type": "boolean",
          "description": "Return only the main content of the page, excluding navs, headers, and footers."
        },
        "includeTags": {
          "type": "array",
          "description": "Only include content within these HTML tags / CSS selectors."
        },
        "excludeTags": {
          "type": "array",
          "description": "Exclude content within these HTML tags / CSS selectors."
        },
        "maxAge": {
          "type": "integer",
          "description": "Return cached content up to this age in milliseconds (faster, cheaper). Default 172800000 (2 days)."
        },
        "waitFor": {
          "type": "integer",
          "description": "Milliseconds to wait for the page to render before scraping."
        },
        "mobile": {
          "type": "boolean",
          "description": "Emulate a mobile device."
        },
        "timeout": {
          "type": "integer",
          "description": "Request timeout in milliseconds (1000-300000). Default 60000."
        },
        "parsers": {
          "type": "array",
          "description": "PDF parsing configuration."
        },
        "proxy": {
          "type": "string",
          "description": "Proxy / anti-bot mode. 'auto' (default) escalates only on failure; 'enhanced' forces advanced anti-bot handling and costs more."
        },
        "location": {
          "type": "object",
          "description": "Geographic proxy location and language settings."
        }
      },
      "required": [
        "url"
      ]
    }
  },
  {
    "name": "superagnt_web_search",
    "description": "Search the web",
    "method": "POST",
    "path": "/search",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "The search query."
        },
        "limit": {
          "type": "integer",
          "description": "Number of results per source. Default 10."
        },
        "sources": {
          "type": "array",
          "description": "Which result sources to query. Defaults to ['web']. Each entry is a preset string or an object with a `type`."
        },
        "categories": {
          "type": "array",
          "description": "Restrict results to these categories."
        },
        "tbs": {
          "type": "string",
          "description": "Time-based search filter (e.g. 'qdr:d' for past day)."
        },
        "location": {
          "type": "string",
          "description": "Geo-target for the search (e.g. 'San Francisco, California, United States')."
        },
        "country": {
          "type": "string",
          "description": "ISO country code. Default 'US'."
        },
        "includeDomains": {
          "type": "array",
          "description": "Only return results from these hostnames (mutually exclusive with excludeDomains)."
        },
        "excludeDomains": {
          "type": "array",
          "description": "Exclude results from these hostnames (mutually exclusive with includeDomains)."
        },
        "timeout": {
          "type": "integer",
          "description": "Request timeout in milliseconds. Default 60000."
        },
        "scrapeOptions": {
          "type": "object",
          "description": "When provided, each result is also scraped and its content returned. Accepts the same content options as /scrape (e.g. `formats`, `onlyMainContent`). Increases cost because every result is fetched."
        }
      },
      "required": [
        "query"
      ]
    }
  },
  {
    "name": "superagnt_web_map",
    "description": "Map a website's URLs",
    "method": "POST",
    "path": "/map",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The base URL of the site to map."
        },
        "search": {
          "type": "string",
          "description": "Order returned URLs by relevance to this query."
        },
        "sitemap": {
          "type": "string",
          "description": "How to use the site's sitemap. Default 'include'."
        },
        "includeSubdomains": {
          "type": "boolean",
          "description": "Include URLs on subdomains."
        },
        "ignoreQueryParameters": {
          "type": "boolean",
          "description": "Treat URLs that differ only by query string as the same URL."
        },
        "limit": {
          "type": "integer",
          "description": "Maximum number of URLs to return. Default 5000, max 100000."
        },
        "timeout": {
          "type": "integer",
          "description": "Request timeout in milliseconds."
        },
        "location": {
          "type": "object",
          "description": "Geographic proxy location and language settings."
        }
      },
      "required": [
        "url"
      ]
    }
  }
]

Example

curl -X POST 'https://api.superagnt.com/v1/data/web/scrape' \
  -H 'Authorization: Bearer your_api_key_here' \
  -H 'Content-Type: application/json' \
  -d '{"url": "https://example.com", "formats": ["markdown"]}'

Use Cases

  • Research and deep-research agents that read live web pages
  • RAG pipelines that ingest fresh page content on demand
  • Competitive and market monitoring agents
  • Lead and company enrichment from public web pages
  • Content extraction into structured JSON for downstream tools

Scope

This skill covers Web Scraping only — the endpoints listed above, nothing else. The same API key also works with superagnt's other data sources and platform tools, but those are separate listings that the user installs or enables themselves; this skill does not add or enable anything beyond what is documented here. The public catalog is at https://api.superagnt.com/v1/platforms.

Links

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.