Intelligent web scraping Claude Code skill with automatic strategy selection and TypeScript-first Apify Actor development
git clone https://github.com/yfe404/web-scraper.gitThis web scraping skill automates intelligent data extraction through adaptive reconnaissance phases that automatically select the most efficient scraping strategy. It detects website frameworks, validates every selector and API endpoint before reporting, and includes self-critiquing reports with gap analysis. The skill guides implementation from simple HTTP-based extraction through browser automation and anti-blocking techniques, then helps productionize scrapers as TypeScript Apify Actors. Developers benefit from framework-aware detection that skips irrelevant patterns, quality gates that avoid unnecessary work, and iterative implementation that adds complexity only when needed.
Add the skill directory to Claude Code's skills folder. Request scraping by providing a URL—Claude automatically phases through reconnaissance, validation, and implementation. For Apify Actor deployment, ask Claude to convert the scraping logic to an Actor, which guides TypeScript setup, template selection (Cheerio vs Playwright), schema configuration, and testing.
Scrape website data with automatic detection of optimal extraction method (curl vs browser)
Discover and validate APIs and sitemaps before building scrapers
Create production-ready Apify Actors using TypeScript with guided template selection
Test anti-blocking protections and session-based scraping workflows
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/yfe404/web-scraperCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to scrape data from [WEBSITE_URL] for [COMPANY] in the [INDUSTRY] sector. The data I need includes [DATA_POINTS]. Please generate a TypeScript Apify Actor script that can handle [SPECIFIC_CHALLENGES] like pagination or dynamic content loading. Also, suggest the best scraping strategy for this website.
# Web Scraping Strategy for [WEBSITE_URL]
## Recommended Approach
- **Strategy**: Incremental crawling with request queue
- **Reasoning**: The website has dynamic content loading and requires handling pagination.
## TypeScript Apify Actor Script
```typescript
import { Actor } from 'apify'
const input = await Apify.getInput()
const requestQueue = await Apify.openRequestQueue()
// Add initial URL to the queue
await requestQueue.addRequest({ url: input.startUrl })
// Process each page
while (true) {
const request = await requestQueue.fetchNextRequest()
if (request === null) {
break
}
// ...
}
```
## Data Points to Extract
- [DATA_POINT_1]
- [DATA_POINT_2]
- [DATA_POINT_3]
## Handling Challenges
- **Dynamic Content**: Use Cheerio or Playwright for rendering.
- **Pagination**: Implement a recursive function to handle next page buttons.Automate your browser workflows effortlessly
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan