/cold-md:cold-leadsfrom cold-md
Scores CSV or FoxReach Lead Finder prospects against icp.md, verifies emails, and imports qualified leads for cold email campaigns.
Ships in cold-md. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turns icp.md into a scored, verified list of FoxReach leads. It does not create a campaign; /cold send does that from .cold/last-import.json.
./icp.md (required; run /cold icp first).cold/config.json: leads.source, leads.verifyBeforeSend, leads.dropQualities, personalization.*. A v0.2 config without leads falls back to source: "csv", verifyBeforeSend: true, dropQualities: ["bad"]; suggest /cold init --upgrade once.--csv <path>: use a CSV (needs an email column; firstName, lastName, company, title, linkedinUrl, website recommended)--finder: use FoxReach Lead Finder--count N: how many leads to aim for (Lead Finder). Default: 2 x experiments.minSamplePerVariant, enough for one A/B.--threshold 0.5: minimum ICP fit scoreFOXREACH_API_KEY (otr_...) or a key saved with foxreach config set-key. Missing: stop and point to Settings > Integrations > API Keys in the app (https://www.foxreach.io).Source = --csv / --finder if given, else leads.source.
Score in batches of 20 leads per call:
Given this ICP:
<icp.md>
And these leads:
<rows as JSON>
Output strictly, one per lead:
{ "email_or_id": "...", "fit": 0.0-1.0, "reason": "<one sentence>" }
Drop every lead below the threshold. Never push a below-threshold lead; it burns credits and sender reputation.
icp.md exists, the CSV has an email column. Remove in-file duplicate emails (keep the first)..cold/scored-leads-<YYYY-MM-DD>.csv (adds fit_score, fit_reason) and the survivors to .cold/import.csv.personalization.perLead is true), see below.leads.verifyBeforeSend is true), see below.Paid workspaces only. A plan error from any Lead Finder call means the workspace is not on a paid plan: say so and offer the CSV route.
foxreach lead-finder credits --json. Show balance (reveal credits) and searchPagesUsedToday / searchPagesAllowedToday (each search page counts against the daily budget; counts do not).foxreach lead-finder filter-options --json returns the valid filter keys and values. Translate icp.md (titles, seniority, industries, company size, countries) into a filter object using only keys and values from that output; check https://www.foxreach.io/docs/api-reference/lead-finder/get-filter-options and https://www.foxreach.io/docs/api-reference/lead-finder/search-people when a key's shape is unclear. Never guess a key. Save to .cold/lead-finder-filters.json and show it.foxreach lead-finder count --filters "$(cat .cold/lead-finder-filters.json)" --json
Show total. Zero or far more than needed: tighten or loosen the filters with the user before searching.foxreach lead-finder search --filters "$(cat .cold/lead-finder-filters.json)" --page-size 50 --json
Page with --page-token <nextPageToken> until you hold about 2x --count candidates or the budget runs out (a 429 with lead_finder_search_cap means today's searches are used up; stop and work with what you have). Each person has id, firstName, lastName, title, company, companyDomain, linkedinUrl, location, industry, companySize, revealStatus, inLeads, leadId. Skip people with inLeads: true unless the user wants them.icp.md, drop below threshold, keep the top --count.revealStatus: "found" are reused at no charge. Print:
Reveal <n> people? Up to <n - already found> reveal credits (balance <balance>). (y/N)
Do not reveal without an explicit yes.curl -sS -X POST "https://api.foxreach.io/api/v1/lead-finder/reveal" \
-H "X-API-Key: $FOXREACH_API_KEY" -H "Content-Type: application/json" \
-d @.cold/reveal-batch-1.json
# body: {"people":[{"id":"...","firstName":"...","lastName":"...","title":"...","company":"...","companyDomain":"...","linkedinUrl":"..."}]}
Use this call rather than foxreach lead-finder reveal --person-ids: that CLI command sends only the person ID, and the API needs a name plus a company or domain to look up an email, so those people come back as unsearchable. The response has batchId, requested, charged, reused, inProgress, unsearchable, balance.pending is 0 (every 15 seconds; after 10 minutes stop and tell the user to rerun later):
foxreach lead-finder reveals-get <batchId> --json
Each row: id (the reveal ID), status, email, certainty, leadId, inLeads. Totals: found, notFound, errors, balance.foxreach lead-finder add-to-leads --reveal-ids <found reveal ids, comma-separated> --json
Returns added, restored, alreadyInLeads, skipped. Run reveals-get once more to read the leadId of every found reveal..cold/import.csv from the found reveals (email, firstName, lastName, company, title, linkedinUrl, website from companyDomain, fit_score, fit_reason) so /cold draft reads the same file for both sources.Revealed emails are already verified by Lead Finder. Do not run them through verification verify-bulk again.
Only when personalization.perLead is true. Budget personalization.perLeadBudget (default 2 searches per lead):
"<firstName> <lastName>" "<company>" (recent activity)"<company>" hire OR launch OR funding <current year> (company news)Cache to .cold/research/lead-personalization/<leadKey>.md (leadKey = the lead's CSV id, else the first 12 hex characters of sha256(lowercase(trim(email))), same as cold-research) with the signals (each with its source URL) and a one-line suggested hook. No useful result: write "no signal". Never block the import on research. If hooks exist, add a hook column to .cold/import.csv so it is imported as a custom field.
Skip when leads.verifyBeforeSend is false, and say that leads will go out unverified.
foxreach verification credits --json # balance
Only good and bad verdicts are charged, so the row count is an upper bound on the cost. If balance is below the row count, show both numbers and ask whether to verify part of the list, skip verification, or stop.
foxreach verification verify-bulk --input .cold/import.csv --output .cold/verified.csv \
--drop "$(jq -r '.leads.dropQualities // ["bad"] | join(",")' .cold/config.json)"
Add --email-column <name> if the column is not email. The output gains verification_quality, verification_result, verification_did_you_mean. Report counts of good / unknown / error from the output and the dropped count from the command's summary line. Rows with an empty quality could not be checked (invalid format): drop them. Import .cold/verified.csv instead of .cold/import.csv.
Build the mapping from the CSV header. Standard targets: email, first_name, last_name, company, title, phone, linkedin_url, website, notes. Every other column you want available as a {{variable}} (for example hook, fit_score) maps to custom:<name>. Use single-word or camelCase custom names: the CLI camel-cases snake_case keys.
foxreach leads import --file .cold/verified.csv --json --mapping \
'{"email":"email","firstName":"first_name","lastName":"last_name","company":"company","title":"title","linkedinUrl":"linkedin_url","website":"website","hook":"custom:hook","fit_score":"custom:icpFit"}'
The API accepts at most 1000 leads per request, so split larger files into parts of 1000 rows and import each. The result is created, restored, duplicates, errors; it does not return lead IDs.
Resolve lead IDs. For each imported email:
foxreach leads list --email "<email>" --json
Take the single match's id, status and createdAt. Drop leads whose status is bounced or unsubscribed from the list you hand to /cold send and report them. A lead created before this run started already existed in the workspace: record it under preExistingLeadIds so /cold send can check its history.
foxreach leads providers --json
Shows how the workspace's leads split by recipient mail provider (google, microsoft, zoho, yahoo, godaddy, other, gateway, unresolved). gateway means the domain sits behind a security gateway; unresolved means the lookup has not run yet and fills in after import. /cold send uses this split to decide on provider matching.
.cold/last-import.json/cold send reads this file. Keep the field names.
{
"importId": "2026-11-03-csv",
"source": "csv",
"importedAt": "2026-11-03T10:12:00Z",
"file": ".cold/verified.csv",
"threshold": 0.5,
"scored": 0,
"imported": 0,
"droppedBelowFit": 0,
"verification": { "by": "verify-bulk", "good": 0, "unknown": 0, "error": 0, "dropped": 0 },
"import": { "created": 0, "restored": 0, "duplicates": 0, "errors": 0 },
"leadIds": ["..."],
"preExistingLeadIds": ["..."],
"droppedStatus": { "bounced": 0, "unsubscribed": 0 },
"customFields": ["hook", "icpFit"],
"providers": { "google": 0, "microsoft": 0, "other": 0, "unresolved": 0 },
"personalization": "disabled"
}
verification.by is "verify-bulk", "lead-finder" (reveals) or "none". For Lead Finder, also store "revealBatchIds" and "creditsCharged". Fill every count from real command output; never estimate.
Leads ready: <n> (source <csv|lead-finder>)
Scored <n>, dropped <n> below fit <threshold>
Verification: <good> good, <unknown> unknown, <dropped> dropped (<by>)
Import: <created> created, <restored> restored, <duplicates> already in workspace
Providers: <google> Google, <microsoft> Microsoft, <other> other, <unresolved> not looked up yet
Next:
/cold experiment Design the A/B
/cold draft Write control and variant copy
/cold send Pre-flight, create the campaign, start
.cold/docs-cache/foxreach-openapi.json (from https://api.foxreach.io/openapi-public.json).https://api.foxreach.io/api/v1/<path> and -H "X-API-Key: $FOXREACH_API_KEY".https://www.foxreach.io/docs/api-reference/<group>/<page> (for example .../campaigns/create-campaign).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/cold-draftDraft cold email openers, bumps, breakups and replies from a cold.md file, write FoxReach-ready step templates (with {{variables}} and optional spin syntax) and experiment variants, and lint cold.md or drafts against the spec. Use when the user asks to write a cold email, sequence, bump, breakup, reply or objection response, runs `/cold draft`, `/cold bump`, `/cold breakup` or `/cold lint`, or when a cold.md file exists at the repo root. Enforces the cold.md spec (https://cold.md): banned phrases, voice rules, proof list, sequence constraints and audience disqualifiers./cold-experimentDesign the next A/B experiment in the cold.md loop. Reads the current tier, picks the one variable to test, writes the control and variant copy, sample size, guards and decision rule into a protocol under .cold/experiments/, and marks it active for /cold draft, /cold send and /cold learn. Use after /cold leads and before /cold draft, or when the user says "design the next experiment", "what should we test next", "set up the A/B" or runs /cold experiment./cold-icpBuild your Ideal Customer Profile (ICP) and write it to icp.md for the rest of the cold.md suite to consume. Use when the user says "build my ICP", "define my target audience", "who should I sell to", "analyze my website for ICP", or when starting a new cold outreach project. Can bootstrap from a URL (scrape homepage, about, pricing, case studies) or run an interactive Q&A. Validates the draft with web research and, when a FoxReach key is set, an optional free Lead Finder count. Writes a structured icp.md that cold-leads, cold-draft, and cold-send all read.npx claudepluginhub foxreach/cold-md --plugin cold-mdOther plugins' skills for the same job