agentsclimarketplace

Scraping

Skill mj-deving/pai-skills/skills/Scraping

Curated, sanitized export of 21 agent-skill packages for Claude Code and Codex, gated by an automated publication audit (no secrets, no local paths).

Install
npx -y skills add mj-deving/pai-skills --skill Scraping

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Web scraping via progressive escalation — Jina Reader, Crawl4AI, Spider.cloud, Bright Data, Apify actors, bird CLI for X/Twitter, discrawl for Discord, Katana URL discovery. USE WHEN scraping, crawl, scrape URL, Twitter scraping, Apify, bot detection, jina reader, crawl4ai, spider cloud, katana, URL discovery, bird, read tweet, search X, Discord search, Discord history, Discord messages, Discord members, Discord archive, discrawl.

SKILL.md

3.9 KB, as published. Nobody here has run it

Scraping

Unified skill for web scraping and crawling workflows.

Tier Decision Tree

Single page, quick & free     → JinaReader (r.jina.ai)
Single page, anti-bot needed  → BrightData (4-tier escalation)
URL discovery, site mapping   → Katana (fast crawl, URLs only)
Multi-page, free              → Crawl4AI (self-hosted Python)
Multi-page, at scale          → Spider.cloud (~$0.48/1K pages)
Multi-page, anti-bot          → BrightData Crawl API
Social media platforms        → Apify actors
X/Twitter                     → bird CLI
Discord servers               → discrawl (local SQLite archive)

Workflow Routing

Request PatternRoute To
Quick scrape, free scrape, jina reader, lightweight extractJinaReader/SKILL.md
katana, URL discovery, crawl URLs, site map, discover endpointsSee Katana section below
Crawl website free, crawl pages, crawl4ai, map siteCrawl4AI/SKILL.md
Scale scraping, bulk crawl, spider cloud, high volumeSpider/SKILL.md
Bright Data, proxy, anti-bot, CAPTCHA, progressive scrapingBrightData/SKILL.md
read tweet, search X, post tweet, reply tweet, bird, X timelineBird/SKILL.md
Discord search, Discord history, Discord messages, Discord members, Discord archive, discrawlDiscord/SKILL.md
Instagram, LinkedIn, TikTok, YouTube, Facebook, Google Maps, Amazon, ApifyApify/SKILL.md

Error Fallback Chain

When a tier fails, escalate to the next tier with anti-bot capabilities:

JinaReader fails (empty/garbage/403)  → try Crawl4AI (has Playwright)
Crawl4AI fails (timeout/Playwright)   → try Spider.cloud (cloud-based)
Spider.cloud fails (rate limit/block)  → try BrightData (proxy rotation)
BrightData fails (all 4 tiers)        → report failure, suggest manual approach

For social media: Apify actor fails → check if bird CLI covers the platform (X only). No cross-platform fallback.

For Discord: discrawl is the dedicated tool — no fallback chain. If discrawl fails, check discrawl doctor for diagnostics.

Katana — Fast URL Discovery

Use Katana for mapping a site's URL structure before committing to a full crawl with Spider.cloud or Crawl4AI. Faster than full crawlers when you only need URLs, not content.

# Crawl and discover URLs (depth 2)
katana -u https://example.com -d 2 -o urls.txt

# JavaScript rendering mode
katana -u https://example.com -headless -d 3

# Filter by extension (exclude images/CSS)
katana -u https://example.com -ef png,jpg,gif,css

# JSON output
katana -u https://example.com -jsonl -o results.jsonl

# Scope control (stay on domain)
katana -u https://example.com -fs "example.com" -d 5

When to use: Before Spider.cloud or Crawl4AI, when you need to map URL structure first. Also useful for discovering API endpoints, sitemaps, and hidden pages.

Cost Overview

ToolCostBest For
Jina ReaderFree (1M tokens/mo)Single pages, JS-rendered
Crawl4AIFree (self-hosted)Multi-page crawling <500 pages
ApifyFree tier ($5/mo)Social media, lead gen
bird CLIFreeX/Twitter
discrawlFree (self-hosted)Discord server archiving + search
Spider.cloud~$0.48/1K pagesScale crawling 100-100K pages
BrightData~$500+/moAnti-bot, Cloudflare bypass

Examples

Example 1: User: "[typical request]" → Routes to appropriate sub-skill workflow

Example 2: User: "[another request]" → Routes to different sub-skill workflow

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.