Install
openclaw skills install @cargo-ai/score-leadsScore 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.
openclaw skills install @cargo-ai/score-leadsTurn a list of companies into a ranked list, with a number, a reason and a tier on every row.
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.
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."
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:
Write the answers back to the user before running anything. That confirmation is the artifact: it is what makes the ranking arguable later.
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 <uuid> (2s interval) or
cargo-ai orchestration batch get <uuid> (5s).
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:
| Column | Why it has to be there |
|---|---|
score | the number |
reason | which criteria it hit and missed, in words |
tier | the cut-off it landed above |
missing | which 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.
| Action | Credits |
|---|---|
companyEnrich.enrichByDomain | 0.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.
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.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.
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-skillsfor 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.