/warm-outbound-engine:warm-outbound-enginefrom warm-outbound-engine
Builds warm outbound sequences from LinkedIn post engagement data. Scrapes engagers, scores leads against ICP, stages personalized outreach into HeyReach, Instantly, AgentMail, or Gmail. Includes a research-backed cold outreach library and recurring autopilot mode.
Ships in warm-outbound-engine. 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.
Read when SKILL.md points to them.
Outbound sourced from engagement, not from a list. Every lead in the table
did something in public first: reacted to, or commented on, a post about the
problem you solve. Builds on the base lead-generation skill for the
enrichment mechanics — read that for per-tool detail; this one adds the
engagement source, the scoring gate, the first message, and the four sending
lanes.
The intended arc: run it once end to end in this client, look at what it staged, then put it on autopilot: the same sweep daily or every other day, on this client's own scheduler or a deployed superagnt agent (step 7).
This skill ships a reference library in references/, researched September
2026 from full YouTube transcripts (Alex Hormozi, Nick Abraham, Alex
Berman), Nick Abraham's LinkedIn outreach posts on X, and agnt_'s own
production system. Read the matching file before the step that needs it,
and prefer it over generic outreach folklore.
references/icp-scoring-rubric.md: the two-layer scorer (a narrow gate,
then one holistic score against the ICP description) and the weekly
calibration loop. Read before step 4.references/cold-outreach-playbook.md: targeting, connection requests,
first messages, follow-ups, replies, sending limits and benchmarks, per
lane. Read before step 5.references/free-resource-first-touch.md: build each qualified lead a
personalized asset from their own data and offer it instead of a pitch.
Read when step 1 set a first_touch_asset.references/webhook-auto-reply.md: vendor webhooks into a deployed agent
that classifies replies, logs them, and drafts or sends answers under
approval.references/autopilot-agent-team.md: the deployed version of step 7, a
recurring agent team on superagnt: the team shape, data jobs for the
per-lead work, cadence, cost, and how real deployments broke.For LinkedIn via HeyReach, also load the platform's own doctrine:
agnt_guidance_load({ "name": "linkedin-outreach" }).
No references/ folder next to this file (a harness that saved only
SKILL.md)? Fetch the one you need from
https://raw.githubusercontent.com/superagnt/plugins/main/plugins/warm-outbound-engine/skills/warm-outbound-engine/references/<file>.
If that fails, say so once and proceed: the steps below stand alone.
Codex: superagnt's tools can take a few seconds to appear in a new chat. If none are listed, wait about 10 seconds and check again before concluding superagnt isn't connected or falling back to web search.
agnt_tools_list_enabled; if missing on a flat server:
agnt_tools_enable({ "families": ["data:linkedin", "database"] }) (the
first-party data_agnt_* people/company tools are always on). A grouped
server already serves every data source and the database: nothing to enable.
That is the whole first run — do not enable a sending lane yet.
requires_upgrade → confirm_url to the user → wait → re-run. (The
warm-outbound-engine skill endpoint pre-enables these two.)
This skill writes flat (per-operation) names. New servers list grouped tools
instead: one tool per resource with an action argument. Flat names still
resolve there but are not listed, so most clients will not let you call
them. The calls this skill makes:
| Flat | Grouped tool, action |
|---|---|
data_linkedin_search_posts / _search_post_by_hashtag | data_linkedin_search: posts / hashtag_posts |
data_linkedin_get_company_s_post | data_linkedin_companies: posts |
data_linkedin_get_profile_s_posts | data_linkedin_activity: posts |
data_linkedin_get_post_reactions | data_linkedin_posts: reactions |
data_linkedin_get_profile_post_comment | data_linkedin_posts: comments |
data_linkedin_get_profile_data_by_url | data_linkedin_profiles: profile_by_url |
data_linkedin_get_company_by_domain | data_linkedin_companies: by_domain |
data_agnt_companies_enrich | data_agnt_companies: enrich |
data_agnt_people_email_finder / _email_verifier | data_agnt_contacts: find_email / verify_email |
agnt_db_select | agnt_db_read: select |
agnt_db_insert / agnt_db_upsert | agnt_db_write: insert / upsert |
agnt_db_execute_sql | agnt_db_sql: execute_sql |
agnt_tools_enable | agnt_tools_write: enable |
agnt_guidance_load | agnt_guidance_read: load |
connection_heyreach_campaign_get_by_id / _get_sequence | connection_heyreach_campaigns_read: get / sequence |
connection_heyreach_list_add_leads_v2 | connection_heyreach_list_members_write: add_leads |
connection_heyreach_campaign_add_leads_v2 | connection_heyreach_campaign_leads_write: add |
connection_heyreach_campaign_start | connection_heyreach_campaigns_write: start |
connection_instantly_listcampaign | connection_instantly_campaigns_read: list |
connection_instantly_bulkaddleads | connection_instantly_leads_write: add |
connection_instantly_activatecampaign | connection_instantly_campaigns_write: activate |
connection_agentmail_create_inbox | connection_agentmail_inboxes_write: create |
connection_agentmail_create_draft | connection_agentmail_drafts_write: create |
connection_agentmail_send_draft / _reply_to_message | connection_agentmail_messages_send: send_draft / reply |
connection_agentmail_list_messages | connection_agentmail_messages_read: list |
connection_gmail_save_draft | connection_gmail_mail_write: save_draft |
connection_gmail_send_email | connection_gmail_mail_send: send |
agnt_tools_list_enabled keeps its name on both surfaces. connection_* tools
are grouped the same way as the rest; the lane calls are in the table.
Grouped data calls return a markdown table that drops fields this skill
keys on. Pass response_format: "json" on every LinkedIn call in steps 3
and 4: you get every field of the view instead of the default columns. Then
posts carry urn (the comments call takes it) and url; reactions carry
urn (the member id for linkedin_member_urn) and url (the reactor's
profile); comments carry author_url (the commenter's profile) and url,
which is the link to the comment itself, never a lead's profile. For any
field the view does not carry, such as a post author's profile URL, pass
response_format: "raw": the full payload, exactly what the flat tool
returns.
Ask once, in one message, and draft what you can from their website so they only have to correct it:
references/icp-scoring-rubric.md);references/free-resource-first-touch.md; if they
have nothing, skip it and the plain opener still works.Create the tables. If they exist from an earlier version of this skill, add the missing columns instead of recreating them:
icp_profile(id, sells text, problem text, icp_description text,
trigger_signals text, target_geography text, personas text,
do_not_contact text, qualify_threshold int default 50,
lane text, first_touch_asset text, updated_at timestamptz)
watchlist(linkedin_url unique, kind text, name text, added_at timestamptz)
leads(id, person, linkedin_url unique, linkedin_member_urn unique, title,
company, company_domain, email, email_verified boolean,
source_kind text, pond text, source_post_url, engagement text,
engagement_text text, persona text, fit_score int, fit_reason text,
opener_variant text, first_message text, status text,
staged_at timestamptz, replied_at timestamptz, reply_intent text,
updated_at timestamptz)
search_history(term, kind, pond, searched_at default now())
scraped_posts(post_url unique, post_urn, pond, term_used, author, snippet,
scraped_at)
Then write the answers to icp_profile (agnt_db_insert) and the watchlist
(kind is competitor or creator). The do-not-contact list goes in before
the first scrape: engager lists are full of competitors, and messaging one
is the fastest way to get your outreach posted about.
Upsert key on leads is linkedin_url — it is the only identifier that
survives a job change. LinkedIn also spells the same person as an encoded
member id (ACoA…) in some payloads, so keep linkedin_member_urn too and
dedupe on both. On a grouped server the default markdown view leaves out
the member id and a commenter's profile URL: request
response_format: "json" (see Step 0).
Where you fish matters more than how hard. There are three ponds, and only one of them is the obvious one:
watchlist. Everyone reacting to a competitor's product content is
already shopping; a creator's audience is the buyer by construction.Over a week, aim for roughly 40% buyer-behavior searches, 30% watchlist and 30% topic. A run gives its searches to one or two ponds rather than all three shallowly; the first run covers all three.
Do not keep a fixed keyword menu. Generate 3–6 fresh searches per run
from the ICP description, steered by two queries. Run both with
agnt_db_execute_sql; agnt_db_select can't express a join or a
now() - interval filter:
-- what has actually converted, per pond and term
SELECT sp.pond, sp.term_used, count(l.id) AS leads,
count(*) FILTER (WHERE l.fit_score > 50) AS qualified,
count(*) FILTER (WHERE l.replied_at IS NOT NULL) AS replied
FROM scraped_posts sp JOIN leads l ON l.source_post_url = sp.post_url
GROUP BY 1, 2 ORDER BY replied DESC, qualified DESC;
-- what not to repeat yet
SELECT term FROM search_history WHERE searched_at > now() - interval '14 days';
Write more phrases like the families with replies; drop the phrasing patterns that produced leads and no replies. Never reuse a term from the 14-day window; everything older is fair game again. Give the next run's searches to the pond that is producing.
The single highest-leverage rule here: write the language your BUYER posts in, not the language your industry sells in. Category and execution terms ("shelf reset", "category review", "Q3 launch at Target") surface posts whose engagers are buyers. Vendor/martech terms ("retail media network", "martech stack") surface posts engaged with by other vendors, and a run of those poisons the table with people who will never buy. Test every generated term: would a buyer plausibly write or react to a post using this phrase?
Insert each term into search_history with its kind (keyword,
hashtag, watchlist) and pond as soon as its search call returns,
zero results included, so a run that dies halfway keeps the history of what
it actually searched. A term whose call failed (credits, provider error) is
not recorded and stays eligible next run.
data_linkedin_search_posts for keyword
searches (buyer behavior and topic), data_linkedin_search_post_by_hashtag
for hashtags (topic only), and for a watchlist entry
data_linkedin_get_company_s_post (a company page) or
data_linkedin_get_profile_s_posts (a person), taking its 1–2 most
engaged posts from the last couple of months. 3–5 posts per run across
all ponds — that cap is deliberate, it is the run's whole data cost.scraped_posts. Record the rest, with their
pond, as you take them.data_linkedin_get_post_reactions for reactors,
data_linkedin_get_profile_post_comment for commenters (grouped:
data_linkedin_posts actions reactions and comments, with
response_format: "json"). Take a reactor's profile from url and
member id from urn; take a commenter's profile from author_url, never
from the comment's url. Record
engagement ('reacted' | 'commented') per lead — commenters convert
better and are worth a different opener. Keep what they did in
engagement_text: the comment itself for commenters, the reaction type
for reactors. It is the one personalization hook every lead comes with.source_kind = 'author', with the post itself as
engagement_text); everyone else is source_kind = 'engager'. Never add
a competitor as the author of its own post, and drop the employees of a
watched company when you pull its engagers.linkedin_url or linkedin_member_urn is already in
leads. Dedup at the source, never at send time. A grouped call's
default markdown table has no member id, and on comments its url is the
comment link, so a dedupe against it silently lets duplicates through:
fetch the json view first.Geography and other filters belong on the enriched profile, not on the search payload. LinkedIn's post-search results omit location for plenty of genuinely in-market posters; filtering there silently starves the funnel. Take the lead, filter it in step 4.
Two layers, in this order, from references/icp-scoring-rubric.md (read it
before the first scoring pass). The score gates the spend: a lead that
fails it never costs an email lookup.
data_linkedin_get_profile_data_by_url → real title, company, location,
and the canonical profile URL. Dedupe again on both keys.fit_score = 3, with the reason), and drop anyone
on the do-not-contact list. Never judge the role here: a gate that
guesses at fit from a headline starves the funnel.data_agnt_companies_enrich (or data_linkedin_get_company_by_domain)
→ domain, size, industry. Research the company further only when the
score can't be settled without it.icp_profile.icp_description: fit_score 0–100, a two- or
three-sentence fit_reason that cites the evidence and names the
uncertainty, and a persona only when confident. Above the bar
(qualify_threshold, default 50) qualifies, and an unresolved maybe
qualifies; a score at or under it needs a concrete wrong-way reason.
Below the bar → status = 'disqualified' and stop: no email lookup, no
message, ever.data_agnt_people_email_finder from name + domain, then always
data_agnt_people_email_verifier. LinkedIn URL → email is not a one-step
lookup. Unverified stays email_verified = false; those rows are still
workable on LinkedIn. When icp_profile.lane is HeyReach, skip both calls.agnt_db_upsert with status moving new → scored → enriched → staged,
so a failed run resumes instead of restarting. enriched means ready to
message. Never overwrite a known value with a blank.Above ~500 leads a run, this belongs in a data job rather than a longer
session — one cheap structured call per lead
(references/autopilot-agent-team.md).
Read references/cold-outreach-playbook.md before writing a single
message; it has the rules per lane. The ones that matter most:
engagement_text) is fair game, in your own words; never quote it back
or link the post. For authors (source_kind = 'author'), their own post
is the natural opener ("saw you're hiring your first SDRs"): it's their
public statement, not someone else's audience. A generic compliment is
worse than nothing.Write each lead's message into leads.first_message and tag
opener_variant (plain, or asset when step 1 set a
first_touch_asset). With an asset, build it for the top-scored leads first
and offer it in the message: references/free-resource-first-touch.md.
Show the user the first five messages (and the first five assets) before anything is staged. After they approve the style, show a sample each run.
Enable only the lane recorded in icp_profile.lane. Four lanes:
agnt_tools_enable({ "families": ["connection:heyreach"] }), then load the
platform's HeyReach doctrine once:
agnt_guidance_load({ "name": "linkedin-outreach" }). The campaign engine
owns delivery (timing, acceptance, reply-stop); this skill owns judgment
(who, what to say, what to do with replies).
connection_heyreach_campaign_get_by_id for the status,
connection_heyreach_campaign_get_sequence for the variables each step
uses.customUserFields: [{ "name": "fullMessage", "value": ... }]) and make
the sequence's message step just that variable; also fill every other
variable the sequence references, plus firstName, lastName,
companyName and position. A missing variable falls back to generic
copy silently. Write the message to the row, read it back, then enroll.connection_heyreach_list_add_leads_v2 into
the campaign's lead list works while the campaign is paused, and nothing
sends until the user resumes it. connection_heyreach_campaign_add_leads_v2
only works on an active campaign and starts delivery for those leads, so
use it only when the user has said the campaign is live and wants leads
flowing into it.staged_at only on rows you can see
in the list afterwards.Two settings that decide whether this works: send a blank connection request (a request carrying a pitch converts materially worse than an empty one), and turn on exclude-in-other-campaigns so one person never appears in two sequences.
agnt_tools_enable({ "families": ["connection:instantly"] })
connection_instantly_listcampaign to pick the persona-matched campaign,
then read its first step to see which variable it expects.
connection_instantly_bulkaddleads with campaign_id, the verified-email
rows only (an unverified address in an Instantly campaign is a bounce
charged against the sending domain), and skip_if_in_workspace: true. The
first message rides in the lead's personalization field or a
custom_variables key that the step references.
agnt_tools_enable({ "families": ["connection:agentmail"] })
connection_agentmail_create_inbox once (its own domain — never the user's
primary), then connection_agentmail_create_draft per lead (to,
subject, text; never send_at) and connection_agentmail_send_draft
when the user releases them. Replies come back through
connection_agentmail_list_messages /
connection_agentmail_reply_to_message, which is what makes this lane the
one where the agent can actually hold the thread.
Nothing to enable: a connected mailbox is already on. Once the user has
connected Gmail, connection_gmail_* is served on the workspace MCP like
any connected vendor; agnt_tools_enable cannot connect it. Not connected
yet → ask the user to connect Gmail on their superagnt connections page,
then re-run agnt_tools_list_enabled.
connection_gmail_save_draft per lead (to, subject, body as HTML)
puts each first message in the user's Drafts, where they review and send it
themselves. That is the default. connection_gmail_send_email sends for real
from the user's own address, gated only by their client's tool approval, so
call it only on an explicit instruction for that run. For the standing
version (step 7), wire the same ops onto the deployed agent as flat tools
entries: { kind: "integration", provider_id: "gmail", operation_id: "save_draft" } and "send_email", where every send surfaces for approval.
In every lane: stage, do not start. Add the leads, leave the campaign stopped, and report what is waiting. Pressing start is the user's act, and it is the last point at which a bad list can still be caught.
One batch is not the product. A list built once and never refilled goes quiet within weeks: the sequence outruns the leads and the channel looks dead. Once a run has worked end to end and the user liked what it staged, offer the standing version: the same sweep (steps 2 to 6), run daily or every other day. Smaller, more frequent runs keep the leads fresh (people who engaged in the last day or two are the warm ones), keep each run cheap, and keep the sending account under its limits.
There are two ways to run it. Offer whichever fits the user:
agnt_* and data_* tools in the table under
Step 0, the lane's read tool, and its one staging call:
connection_heyreach_list_members_write (HeyReach),
connection_instantly_leads_write (Instantly) or
connection_gmail_mail_write (Gmail drafts). Nothing that sends or starts
goes on it: not connection_gmail_mail_send,
connection_agentmail_messages_send, connection_heyreach_inbox_send,
connection_heyreach_campaigns_write,
connection_heyreach_campaign_leads_write (its add can resume a paused
campaign), connection_instantly_emails_send or
connection_instantly_campaigns_write, nor their flat names on a
per-operation server. The AgentMail lane stays out of this route: an
AgentMail draft created with send_at sends itself, and no permission
stops that, so run it attended or on the deployed agent. In the test run,
check the scheduled run's tool list: none of those tools may appear. If the
client can't restrict a scheduled run's tools, use the deployed agent. Have each run report into a table
or dashboard view the user reads, not only a log, and have the next attended
session check the last run's searched_at so a dead schedule gets
noticed. If you are not sure the client can schedule, or that its
scheduled runs see the superagnt tools, say so and use the other way.references/autopilot-agent-team.md covers the team shape (who does the
judgment, what moves into a data job to cut AI cost, what webhooks
trigger) and the ways real deployments of this exact motion have broken.
Agent runs spend AI credits.The reply side is references/webhook-auto-reply.md either way: without it
leads.replied_at stays empty, step 2's steering query has nothing to learn
from, and the engine generates volume without ever getting warmer.
Confirm the cadence and the expected spend with the user before scheduling
or deploying anything, and hand over the confirm_url on any
requires_upgrade (a plan limit, spent data credits, or a trial that
ended).
From the table, never from memory (agnt_db_select): posts scraped, new
leads, how many cleared the score bar, how many staged and into what, and
the reply rate per search-term family, per pond and per opener_variant.
Every report carries the score distribution line ("scored N: X qualified, Y
under the bar, Z gated"), which tells thin sourcing apart from a bar set too
high; when nothing qualified, list the five closest calls with their reasons
instead of an empty table. Once replies flow back: replies by intent and the
median time to answer one. Once a week, run the calibration loop in
references/icp-scoring-rubric.md with the user.
Name the terms that earned replies and the terms that did not — that
paragraph is what the next run reads.
connection_heyreach_campaign_start and
connection_instantly_activatecampaign are the user's to call.references/webhook-auto-reply.md).linkedin_url
already in leads.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub superagnt/plugins --plugin warm-outbound-engine