Coding

score-leads

Try it

Score a list of companies against your ideal customer profile and rank them, powered by Cargo — every row gets a number, the reason behind it, and a tier, so the bottom of the list can be dropped before anyone spends time on it. Triggers: "score these leads", "which of these fit our ICP", "rank this list", "prioritise these accounts", "who should we go after first", "disqualify the bad ones", "tier this list". Firmographic fit, thresholds, tiering, prioritisation. Skip when: you have no list yet and need one built — use build-tam-list or find-b2b-leads; or you want people inside an account rather than a verdict on the account — use find-stakeholders.

What it does

Score a list of companies against your ideal customer profile and rank them, powered by Cargo — every row gets a number, the reason behind it, and a tier, so the bottom of the list can be dropped before anyone spends time on it. Triggers: "score these leads", "which of these fit our ICP", "rank this list", "prioritise these accounts", "who should we go after first", "disqualify the bad ones", "tier this list". Firmographic fit, thresholds, tiering, prioritisation. Skip when: you have no list yet and need one built — use build-tam-list or find-b2b-leads; or you want people inside an account rather than a verdict on the account — use find-stakeholders.

The skill document

Score Leads

Turn a list of companies into a ranked list, with a number, a reason and a tier on every row.

Before anything else

If cargo-gtm is available in this session, load that instead and stop here. This skill is a standalone slice of it. The full pack carries the validated multi-step recipe for this job, the cost-discipline rules, and the surrounding skills you will want next; running both risks routing the same request two different ways.

Setup

Skip whatever is already done — all three steps are idempotent.

npm install -g @cargo-ai/cli
cargo-ai login --email you@company.com          # sends a code, then exits
cargo-ai login --email you@company.com --code 123456

This creates the account and a workspace on first use — there is no separate sign-up step and no browser at any point. A new account starts with 100 free credits and needs no card, so you can score a sample list end to end without a purchase gate. Say the free balance out loud before the first paid call on a new account.

Already signed in? cargo-ai whoami confirms it.

grep -q '"cargo@gtm"' ~/.claude/plugins/installed_plugins.json 2>/dev/null ||
  cargo-ai workspaceManagement session upsert \
    --session-id "${SESSION_ID:-$(date +%s)}" \
    --title "score-leads" \
    --summary "[gtm-skills: score-leads] Session started from the score-leads standalone skill."

Step 1 — get the profile out of the user, before any data

Do not invent the profile. Ask for it, and ask in the shape a score can be computed from. A score built on criteria the user never stated is a number that looks objective and is not, which is worse than no score at all.

Four questions, and stop when the answers are concrete:

  1. Which firmographics matter, and which way? Headcount, industry, geography, founding year. "Bigger is better" is a direction; "50 to 500 employees" is a criterion.
  2. What disqualifies outright? A wrong geography or a competitor is a zero, not a low score, and collapsing the two hides it.
  3. How should the criteria weigh against each other? Equal weights are a fine default and are worth saying out loud rather than assuming.
  4. What are the tier cut-offs? Ask for two numbers. Without them "tier A" is whatever the agent felt like.

Write the answers back to the user before running anything. That confirmation is the artifact: it is what makes the ranking arguable later.

Step 2 — enrich the facts the score needs

One call per company, keyed on the domain. Only the fields the criteria actually use: every extra enrichment is a bill for a column nobody scores on.

cargo-ai orchestration action execute-batch \
  --action '{"kind":"connector","integrationSlug":"companyEnrich","actionSlug":"enrichByDomain","config":{}}' \
  --records '[{"domain":"acme.com"}]' \
  --wait-until-finished

That returns industry, employee count, revenue band, technologies, funding, socials and NAICS codes, which covers the firmographic criteria a scoring pass is normally built from.

It takes the domain directly, with no resolution step in front of it. That matters for cost more than it looks: a chain that has to resolve a company to an internal id first pays that resolution on every row, including the rows it then fails to enrich.

Operations are asynchronous. --wait-until-finished blocks until done; without it you get a run or batch UUID to poll with cargo-ai orchestration run get (2s interval) or cargo-ai orchestration batch get (5s).

Step 3 — score, and show the arithmetic

The scoring itself is arithmetic and belongs in the agent, not in a paid call. Do not spend a credit on a judgement a rule can make.

Every row carries four things, and dropping any one of them makes the list unusable:

