/cold-md:cold-experimentfrom cold-md
Designs single-variable A/B experiments for cold email outreach. Reads tier config, picks the variable (subject, opener, CTA, cadence, ESP matching, or tone), and writes a protocol with control/variant copy, sample size, guards, and decision rules.
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.
Designs one single-variable experiment at a time. It writes files only; it calls no API.
.cold/config.json exists and cold.md + icp.md are filled in/cold learn.cold/config.json: experiments.currentTier, minSamplePerVariant, minDaysBeforeRead, significanceLevel; guards.*.cold/beliefs.md: concluded winners (tier prerequisites)cold.md: current ## Sequence copy (the control), ## Voice, ## Banned.cold/last-import.json (optional): lead count, provider splitRead experiments.currentTier (default 1). For tier > 1, .cold/beliefs.md must hold a stable winner for the previous tier (a decision.md with Status: winner, applied to cold.md). If not:
Tier <N> needs a stable winner at tier <N-1> first.
Current state: <what beliefs.md shows>.
Conclude the active experiment with /cold learn, or set experiments.currentTier
in .cold/config.json to override.
Stop.
| Tier | Variable | Arms (pick 2) | Design | Min sample per arm | Min days |
|---|---|---|---|---|---|
| 1 | subject | statement / question / number-led | variant | 100 | 7 |
| 2 | opener (lines 1-2) | compliment / observation / direct-ask | variant | 150 | 10 |
| 3 | cta | calendar-link / reply-to-confirm / low-friction yes-no | variant | 200 | 14 |
| 4 | cadence | days between steps, e.g. 3 vs 5 | two-campaign | 300 | 21 |
| 4 | esp-matching | provider matching on vs off | two-campaign | 300 | 21 |
| 5 | tone | casual / formal | variant | config value | 30 |
experiments.minSamplePerVariant and the tier minimum (the ladder in spec/2026-04-28-autoresearch-design.md). Min days = the larger of experiments.minDaysBeforeRead and the tier minimum.esp-matching only makes sense when the senders include both Google and Microsoft mailboxes and the leads include both Google and Microsoft recipients (foxreach campaigns esp-mix on the last campaign, or last-import.json.providers). Otherwise there is nothing to match: offer cadence instead.--allow-tier-5, and say why.cadence or esp-matching with the user; the other stays for a later run.Check the lead count: two arms need 2 x sample size leads in the campaign. If last-import.json has fewer, say how many more /cold leads must bring in.
<YYYY>-W<ISO week>-<variable>-<arm-a-short>-vs-<arm-b-short>, for example 2026-W45-subject-statement-vs-question.
.cold/experiments/<id>/protocol.md:
---
id: 2026-W45-subject-statement-vs-question
created: 2026-11-03
variable: subject
design: variant # variant | two-campaign
step: 1 # the sequence step under test (step numbers start at 1)
hypothesis: |
Question subjects will get a higher interested-reply rate than statement
subjects for <ICP audience>, because <reason from icp.md pain signals>.
arms:
- id: arm_a_statement # control, FoxReach variant A
role: control
pattern: Declarative, under 8 words, no question mark
- id: arm_b_question # FoxReach variant B
role: variant
pattern: Question, under 8 words, ends with ?
control: # current cold.md copy for this step, verbatim
subject: "<subject>"
body: |
<body>
variant: # same copy, only the tested element changed
subject: "<subject>"
body: |
<body>
sample_size_per_arm: 100
min_days_before_read: 7
significance_level: 0.05 # experiments.significanceLevel
min_delta_pp: 2 # minimum absolute lift, percentage points
guard:
bounce_rate_max: 0.05 # guards.bounceRateThreshold
not_interested_rate_max: 0.30 # guards.notInterestedRateThreshold
success_criteria:
metric: interested replies / sent, per arm
test: two-proportion z-test
decision_rule: |
Winner when |delta| >= min_delta_pp AND p < significance_level
AND the 95% CI of the delta excludes zero.
extension_policy:
max_extensions: 2
extension_step_pct: 50
# Filled by /cold send. Never fill these by hand or by guess.
campaignId: null
campaignIds: [] # two-campaign design: [control campaign, variant campaign]
sequenceId: null # variant design: the step that carries the variants
variantIds: { control: null, variant: null }
variantLabels: { control: A, variant: B }
---
For a two-campaign design, control and variant hold the setting instead of copy (for example delayDays: [0, 3, 3] vs [0, 5, 5], or espMatching: false vs true), and the copy is identical in both campaigns.
Below the frontmatter, in prose:
icp.md and any .cold/research/ findings./cold draft refines the control and variant copy within the arm patterns. /cold send creates the step with the control copy, adds variant A (control copy) and variant B (variant copy) to it with foxreach sequences variants add, reads both variant IDs back and writes them into this file.Both arms must respect cold.md ## Voice and ## Banned.
If .cold/experiments/.active already names an experiment without a decision.md, ask: "Experiment <old-id> is still running. Conclude it with /cold learn first. Override? (y/N)". Then:
mkdir -p .cold/experiments/<id>
echo <id> > .cold/experiments/.active
Experiment: <id>
Variable: <variable> (tier <N>), design: <variant|two-campaign>
Arms: <arm a> (control) vs <arm b>
Sample: <n> sends per arm, read after <d> days
Test: two-proportion z-test, alpha <a>, min lift <pp>pp
Guards: bounce under <x>%, not-interested under <y>%
Leads needed: <2 x n> (have <m>)
Next: /cold draft, then /cold send
currentTier override.--allow-tier-5.foxreach sequences variants add / variants list output, written by /cold send..cold/experiments/<id>/protocol.md.cold/experiments/.active/cold learn consumes the protocol after min_days_before_readWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub foxreach/cold-md --plugin cold-md11 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-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./cold-leadsBuild the lead list for the next campaign. Sources leads from a CSV or from FoxReach Lead Finder, scores every lead against icp.md, verifies emails, imports the survivors into FoxReach and records their lead IDs in .cold/last-import.json for /cold send. Use when the user says "import leads", "find leads", "score these prospects", "filter to my ICP" or runs /cold leads.Other plugins' skills for the same job