Build a lead list in Claude Code with a check at every layer, then save it
An AI assistant builds a cold email list one layer at a time, from who you won and lost to verified contacts, with a check before each step. The finished run is saved so the next list takes one request.
Curated by Andrew Donato, Editor. Reviewed .
Get one setup like this every Thursday, by email.
Written for sales leaders running leaner teams.
Free. One email a week. Unsubscribe anytime.
Paste this into ChatGPT, Claude or your agent tool. See the prompt
- Prospecting / Outbound
- intermediate
- SDR manager
- Sales leader
- Founder
- RevOps
- Category
- Prospecting / Outbound
- Difficulty
- Intermediate
- Est. cost
- Not stated by source; a Claude plan plus contact database credits (each search page of up to 25 results costs one credit, sourced from the article), and your CRM and sequencer plans
What problem does this solve?
Low reply rates usually start with the list, not the copy. Lists pulled in one big search mix in current customers, open deals, competitors, old records and people who changed jobs, and every new list gets rebuilt from scratch.
How is the agent set up?
Michel Lieben of the outbound agency ColdIQ lays out the list build his team runs in Claude Code, in an X article published Nov 26. Claude Code connects to three tools through MCP: Prospeo (a B2B contact database) for companies, people and emails, folk (the CRM where ColdIQ keeps its deals) for won and lost deals, and Instantly as the sequencer the finished list goes to. The person owns the ICP, the exclusions and the final read; Claude turns plain-language requests into searches. The build runs in layers, each removing one kind of wrong row. First, test the data connection with a small search that shows its filters and skips enrichment, so the test costs almost nothing. Next, pull every closed-won and closed-lost deal and ask what the winners share that the losers do not, then describe the buyer in plain words and let Claude translate that into database filters and a 50-account sample. Then seed lookalikes from five best customers, find about 200 similar companies, and strip out everything in an exclusions file (customers, open deals, competitors and churned accounts in the author's framing), reporting how many were removed and why. Then find a decision maker, an end user and a likely champion per account, with verified emails for all and mobiles only for decision makers, after Claude checks the credit balance and states the most the step can cost. Then re-enrich everyone, drop anyone whose email is not verified or who no longer works at the account, and show 20 random rows for a human spot check. Finally, the whole run is saved as a Claude Code skill (build-lead-list) that asks for the client and five seed domains and pushes the list to Instantly. The article publishes its prompts; they are quoted below with credit.
What prompt does it use?
Prompts published by Michel Lieben (ColdIQ) in "How to build lead lists in Claude Code (for really cheap)", run in order in Claude Code with Prospeo, folk and Instantly connected. 1. Test the connection: List the Prospeo tools you can use. Then find 5 heads of sales at software companies in the UK with 50 to 200 employees. Show me the filters you used. Don't enrich anyone yet. 2. Learn from won and lost deals: Pull every closed-won and closed-lost deal from folk. Compare them on industry, headcount, country and the title of the person who signed. Tell me what the won deals share that the lost ones don't. 3. Turn the buyer into filters: Our buyer: [paste your description]. Turn it into Prospeo filters. List each filter with the value you picked, then pull 50 accounts as a sample. 4. Lookalikes minus exclusions: Here are our 5 best customers: [5 domains]. Look up their Prospeo company IDs, then use the AI Lookalikes filter with those IDs to find 200 similar companies. Then remove every domain in exclusions.csv and tell me how many you removed and why. 5. Contacts per account, with a cost check: For each account, find the decision maker, the end user and a potential champion, by title and seniority. Enrich everyone with a verified email, and add a mobile for decision makers only. Before you start, check my credit balance and tell me the most this can cost. 6. Re-verify and spot check: Re-enrich every person on the list. Drop anyone whose email isn't VERIFIED or whose current company no longer matches the account. Then show me 20 random rows with their title, company and email status. 7. Save the run: Save everything we just did as a skill called build-lead-list. Include the filters, the exclusion file, the checks, the cap per company and the push to Instantly. Ask me for the client and the 5 seed domains when it starts. Save it in .claude/skills/build-lead-list/SKILL.md.
Replace every {{PLACEHOLDER}} before running. Works with any capable LLM and runner.
Get 5 setups like this every week, free.
Real agent setups with prompts, sources and failure modes, in one short weekly email.
Free. One email a week. Unsubscribe anytime.
What tools does it use?
How do you set it up?
- Connect your contact database, your CRM and your sequencer to Claude Code as MCP servers, using each tool's own API key or sign-in.
- Run a small test search that shows the filters it used and skips enrichment, and confirm the results match before building anything.
- Pull your closed-won and closed-lost deals and have Claude compare them on industry, headcount, country and signer title.
- Describe your buyer in plain words, let Claude turn it into database filters, and review a 50-account sample.
- Seed lookalikes from five best customers, then remove every domain in an exclusions file of customers, open deals, competitors and churned accounts, with a count of what was removed and why.
- Find three roles per account (decision maker, end user, likely champion), but only after Claude reports your credit balance and the most the enrichment can cost.
- Re-verify every contact, drop unverified emails and people who left the account, and read 20 random rows yourself.
- Save the whole run as a skill that asks for the client and seed domains, so the next list is one request.
What results are reported?
The author says ColdIQ's review of over a million cold emails in Instantly found large blasts replying at 2 to 3% while lists of 500 to 1,000 people with a reason to reply reached 20 to 30%, and that campaigns that took days to launch now take hours with their Claude Code skills. These are the agency's own figures with no method shown. Read the X article.
What goes wrong
Where does this break?
- Plan limits shape the build: in the article, the database's API and its funding, technology and lookalike filters start on a paid tier, job-change data needs a higher one, and pipeline stages in folk need its Premium plan.
- The lookalike step needs the contact database's own MCP server; the author notes company search is not available through ColdIQ's combined data connector yet.
- Enrichment spends credits fast, which is why the prompt makes Claude state the worst-case cost before it starts. Keep that line in the saved skill. (editor note)
- A won-versus-lost comparison from a small number of deals can point at noise; read the pattern against what your reps know before turning it into filters. (editor note)
- The exclusions file is only as good as its last export from the CRM; refresh it before every run or the list will re-contact open deals and customers. (editor note)
- The author's agency offers its own data connector that bundles this contact database among other providers, so treat the tool choices as one working stack, not a neutral comparison. (editor note)
This is where most teams get stuck. Want us to handle the setup?
Source and credit
Michel Lieben (ColdIQ), X article "How to build lead lists in Claude Code (for really cheap)" · x
Source dated 2026-11-26 · last reviewed 2026-11-27. Summarized in our own words; see the source for details.