How I Get 8M+ Leads Using Claude Code (For Cold Email)

15 min: how his agency builds lead lists of millions locally with Claude Code instead of Clay (they were the biggest Clay user, 17.3M enrichments/week), waterfall across providers via API, ICP from client docs. Free skills linked. Also says

playbook
Last updated Nov 21, 2026

Tools featured in this playbook

This article was originally posted on YouTube

Last week, one person on my team uploaded around 8 million leads for our cold email campaigns. She did it on a 16 GB MacBook Air, without any of the software most people use for lead generation. No Clay, no Apollo, no tables, no row caps, no seat limits. Just Claude Code running on her laptop.

We used to spend 25 grand a month on lead data and the software to process it. The processing side now costs us a $200 a month Claude Code subscription.

What this used to require

The standard setup is a series of SaaS tools stacked on top of each other. Most people get a Clay subscription and load leads into tables. On the new pricing you pay for every row, there are row caps per table (around 50,000) and seat limits.

To be extra clear: I think Clay is a great product and most people should use it. It just stopped working for us about a year ago. We were doing about 17.3 million enrichments a week there, and one of their higher-ups told me we probably used the platform more than anybody else. In that model, the work you can do is capped by what you're willing to pay.

So we rebuilt it with custom code. First on a cloud: that waterfall enriched about a quarter of a million rows per second, where Clay took about 27 hours for 1 million leads. Since then it got so simple that we don't use the cloud system anymore. Everything runs on our local MacBooks. All you need is Claude Code and a good data source.

The system: two Claude Code skills

You run one, then the other.

Skill 1: the interview and the plan (pure language, no code)

It tells your agent what our process is, which providers we use and in what order. It interviews you:

  • Who do you want to target?

  • What size list are you building?

  • What are your requirements?

It comes back with a plan before it touches anything. You can tell it to use different providers or reorder the waterfall. It may also point out what you're missing, like a sequencer or a data provider.

The quality of the whole run is decided here. We give every client a campaign ideation doc during onboarding (ICP, soft requirements, total addressable market). Instead of answering the interview, we hand the agent that doc. If you have an ICP doc, a positioning doc or notes from past campaigns, link them.

Skill 2: the processing (pure code)

This is where most people go wrong. The second skill is code only. It:

  • Strips out role addresses like info@ and sales@

  • Formats everything correctly

  • Deduplicates the list

A lot of people let their agent "think through" a CSV file. Don't. Having an AI read one row, make a decision and go to the next, a million times over, is horrible for your context window. Run code on the file. That is how we process millions of leads so cheaply.

What a run looks like

1. Context

The agent ingests your raw CSV or your brief, as described above.

2. Search

Searching means something like "find me everybody who is manager and above in marketing at XYZ types of companies". It could even be a Google scrape. None of the providers are apps you log into. You get an API key from each one, and Claude calls them directly from your machine. The skill only tells the agent which provider to hit first and which comes next.

3. Find and validate (the waterfall)

The important parts of any waterfall are searching, finding and validating.

  1. Go to the first data provider and get an email.

  2. Run it through a validator.

  3. Valid? Upload it. We get less than a 2% bounce rate.

  4. Invalid? Go to the next data provider (Blitz, AI Ark, whichever you use) and repeat until you find a valid one.

Example output: companies with a headcount over 250 and at least 70 people in the sales department. That gave me 380,000 sales leaders, plus the list of qualifying companies, which I can feed into any other search provider like Blitz or Prospeo.

4. Export

The agent asks where the data should go: your sequencer, your CRM. You tell it "use this endpoint to upload my leads to XYZ campaign". If you send through Instantly or Smartlead, their APIs make that easy.

Our own export is more awkward. We send through an enterprise partner under NDA, so we split lists into chunks of 5,000 and a third skill uses a browser agent to upload the files overnight. You don't need that.

What we don't do

  • Personalization. You could dispatch a sub-agent to research line by line. We stopped. About six months ago it stopped being effective, and we still test it. Our RB2B campaigns, some of the best we've ever run, had none. The email was "here's what the tool does, do you want it? Reply yes." A good offer is the only thing that matters.

  • Lead scoring. Our take: email a client's total addressable market with a single email every 30 to 60 days, so we don't burn the market. One email, not a four-part sequence. If you have intent data, a sequence may be justified.

Other uses

The same list works for LinkedIn outreach, calls and LinkedIn ads. For ads you can take the profile URLs straight out of the search and skip the waterfall.

The two skills are linked in the video description.

Comments

Login to leave a comment