Teach Your Claude Code to Send Cold Emails at Scale
Real SQL schemas, real TypeScript, real email templates. Everything below is from the actual skill file. Read it, learn it, then download the complete version.
What this skill file teaches Claude
Drop one markdown file into your repo. Claude Code learns how to run your entire cold email operation.
Lead Research
Find prospects via Apollo, LinkedIn, and Apify scrapers. Save directly to your Neon CRM.
Enrichment
Pull company data, recent news, tech stack, and job titles for every contact.
ICP Scoring
Score every lead 0-100 using a configurable framework. Only email high-fit prospects.
Personalized Emails
AI writes unique emails using real research -- company news, role-specific pain points.
Sequence Engine
Multi-step drip campaigns with configurable delays between emails.
Automation
Netlify cron function sends emails hourly via Resend API. Fully hands-off.
ICP scoring framework
Not all leads are worth emailing. Score every prospect 0-100 before you send.
Send immediately
High-quality lead. Matches your ICP on multiple signals. Priority outreach.
Nurture sequence
Decent fit but missing key signals. Add to a softer, longer sequence.
Skip entirely
Low fit. Don't waste sends. Bad-fit emails hurt deliverability.
What a good cold email looks like
Every effective cold email has the same five elements. Here's a real example with each one labeled.
Why lead magnet > book a call
"Would a 15-min call be useful this week?"
Asks for time before giving value. High friction. Low trust. They don't know you yet — why would they give you 15 minutes?
"I put together a guide on how [company] automated [pain point]. Here's the link."
Gives value first. Zero friction. Builds trust. If the guide is genuinely useful, they reply on their own — and now the call books itself.
The lead magnet doesn't have to be fancy. A short case study, a checklist, a benchmark report. Something that saves them 10 minutes of research. The goal is to prove you understand their problem before asking for anything.
The personalizer agent
These rules go into departments/sales/agents/email-personalizer.md. Claude Code follows them when writing every email.
First line must reference something specific about their company -- a recent hire, a funding round, a product launch. Never open with "hope this finds you well."
"Act now", "limited time", "guaranteed", "free trial", ALL CAPS subjects, excessive exclamation marks, "I'd love to connect."
Reference company news, recent blog posts, their tech stack, or a job listing. Generic emails get ignored. Specific emails get replies.
Ask a question they can say yes or no to. "Would a 15-min walkthrough be useful?" Not "let's hop on a call Tuesday at 3pm."
Short emails get replies. Long emails get archived. Count the words. If it's over 100, cut.
Use specific numbers from a real example. "PS: We helped a 30-person agency cut lead qualification from 12 hrs/week to 2." Not vague claims.
How the pipeline works
Six stages. Fully automated. One repo. Every stage feeds the next -- no exports, no data silos.
Shared CRM
Every stage reads from and writes to the same Neon Postgres database. When a lead is enriched, the score updates automatically. When an email bounces, the contact status changes everywhere.
Event-driven
Every action is logged: email_sent, email_opened, email_clicked, replied, bounced. Resend webhooks feed events back to your CRM in real-time.
Human-in-the-loop
AI drafts 100 emails. You review 5 minutes. Approve. Ship. The agent handles volume. You handle judgment.
Build the pipeline with plain English
Tell Claude Code what to do. It finds leads, scores them, writes personalized emails, and sets up automated sequences.
Found 47 leads matching ICP criteria: Source: Apollo API Filters: SaaS founders, 10-100 employees, Series A-B ✓ 47 contacts saved to Neon (source='apollo') ✓ 38 with verified business email ✓ Average company headcount: 42 → Ready for enrichment and scoring.
Scored 47 contacts using ICP framework: Score 70-100 (send now): 28 leads ✓ Score 50-69 (nurture): 12 leads Score <50 (skip): 7 leads ✗ Top leads: 1. Sarah Chen, VP Sales @ Acme Corp — 95 pts 2. Marcus Rivera, CEO @ LaunchPad — 90 pts 3. Priya Sharma, Head of Growth @ ScaleUp — 85 pts → 28 high-ICP leads ready for outreach.
Generated 3-email sequences for 28 contacts: ✓ 28 personalized intro emails (Day 0) ✓ 28 value-add follow-ups (Day 3) ✓ 28 breakup emails (Day 7) ✓ 84 total emails queued Personalization used: - Company news references: 24/28 - Role-specific pain points: 28/28 - Social proof PS lines: 28/28 → Sequence starts in 1 hour (next cron run). → Review the first 5 emails before approving.
Rate limits & deliverability
The skill file includes rate limits and deliverability rules so your domain reputation stays clean.
| Channel | Daily Limit | Notes |
|---|---|---|
| Resend | 100/day | Free tier. Upgrade for more. |
| LinkedIn connections | 20-30/day | Via Unipile API |
| Sequence engine | 50/hour | Configurable in cron function |
Deliverability rules
Get the full skill file
Everything above is 80% of the skill file. Download the complete version with full SQL migrations, agent prompts, cron function code, and setup instructions.
Common questions
Keep building your outreach stack
Related Solutions
More tools and workflows from across SoloStack
Free Email Marketing
Send campaigns with Resend API. No monthly fees, no subscriber limits.
ReplaceReplace HubSpot
Full CRM with contacts, deals, email sequences, and analytics. $3/mo vs $800/mo.
LearnMarketing Funnel
Learn how TOFU, MOFU, and BOFU content drives revenue.
Free ToolFree CRM
Unlimited contacts, zero per-seat pricing. AI-managed CRM in your repo.
Ready to send smarter?
Join the waitlist and get early access to the full SoloStack cold email system.
Join Waitlist →