rea-tool-design
MOmorluto/rea486k8,943 new stars in the last 7 days
Upload a CSV of leads + a variants YAML (produced by /campaign-copywriting) to Smartlead as a DRAFT campaign. Handles tag-scoped inbox selection, A/B/C variant assembly, custom field mapping, schedule config, and batch lead upload. ALWAYS creates in DRAFT — you review in Smartlead UI and hit Start manually. Use after /campaign-copywriting, just before the campaign goes live.
Takes a variants.yaml (written by /campaign-copywriting) and a leads.csv (from your list-building skills) and creates a DRAFT campaign in Smartlead. You review the result in the Smartlead UI and press Start manually.
This skill does NOT ship any email copy. Copy comes from /campaign-copywriting. This skill is the mechanical upload layer — API calls only.
Cold email launches should never happen from a script. You hit Start in the Smartlead UI after reviewing:
The script sets all of this up in DRAFT so the review is trivial — verify and click Start.
leads.csvRequired columns:
emailfirst_namelast_namecompany_nameOptional columns (passed through to Smartlead as custom fields):
company_domaintitlelinkedin_urlsituation_line (AI-generated per-lead context)value_line (AI-generated value mapping)cta_line (AI-generated CTA angle)Additional AI variable columns produced by /campaign-copywriting or /personalization-subagent-pattern — named fields only. The script does NOT accept arbitrary columns; this is intentional. If you need to add a field, update this skill.
variants.yamlProduced by /campaign-copywriting. Schema is in references/variants-schema.yaml.
Minimum required: name, schedule, inbox_selection, sequences with at least one step.
export SMARTLEAD_API_KEY=xxx
npx tsx scripts/upload.ts \
--leads=profiles/<slug>/campaigns/<campaign-slug>/leads.csv \
--variants=profiles/<slug>/campaigns/<campaign-slug>/variants.yaml
Output:
✓ Campaign created: #12345678
✓ Sequence saved (3 steps, 3 variants on step 1)
✓ 20 inboxes attached (tag=active, LRU by daily_sent_count)
✓ 1,847 leads uploaded (20 batches)
✓ Schedule set (M-F 08:00-17:00 EST, 30/day/inbox)
Campaign is in DRAFT. Review + Start:
→ https://app.smartlead.ai/app/email-campaign/12345678
SMARTLEAD_API_KEY required)leads.csv — validate required columns, count rowsvariants.yaml — built-in minimal parser (~30 lines, no external dep)POST /campaigns/create → get campaignIdPOST /campaigns/{id}/sequences with all A/B/C variants/email-accounts?limit=100, filter by tag, sort by daily_sent_count ASC (LRU), attach top NPOST /campaigns/{id}/settings (track off, stop on reply)POST /campaigns/{id}/schedule with YAML values/smartlead-inbox-manager to tag inboxes as active before running this upload.inbox_selection.count exceeds tagged inboxes, the script attaches all available and warns./campaign-copywriting didn't produce the exact schema, the script fails fast with a clear error pointing at the offending field./list-quality-scorecard.Open the Smartlead URL printed at the end. Review the campaign. Hit Start when satisfied. The script deliberately does not auto-activate.
After Start:
/positive-reply-scoring on the campaign to measure./email-deliverability-audit --days=7 (see /cold-email-weekly-rhythm).Or wait: if the best-practice check flagged issues, go back to /campaign-copywriting and revise before uploading.
/campaign-copywriting — produces variants.yaml/smartlead-inbox-manager — required prep: inboxes must be tagged active before upload/list-quality-scorecard — dedupe + verify leads.csv before upload/positive-reply-scoring — run 21 days post-launch to measure/cold-email-weekly-rhythm — operational cadence after launchscripts/upload.ts — the upload scriptreferences/variants-schema.yaml — blank schema reference (no example copy content)references/leads-csv-schema.md — column specMOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days
THthedotmack/claude-mem121k1,626 new stars in the last 7 days