/cold-md:cold-triagefrom cold-md
Triages unread FoxReach cold-email replies into categories, drafts responses to interested leads from cold.md, and sends only after user approval.
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.
Keeps the inbox sorted and drafts responses to the replies worth answering. Reads from FoxReach, writes categories back, never sends on its own.
/cold triage [--campaign ID]/schedule "0 9 * * *" "/cold triage" in Claude Code)cold.md: ## Objections (reply patterns), ## Voice, ## Banned, ## Proof.cold/last-send.json: current campaign id (used when --campaign is not given).cold/config.json: trust.humanApprovalRequired (default true)FOXREACH_API_KEY (keys start with otr_; create one in the app under Settings > Integrations > API Keys)These are the only values foxreach inbox update --category accepts. The public API rejects anything else.
| Category | Meaning | What triage does |
|---|---|---|
interested | Wants info, a call, pricing, a sample | Draft a response, surface to the user |
not_interested | Clear no | Mark read |
out_of_office | Auto-reply or away notice | Mark read, note the return date if one is given |
bounce | Delivery failure | Mark read, no reply (FoxReach handles bounces) |
unsubscribe | Asks to be removed | Confirm with the user first, then set. Setting it unsubscribes the lead |
uncategorized | FoxReach could not decide | Re-read and pick one of the above |
unknown | Needs a human | Surface to the user as-is |
unrelated | Not about the campaign | Mark read; hidden from the inbox list by default |
warmup also exists as a category but it is warmup traffic, hidden from inbox list by default and not settable through the API. Skip it.
Side effects worth knowing:
out_of_office to any other category stops that lead's active sequence, the same as a real reply would.out_of_office never restarts a stopped sequence.unsubscribe unsubscribes the lead. This is why it needs a yes from the user.CAMPAIGN=${CAMPAIGN:-$(jq -r '.campaignId // empty' .cold/last-send.json 2>/dev/null)}
foxreach inbox list --unread ${CAMPAIGN:+--campaign "$CAMPAIGN"} --limit 100 --json > .cold/tmp-unread.json
jq '.data | length' .cold/tmp-unread.json
If meta.total_pages is greater than 1, repeat with --page 2, --page 3, and so on. If the count is 0, print "No unread replies." and stop.
The CLI prints snake_case keys. Each item has id, from_email, subject, category, is_read, campaign_id, lead_id, received_at. The list does not carry the body.
foxreach inbox get REPLY_ID --json # body, body_plain, category
foxreach inbox conversation REPLY_ID --json # the whole back-and-forth, for context
Use inbox get for every thread and inbox conversation for anything you will draft a response to. Do not pass --mark-read here; the read flag is set in Step 4 together with the category.
uncategorized or unknown, unless the body plainly contradicts it (for example an out-of-office notice that also says "yes, send it over").uncategorized threads, classify the body against the table above and cold.md ## Objections. Produce {replyId, category, reason} with a one-sentence reason.unknown for anything you would not bet on.Print the plan before changing anything:
Triage plan (7 unread):
interested 2 drafts will be written
not_interested 2 mark read
out_of_office 1 mark read (back 2026-11-10)
uncategorized 1 -> interested (asks what it costs)
unsubscribe 1 needs your OK: "please remove me" from [email protected]
Apply? (y/n/edit)
When trust.humanApprovalRequired is true (the default), wait for y. unsubscribe always waits for an explicit yes, even when approval is otherwise off.
There is no bulk update command. Loop:
foxreach inbox update REPLY_ID --category interested --read --json
foxreach inbox update REPLY_ID --category not_interested --read --json
foxreach inbox update REPLY_ID --read --json # mark read, keep the category
If the user prefers to see interested and unknown threads in the FoxReach inbox as unread, set the category without --read.
Record every thread where you overrode FoxReach's category in .cold/decisions.md (date, reply id, old category, new category, reason).
For each interested thread:
cold.md ## Objections first (intent, not exact wording). If one matches, start from its preferred reply and edit only to reference what the person said.## Value and ## Proof..cold/research/lead-personalization/<leadKey>.md, keyed as in cold-research).## Voice, cite only ## Proof, and run the ## Banned check (case-insensitive). Regenerate up to 3 times, then stop and surface the conflict..cold/drafts/replies/<replyId>.md. The body goes below the frontmatter and nothing else does, so the file can be sent as-is:---
replyId: <id>
leadEmail: <from_email>
category: interested
theirReply: "<one-line quote>"
objectionMatched: "<quoted objection, or none>"
proofCited: "<lines from ## Proof, or none>"
bannedCheck: pass
draftedAt: <ISO timestamp>
---
<drafted response body>
Never put a number, client name, link or price in a draft unless it is in cold.md.
Show each draft and ask "send / edit / skip". On "send":
BODY=$(awk '/^---$/{n++; next} n>=2' .cold/drafts/replies/REPLY_ID.md)
foxreach inbox reply REPLY_ID --body "$BODY" --json
Add --subject "..." only if the user wants a different subject. FoxReach refuses to send to a lead who has unsubscribed; surface that error as-is. Move sent drafts to .cold/drafts/replies/sent/.
Triage complete (7 unread -> 0)
interested 3 (1 re-categorized) drafts: .cold/drafts/replies/
not_interested 2 marked read
out_of_office 1 marked read
unsubscribe 1 set after your OK
replies sent 1 skipped 2
CLI first. If foxreach is missing, use curl against $baseUrl/api/v1 (baseUrl from .cold/config.json, default https://api.foxreach.io). Curl responses use camelCase keys under .data (for example bodyPreview, isRead, campaignId).
H="X-API-Key: $FOXREACH_API_KEY"
curl -s -H "$H" "https://api.foxreach.io/api/v1/inbox/threads?isRead=false&pageSize=100"
curl -s -H "$H" "https://api.foxreach.io/api/v1/inbox/threads/REPLY_ID"
curl -s -H "$H" "https://api.foxreach.io/api/v1/inbox/threads/REPLY_ID/conversation"
curl -s -X PATCH -H "$H" -H "Content-Type: application/json" \
-d '{"category":"interested","isRead":true}' \
"https://api.foxreach.io/api/v1/inbox/threads/REPLY_ID"
curl -s -X POST -H "$H" -H "Content-Type: application/json" \
-d '{"body":"..."}' "https://api.foxreach.io/api/v1/inbox/threads/REPLY_ID/reply"
If the CLI and curl both fail, read the docs pages below and tell the user exactly what failed.
unsubscribe without an explicit yes.bounce, out_of_office, unrelated or warmup threads.cold.md ## Banned in every draft..cold/decisions.md..cold/drafts/replies/<replyId>.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cold-email, inbox-triage, reply-drafting, foxreach, outreach
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./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./cold-learnRead the active experiment's per-variant results from FoxReach (inbox categorize-stats), check the bounce and not-interested guards, run a two-proportion z-test on interested-reply rate, and record the outcome. On a winner it updates beliefs.md and decisions.md, proposes a cold.md diff (or applies it once trust is earned) and tells the user how to promote the winning variant in the FoxReach app. Use once min_days_before_read have passed since /cold send, or when the user says "read the experiment", "what did we learn", "is the test done" or runs /cold learn./cold-offerRefine your value proposition (the "## Value" section of cold.md) using competitor pricing, market trends, and case studies. Searches the web for what comparable products charge, what pain points the target market is talking about, and what proof patterns work. Writes findings to .cold/research/ and proposes a tightened one-sentence value statement to commit to offer.md and cold.md. Use when starting a new project after /cold icp, or when the user says "tighten my offer", "refine my value prop", "what should I be charging", "validate my offer".npx claudepluginhub foxreach/cold-md --plugin cold-mdOther plugins' skills for the same job