Lead Enrichment Agent — Testing skill for Claude Code
Autonomous lead enrichment agent — crawls company websites with Playwright and extracts structured intelligence (overview, ICP, contacts, leadership) using Claude's tool-calling.
How to install Lead Enrichment Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dharshan6361/lead-enrichment-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lead Enrichment Agent does
Autonomous lead enrichment agent — crawls company websites with Playwright and extracts structured intelligence (overview, ICP, contacts, leadership) using Claude's tool-calling. Built for the SoftwareBrio AI Engineer Intern take-home assignment.
Alternatives in Testing
- Darwin Skill — 达尔文.skill —— 一个让你的Skill无限进化的系统:评估→改进→测试→保留或回滚 Autoresearch-inspired autonomous skill optimization for Claude C 5.7k ★
- OpenAgentsControl — AI agent framework for plan-first development workflows with approval-based execution 4.8k ★
- Cc Sdd — Spec-driven development (SDD) for your team's workflow 3.1k ★
README
Autonomous Lead Enrichment Agent
A Python pipeline that takes a list of company domains, crawls their public web presence with a headless browser, cleans the content down to LLM-friendly text, and extracts structured company intelligence (overview, ICP, contacts, leadership, confidence score) using Claude's tool-calling for strict structured output.
How it works
domains ──▶ crawler.py ──▶ extractor.py ──▶ llm_extract.py ──▶ output.json
(Playwright: (BeautifulSoup: (Anthropic tool-use,
homepage + strip scripts/nav, strict JSON schema
relevant collapse to plain via models.py)
subpages) text, cap length)
src/crawler.py— Launches headless Chromium via Playwright, fetches the homepage, waits for JS-rendered content to settle, then discovers and fetches up to 5 same-site subpages matching common slugs (about,team,contact,pricing, etc). Handles timeouts, 404s, and bot blocks without crashing.src/extractor.py— Strips,,,,and other boilerplate, preservesmailto:and LinkedIn hrefs inline (so emails/profile links survive text extraction), and caps each page at ~6k characters to bound token spend.src/llm_extract.py— Sends the cleaned text to Claude with a single forced tool call (record_company_intelligence), so the response is always valid structured JSON matching the schema insrc/models.py— no regex-parsing of free text.src/main.py— Orchestrates the batch run. Every domain is wrapped in its own try/except at multiple layers, so one failing site (timeout, block, malformed HTML, LLM error) never aborts the rest of the batch — it's recorded withdata_confidence_score: 0.0and anerrorslist instead.
Setup
git clone
cd lead-enrichment-agent
python -m venv .venv && source .venv/bin/activ
Related Skills
Design Compare
Capture two websites with Playwright and produce a structured side-by-side design comparison — layout, color,
Hiberius Skills
Ten Agent Skills from fifteen years of performance marketing and the systems built around it: CPA profit maths
Cuttle
cuttle is a browser for your agent. Websites do not block it. It keeps your logins. When a website asks for a
Playwright AI Reporter
Playwright AI Reporter is an enterprise-grade, production-ready test reporter that combines artificial intelli
Stagehand Agent
A powerful browser automation agent built with Stagehand that amplifies Playwright with act, extract, and obse
Sdet Skills
This project consists of AI agent skills for QA engineers and SDETs, covering test automation, playwright test
Related Agents
Outreach Drafter
Intent Outreach Phase-3 worker. Scores one lead's fit against the ICP and drafts grounded outreach (email or L
Leadmagic Outbound
Outbound-systems builder on LeadMagic. Invoke for ICP list building, account research and briefs, decision-mak
Sales Contacts
Sales Contact Intelligence Subagent