/crew:lead-scoringfrom crew
Build a lead-scoring Agent in RudderCrew (Crew) that reads each lead's fit, role and intent separately, picks a tier (Hot, Warm or Cold) with its reasons, and routes it - Hot to sales in Slack, Warm to nurture, Cold recorded - then dry-runs it, runs it in Shadow and measures it against outcomes. Use when someone wants to score, qualify, prioritise or route leads, signups or trial users with Crew; asks which signups sales should call first; wants MQL, PQL, ICP-fit or predictive lead scoring; or wants inbound leads tiered and handed to sales. Trigger even when the user names only the company ("set up lead scoring for Acme") without saying Crew.
Ships in crew. 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.
This skill builds one Crew Agent that gives every new lead a tier with its reasons and routes it:
Observe Decide Act
Fit (company) ┐ ┌ Hot → Slack card to sales
Role (person) ├─▶ one tier per lead, ───────┼ Warm → nurture email
Intent (behaviour)┘ Cold checked first └ Cold → webhook records the tier
A lead score in Crew is a tier that Decide picks, backed by separate reads, never one composite
"score" signal. references/design.md explains the shape and the facts about Crew behind it; read
it before writing the body. Two facts change most first drafts:
agentPrompt, not only into workspace memory.This skill builds on workspace-setup (the body schema, message writing, check_body.py). Read
its references/agent-schema.md and references/act-writing.md when this skill points at them.
Ask the user; never work around them.
references/measuring.md).Ask for what you cannot read from the workspace:
measuring.md).linkedin-outreach comes from
there). Never leave Warm with no action: an Option's Act must own one, and a no-action decision
drops its tier. The email needs a bound Customer.io channel, a sender, and a Design Studio email
for designStudioEmailId. On create the server reads that template and takes the send id from
the Customer.io transactional message with exactly the same name, so that message must exist
first. Never send a bare transactionalMessageId: create refuses it.context_get: the business in the team's words. It feeds Agent creation, not decisions; copy
what the Agent needs into the body.catalog_list, then catalog_get on every event you might use. Triggers and every property path
you write must come from here: an invented event name gates the Agent out of every decision.
Pick:
channels_list: the Slack, webhook and Customer.io channel ids. Shadow runs on channelType
alone; Live needs a channelId on every action.Company facts belong in a profile enrichment, which is prepared before the Agent decides. Without one, Fit reads only the traits and the email's domain, and most leads come out Unknown.
The enrichment needs two workspace features: Profile enrichment, and the built-in web tools
(web_search, web_fetch) the template researches with. Workspace features
says whether a new workspace has them. When both are on, this step just works.
references/fit-enrichment.json: the ICP in the brief, the industry options.enrichment_preview with two real leads (a strong fit and a weak one) and show the user the
results. An empty result for a free-mail lead is correct.enrichment_create, and keep the id for enrichmentIds.The preview in 2 tells you what the workspace has:
FORBIDDEN "Profile enrichment is not enabled for this workspace": the feature is off here.BAD_REQUEST "A source is missing, disabled, or unavailable in this workspace": the web tools are
off.FORBIDDEN "Missing permission: users:read": the caller can't read people. Over the OAuth sign-in
that is the user's role; on a personal access token, the people scope.On any of these, skip this step and build the Agent without enrichmentIds: Fit then reads the
traits and the email's domain. Tell the user what to ask for (a feature, from whoever the features
table names; a role, from a workspace admin), and come back to this step once it is in place.
A Role research enrichment (title and seniority from LinkedIn) and a Moment enrichment
(funding, hiring, a new leader) follow the same pattern; add a moment signal and mention Moment
in the Cold option when you add the latter.
Start from references/agent-body.json and replace every <placeholder>:
promptFragment and the agentPrompt, the buyer roles into Role, and
the buying events into Intent. Keep each reading's opening words as they are: the options refer
to them.design.md).triggerDelay of a few minutes, so a
burst of signup events lands before the decision.workspace-setup's
act-writing.md. With a Customer.io template the writer fills the template's {{trigger.*}}
keys (subject and body are only the fallback), so name each of those keys. The Cold webhook
needs none.launchMode: "shadow", so the body says what it will run as (workspace-setup's
references/agent-schema.md → "Runtime state, drafts and publishing").Run workspace-setup's scripts/check_body.py on the body and fix every ERROR. Expect one WARN
for the Cold webhook having no message instructions; that one is correct.
agent_create with the body, then agent_get and compare what came back with what you sent.preview_tryEvent call, with a list of five events, on the signup trigger for five made-up leads, with traits and properties at
the paths catalog_get showed, and a fresh userId each:
A dry run enriches a real person who has no current result, as Live does; a made-up userId has
nothing to enrich. So give each made-up lead the company facts the Fit signal reads (company, size,
the signup answers) in its traits or properties, or Fit reads Unknown and no one reaches Hot. Or
dry-run real leads by their userId from users_list. Stop here until the user approves the
readings and the card.
seenCount between firstSeen and lastSeen in
catalog_list, or a day of get_source_event_metrics on the RudderStack MCP) and that in Shadow
each match is one model decision, recorded on the Decisions page and sending nothing. On a busy
trigger, narrow it with a when condition first. With their yes, agent_update to shadow.references/measuring.md).analytics_list with every outcome, then analytics_get),
watch the tier mix, and fix one signal or option at a time.When the gate passes, tell the user to switch the Agent Live in the Crew UI, after binding a real
channelId on every action. Consider needsApproval on the Hot action for the first week.
Say these plainly when they come up; they are product gaps, not things to work around:
design.md, last section).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rudderlabs/crew-plugin --plugin crew10 skills in this plugin
/calibrateRun an Agent Calibrate in RudderCrew (Crew) as a conversation - Crew replays about ten of an Agent's recent real decisions through its working copy, the user judges each one, and Crew rewrites the working copy from the answers - one card at a time over the Crew MCP, ending with a Shadow publish or a hand-off to the editor. Use when someone wants to calibrate, tune, check or correct a Crew Agent's decisions, review what an Agent would have done for real people, or teach an Agent from examples; also right after building a new Agent and before running it in Shadow, once its trigger events reach Crew. Trigger even when the user names only the Agent ("calibrate the trial upgrade agent")./connect-rudderstackConnect a customer's existing RudderStack workspace to their Crew (RudderCrew) workspace so real events reach Crew Agents. Checks what is already connected, creates the Crew webhook only when needed, picks the source and its events with the RudderStack MCP, has the user add a RudderStack Webhook destination (in the RudderStack app, with Terraform or with rudder-cli), filters events with a transformation, tests the token before RudderStack depends on it, and checks events arrive on both sides. Use when the user wants to send their RudderStack events, event stream, track calls or a source to Crew, connect or hook RudderStack up to Crew, or when Crew gets no events or an Agent never fires although RudderStack shows traffic. Trigger even when the user names only the customer ("hook Acme's RudderStack up to Crew") without saying "webhook"./connect-warehouseFeed a RudderCrew (Crew) Agent from a warehouse table or SQL model (Snowflake, BigQuery, Redshift, Databricks, Postgres; a dbt or Profiles model) on a schedule through RudderStack Reverse ETL, so each row arrives as an event the Agent decides on. Use it whenever the numbers a RudderCrew decision needs already sit in a warehouse, even when nobody says "warehouse" or "reverse ETL", for example a health tier or renewal risk for every account, a usage drop or a score crossing a line, trial users nearing a limit or accounts reaching a milestone, a nightly churn or lead score a data team writes, a Lookout audience that should keep syncing, or account facts (plan, ARR, owner) every Agent should know about each person. It first picks the shape (decide every run, on a change, or on entering a set). Not for a reviewed list of up to a few hundred people sent once (send-list), wiring RudderStack event streams from SDKs or sources (connect-rudderstack), or building the Agent itself (workspace-setup)./expand-audienceUse when someone has a list of companies, accounts or firms and wants Crew to find the right person at each and reach out, when they say "find the right person at these companies", "expand my audience from this list", "I have a list of companies to reach", or "set up a personal outreach agent from my contacts or LinkedIn connections", when they paste a multi-part outreach plan (contact intelligence, outreach, follow-up, content) and ask whether Crew can do it, or when a visitor-identification feed names companies and they want the people there./linkedin-campaignRuns a LinkedIn outbound campaign end to end with Crew - finds and verifies real leads with treg, creates the launch's HeyReach campaigns through the HeyReach MCP, gives each lead a LinkedIn member id so Crew research enrichments can personalise, then builds, dry-runs and Shadows one Crew Agent over HeyReach through the linkedin-outreach skill. Use when someone wants Crew to find the leads for a LinkedIn campaign for a product or launch, or to set up research enrichments on LinkedIn-only leads. When they already have the people (a CSV, a CRM export, their own connections or warm contacts), use linkedin-outreach instead, even when they call it lead generation./linkedin-outreachTurn a list of LinkedIn leads into one Crew Agent that works each person toward an outcome over LinkedIn through HeyReach, choosing its next move (connect, message, reply or wait) from everything that has happened with them. Checks the setup, builds and dry-runs the Agent over the Crew MCP, runs it in Shadow on real leads, sends the list, and hands the Live switch to a human. Use whenever someone already has the people (from analysis, a CSV, a CRM export, their own LinkedIn connections or warm contacts) and wants personalised LinkedIn outreach with Crew and HeyReach, even when they call it lead generation. It needs no lead search, treg or jq.