agentleFS
getcargohqgetcargohq/gtm-skills/find-b2b-leads/SKILL.md

find-b2b-leads

Skill2 starsChanged 26 days agoMITView on GitHub

Find B2B leads by job title, company, and keyword, and return them as a structured list, powered by Cargo. Triggers: \"find 50 VPs of Sales at fintech companies\", \"build me a list of leads\", \"who are the heads of engineering at Series B startups\", \"get me prospects matching this profile\", \"source leads for my outbound\", \"build a b2b lead list\", \"lead sourcing\". Providers: salesNavigator. Skip when: you need companies rather than people — use build-tam-list; or you already have the people and need contact details — use find-work-email.

  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    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 …

    line 123
  2. Very specific:

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

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Find B2B Leads

Find B2B leads by job title, company, and keyword, and return them as a structured list.

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 run this skill 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.

Do the job

cargo-ai orchestration action execute \
  --action '{"kind":"connector","integrationSlug":"salesNavigator","actionSlug":"searchLeads"}' \
  --data '{
    "role": {"titleKeywords": ["VP of Sales"]},
    "personal": {"industryCodes": ["4"], "geoCodes": ["103644278"]},
    "limit": 25
  }' \
  --wait-until-finished

A list of leads with name, title, company, and LinkedIn URL.

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).

Example

Find 25 VPs of Sales at US software companies and give me their LinkedIn URLs.

Illustrative output, fictional records:

fullNametitlecompanylocationlinkedinUrl
Priya RamanVP of SalesNorthwindAustin, TXlinkedin.com/in/priya-raman-example
Marcus HaleVP Sales, North AmericaContosoDenver, COlinkedin.com/in/marcus-hale-example
Dana WhitfieldVice President of SalesTailspinBoston, MAlinkedin.com/in/dana-whitfield-example

One page of 25 leads for 5 credits (25 × 0.2); no emails yet — pipe the URLs into enrich-linkedin-profile for those.

What it costs

ActionCredits
salesNavigator.searchLeads0.2

Never run this across a full list on the first attempt. Sample 10–20 records, report the observed cost and hit-rate, 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.

Worth knowing

  • The default for LinkedIn-native people sourcing (title, function, seniority, geo), but not the cheapest. FullEnrich.searchPeople is free (0 credits) with plain-string filters — jobRole.title_or, jobRole.seniority_or, personLocation, skills, tenure, and the employer's industry / headcount / companyInfo.domain_or — up to 2,000 per run; FullEnrich.fetchPeople, also free, pulls up to 10,000 into a Cargo model as contacts. aiArk.searchPeople (0.05) is the cheapest paid option.
  • FullEnrich.lookupPerson (free) resolves one person from a LinkedIn URL, or from a full name plus company domain.
  • Filters take LinkedIn codes as strings: personal.industryCodes ("4" is Software Development), personal.geoCodes ("103644278" is the United States), role.seniorityLevels ("300" is Vice President, "310" CXO, "220" Director). Keys outside the schema, such as company.industries or personal.locations, are refused before the run starts (Unknown field: …); inside a workflow node they are dropped silently and the search runs unfiltered. Plain names in place of codes match nothing. Resolve names with cargo-ai connection connector autocomplete --connector-uuid <uuid> --slug listIndustries --params '{}' --value software (listGeoCodes for places).
  • Pages come back in blocks of 25; ask for a limit in multiples of 25.
  • Sourcing returns profiles, not emails. Pipe the LinkedIn URLs into enrich-linkedin-profile for verified emails.

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, projects (GTM 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/prospecting.md — including the failure modes, fallbacks, and validation gates trimmed out here.

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.