# automated lead scraper

> Automated business email and phone scraper with crash-safe checkpointing and lead confidence scoring.

automated lead scraper is a free AI agent skill on Agensi by Huzaifa khan, in Sales & Lead Gen. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Huzaifa khan](https://www.agensi.io/creators/huzaifa-khan)
- Category: [Sales & Lead Gen](https://www.agensi.io/skills/sales-lead-gen)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/automated-lead-scraper
- Tags: automation, node-js, web-scraping, lead-generation, b2b-sales

## About this skill

Building a lead list from a raw directory of company websites is slow and prone to errors. Manual extraction scales poorly, and many scrapers lack the stability to handle large batches without crashing.

This skill automates the extraction of publicly listed business contact emails and phone numbers from a list of URLs. It handles the heavy lifting of navigating contact pages, de-obfuscating email strings, and managing progress across long-running jobs.

### What it does
- **Multi-page discovery** scans home, contact, about, and team pages to find contact details.
- **Email de-obfuscation** decodes Cloudflare-protected, hex-encoded, and `[at]/[dot]` formatted emails.
- **Checkpointing & resume** saves progress to a local cache, allowing interrupted runs to pick up exactly where they left off.
- **Input validation** cleans raw domains, adds protocol prefixes, and flags duplicates or private IP addresses.
- **Result categorization** assigns confidence scores (high/medium/low) and flags suspicious TLDs like `.con` or `gmial.com`.

### How it works
1. **Prepare input**: Provide a CSV or text file containing a list of target URLs or domains.
2. **Validate & Scaffold**: The skill cleans the list and creates a dedicated job directory for logs and output.
3. **Execute Scraper**: Run the scraper with configurable concurrency (1-4) while monitoring real-time progress.
4. **Audit Results**: Review the generated `output.csv` and `suspicious.csv` for high-confidence leads and manual review flags.

### Frameworks & tools
Built with Node.js (version 18+). It utilizes `axios` for HTTP requests, `cheerio` for HTML parsing, and standard CSV processing libraries. No external database or headless browser is required.

### Why this beats prompting it yourself
Standard LLM prompting cannot reliably crawl multiple subpages or handle the rate-limiting and encoding quirks of diverse websites. This skill provides a structured, crash-safe execution environment that ensures you never lose progress on a 500-site batch.

### Use cases
- Generating B2B lead lists from a target industry directory.
- Auditing a portfolio of company websites for updated contact information.
- Collecting business emails for bulk outreach campaigns.
- Identifying broken or blocked domains in a large prospect list.

### Known limitations
Does not support social media networks (LinkedIn/Facebook), sites requiring logins, or CAPTCHA bypass. It does not automatically parse robots.txt files.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the automated lead scraper skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill handle large batches of URLs without crashing?

This skill solves the 'scraping fatigue' of manual extraction and the instability of basic scripts. It offers a crash-safe environment with checkpointing, meaning if your internet or system drops, you can resume a 1,000-site crawl without restarting or losing data.

### What exactly is included in the purchase of this skill?

You receive the full source code for the scraper, the lead confidence scoring logic, a pre-configured environment for CSV processing, and documentation on how to execute and monitor jobs. No external database or expensive headless browser subscriptions are required.

### Can I use this skill to scrape emails from LinkedIn or other social media profiles?

No, this scraper is designed for publicly available business websites. It focuses on high-speed HTML parsing and email de-obfuscation; it does not support social media platforms (LinkedIn/Facebook), CAPTCHA-protected sites, or pages requiring a user login.

### How does the skill ensure the lead information it finds is actually relevant?

The skill uses a multi-page discovery engine that intelligently scans common sub-pages (Contact, About, Team) rather than just the homepage. It then applies a confidence score to each result to filter out typos and generic 'info@' addresses from high-value direct contacts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