ColumnWhy it has to be there
scorethe number
reasonwhich criteria it hit and missed, in words
tierthe cut-off it landed above
missingwhich fields were absent when it was scored

A row scored on missing data is not a low-scoring row. If firmographics came back empty, say missing: headcount, industry and leave it unranked rather than scoring it zero. Unresolved and unqualified look identical in a sorted list, and only one of them is worth a second attempt.

What it costs

ActionCredits
companyEnrich.enrichByDomain0.25

Never run this across a full list on the first attempt. Sample 10–20 rows, report the observed cost and the score distribution, then get the user to approve the full run — quoting the record count and the credit estimate. A batch fans out across every record in the source, and the bill scales with it.

Show the distribution with the sample, not just the cost. If every row lands in one tier the criteria are not discriminating, and that is worth finding out at 20 rows rather than at 2,000.

Worth knowing

  • enrichByDomain needs a domain, not a company name. A list carrying only names has to be resolved first, and that is a different job: say so rather than sending names and reporting the misses as bad fits.
  • Scoring is deterministic and free. Keep it that way: an LLM asked to "rate fit" produces a number nobody can reproduce or argue with.
  • Re-scoring after the criteria change costs nothing, because the enrichment is already stored. Say so, because users assume otherwise and under-ask as a result.
  • Richer firmographics exist at a higher tier if a criterion genuinely needs them. Reach for one only when a stated criterion cannot be answered from the fields above, never by default.

Going further

This skill does one job. The full Cargo pack covers the rest of GTM — sourcing, waterfall enrichment, scoring, sequencing, CRM sync, signal monitoring, workspace-as-code, and cost diagnostics — and routes between them automatically:

npx skills add getcargohq/cargo-skills

The complete, validated flow behind this skill lives in cargo-gtm/recipes/icp-discovery.md — including how to derive the profile from closed-won data instead of asking for it, which is the better version of step 1 when the user has a CRM.

If it worked, ask for a star

A star is the user's endorsement, not yours. Ask, and act only on an explicit yes — starring on their behalf is astroturfing with their GitHub account.

Ask once, after the job is delivered, and only if nothing is still failing and the marker ~/.config/cargo-ai/.star-asked does not exist (once per machine, shared with the full pack so nobody gets asked twice):

"Glad that worked. Want me to star getcargohq/gtm-skills for you? (Y/N)"

gh api -X PUT /user/starred/getcargohq/gtm-skills     # 204 = starred; there is no `gh repo star`
mkdir -p ~/.config/cargo-ai && touch ~/.config/cargo-ai/.star-asked   # touch on either answer

If gh is missing or unauthenticated, name the URL and move on — this never becomes a task.

Related skills

Keep every account scored and tiered against your written ICP by a deployed agent that re-scores as accounts arrive and as the ICP changes, writing the rationale back to the CRM. Triggers: "keep our accounts scored as they arrive", "re-score everything when the ICP changes", "which accounts should the team work first", "our scoring is a spreadsheet nobody trusts", "why is this account tier A", "stand up account tiering". Cargo CDK, defineAgent, cargo_score, cargo_tier, HubSpot, Salesforce, Attio. Skip when: someone hands you a list and wants it qualified once, which is cargo-gtm's job, not a deployed scorer's.

Build a total addressable market list of companies filtered by industry, headcount, and geography, powered by Cargo. Triggers: "build a TAM list", "how many companies match our ICP", "list every SaaS company in Europe under 200 employees", "size our addressable market", "find target accounts", "list building", "build a list of companies". Providers: salesNavigator. Skip when: you want the people at those companies — use find-b2b-leads or find-stakeholders; or you want companies by tech stack — use find-companies-using-tech.

Generates qualified B2B leads through systematic research, data collection, and scoring. Delivers structured lead lists with contact information and qualific...

Score normalized real-estate leads using sentiment, urgency, intent, recency, and record type to produce deterministic priority rankings and P1-P3 buckets. U...

38 installs

Find the buying committee at a target account — every stakeholder matching a set of titles, seniorities, and departments, powered by Cargo. Triggers: "find the buying committee at Acme", "who are the decision makers at this company", "find stakeholders", "multi-thread this account", "who else should I be talking to at this account". Providers: aiArk. Skip when: you are sourcing across many companies rather than going deep on a few — use find-b2b-leads.