/cargo:clay-to-cargofrom Cargo GTM
Rebuild a Clay table on Cargo, powered by Cargo — map every Clay enrichment column to its provider action, price the run before it happens, and keep the result as version-controlled code instead of a spreadsheet. Triggers: "migrate from Clay", "move my Clay table to Cargo", "Clay alternative", "replace Clay", "I have a Clay export", "what does Clay's enrichment column map to", "my Clay bill is too high", "Clay but as code". Migration, mapping, parity, spreadsheet, declarative. Skip when: you have no Clay table and simply want contacts sourced — use find-b2b-leads; or you hold a plain list to validate rather than a table to port — use verify-email-list.
Ships in Cargo GTM. 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.
None: SKILL.md is the whole skill.
Take a Clay table someone already built and rebuild it on Cargo: same columns, priced per action before it runs, and expressible as code so it lives in git instead of in a spreadsheet nobody can review.
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 [email protected] # sends a code, then exits
cargo-ai login --email [email protected] --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 migrate a sample table 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.
This step decides how good everything after it can be, so do not skip past it.
A Clay CSV export tells you a column was filled. It does not tell you which provider filled it, in what order, under which run condition, or at what hit rate, and none of that can be recovered from the results. Ask for the configuration first, in this order, and stop at the first one that works:
| Path | What you get |
|---|---|
| A. Column schema as JSON — ClayMate Lite, an MIT Chrome extension that exports Clay column structures | Column names, types, provider settings, formulas. The real input |
| B. The user reads out each column's settings panel | The same, slower, lossy on long tables |
| C. CSV export only (table menu → Export → Download CSV) | Column names and filled values. Not which provider ran |
ClayMate Lite is third-party code that runs on the user's logged-in Clay session. Say so, and let them review and install it themselves. Never install it for them.
If you end up on path C, say so out loud. The mapping in step 2 becomes an educated guess from column names, waterfalls collapse to a single rung, and run conditions are invisible. A migration built that way looks broken later when it is only under-informed.
Whichever path, read the fill rate per column before mapping anything. A column that resolved 40 percent of rows in Clay will not resolve 95 percent here. That number is the denominator of the parity check in step 5, and quoting it early is how you avoid being graded against a rate nobody ever hit.
Clay names columns after the vendor's product and renames them without notice, so match on what a column does, not on its label. The families that cover most production tables:
| What the Clay column does | Cargo action | What changes |
|---|---|---|
| Find work email, from name + domain or a LinkedIn URL (any Clay email column, waterfall or single provider) | the workspace's Find email tool (email_waterfall) | The default. One tool Cargo maintains, several providers in turn, each hit verified before it returns; the address only, no provider name |
| Find work email, an exception applies (see below) | prospeo.findEmail, then FullEnrich.findEmail on the misses | Two explicit rungs instead of one hidden waterfall, so you see which rung paid |
| Person record, LinkedIn URL in hand | prospeo.enrichLinkedin | The profile only; the email still comes from Find email |
| Validate / verify email | the workspace's Verify email tool (email_validator) | Skip it for addresses the Find email tool returned, which are already verified |
| Enrich company | companyEnrich.enrichByDomain | Domain in, firmographics out |
Four Clay concepts do not map one to one, and every one of them is invisible in a CSV:
cargo-ai orchestration action get-output-schema --action '{"kind":"tool","templateSlug":"email_waterfall"}'
errors, free); or the row lacks the tool's input and cannot get it.Anything outside the four families above, and any of those four concepts in play, is where the full
pack earns its keep: cargo-gtm/recipes/clay-to-cargo.md carries the complete column map across
sourcing, contact data, company data and the non-enrichment columns, plus the parity method. Reach
for it rather than guessing.
Do not promise column parity you have not checked. If a Clay column used a provider Cargo does not carry, say so plainly and name what would replace it. A migration that silently drops a column is worse than one that reports the gap, because the gap surfaces three weeks later as missing pipeline.
# Work email: the workspace's Find email tool, addressed by its template slug
# (no UUID lookup); the address lands in cargo_email
cargo-ai orchestration action execute-batch \
--action '{"kind":"tool","templateSlug":"email_waterfall"}' \
--records '[{"firstName":"John","lastName":"Smith","companyDomain":"acme.com"}]' \
--wait-until-finished
# Only when an exception applies (a named provider or their own order, an explicit
# cheapest-path request, the tool missing): cheaper rung first, escalate only the misses
cargo-ai orchestration action execute-batch \
--action '{"kind":"connector","integrationSlug":"prospeo","actionSlug":"findEmail"}' \
--records '[{"firstName":"John","lastName":"Smith","companyDomain":"acme.com"}]' \
--wait-until-finished
# Escalate the rows that came back empty
cargo-ai orchestration action execute-batch \
--action '{"kind":"connector","integrationSlug":"FullEnrich","actionSlug":"findEmail"}' \
--records '[{"firstName":"John","lastName":"Smith","domainName":"acme.com"}]' \
--wait-until-finished
# Verify what the hand-built rungs resolved, before anyone sends to it
# (the Find email tool's addresses are already checked)
cargo-ai orchestration action execute-batch \
--action '{"kind":"tool","templateSlug":"email_validator"}' \
--records '[{"email":"[email protected]"}]' \
--wait-until-finished
# Firmographics for the accounts behind those people
cargo-ai orchestration action execute-batch \
--action '{"kind":"connector","integrationSlug":"companyEnrich","actionSlug":"enrichByDomain"}' \
--records '[{"domain":"acme.com"}]' \
--wait-until-finished
# Person records where the export already carries LinkedIn URLs (the profile;
# their emails come from the Find email tool with linkedinUrl)
cargo-ai orchestration action execute-batch \
--action '{"kind":"connector","integrationSlug":"prospeo","actionSlug":"enrichLinkedin"}' \
--records '[{"url":"https://www.linkedin.com/in/johnsmith"}]' \
--wait-until-finished
Run only the actions the user's columns actually map to. Every one you add is a bill.
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).
Rebuild our "Inbound enrichment" Clay table on Cargo — here's the ClayMate JSON export.
Illustrative output, fictional records:
| Clay column | Cargo action | Clay fill | Cargo fill | Agreement |
|---|---|---|---|---|
| Work Email | Find email tool | 14 / 20 | 16 / 20 | 13 of 14 |
| Email Valid? | checked inside the Find email tool | 14 / 14 | 16 / 16 | 13 of 14 |
| Company Industry | companyEnrich.enrichByDomain | 20 / 20 | 19 / 20 | 18 of 19 |
20 sample rows, 6 of them rows Clay left empty, for about 22.6 credits end to end (16 × 1.1 for the addresses found, the 4 misses roughly free, + 20 × 0.25); whether that parity is enough to switch is the user's call.
| Action | Credits |
|---|---|
Find email tool ("kind":"tool") | 1.1 to 4 per address found, roughly 0 per miss |
prospeo.findEmail | 0.5 |
FullEnrich.findEmail | 1 |
Verify email tool ("kind":"tool") | 0.2 |
companyEnrich.enrichByDomain | 0.25 |
prospeo.enrichLinkedin | 0.5 |
Never run this across a full list on the first attempt. Sample 10–20 rows from the export, report the observed cost and per-column fill rate, then get the user to approve the full run — quoting the row count and the credit estimate. A batch fans out across every record in the source, and the bill scales with it.
This is the step that decides whether the user switches, and it is why step 1 mattered.
Choose the sample rows deliberately: include rows Clay FAILED to fill. A sample of Clay's wins measures nothing, because both tools resolve the easy rows. Then report three numbers per column:
| Measure | What it answers |
|---|---|
| Coverage | Of N rows, how many did each side fill? Compare against the step-1 fill rate, not against 100 percent |
| Agreement | On rows both filled, do the values match? Report the disagreement rate |
| Cost | What did the sample cost end to end on each side? |
Three rules for reading that table honestly:
Present the table. The user decides whether parity is good enough to switch, not you.
A Clay table is a spreadsheet: no diff, no review, no rollback, and the person who built it is the only one who knows why a column is there. The migration is only finished when the flow is declared rather than clicked:
cargo-ai project init
cargo-ai project plan # a diffed resource tree, no credentials needed
plan runs with no Cargo token at all, so the user can see the shape of what they would deploy
before deciding anything. deploy is the only credential-gated step in the sequence.
Say this out loud when the parity table lands, because it is the part that does not show up in a cost table: the columns are now a file someone can review in a pull request.
prospeo.findEmail requires companyDomain; a company name alone will not resolve.FullEnrich.findEmail takes domainName, not companyDomain. The two rungs disagree on the field name, and a copy-paste between them silently resolves nothing.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/clay-to-cargo.md —
the full column map across sourcing, contact data, company data and the columns that are not
enrichment at all, the extraction paths in fidelity order, and the parity method with its failure
modes. Reach for it whenever the table has a column outside the four families above, a waterfall,
or a run condition, which is most real tables. The project half (GTM as Code) is
cargo-project.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
47 skills in this plugin
/account-scoringScore every account against your ICP on a schedule: a deployed agent tiers each company in a Cargo model (tam-building's, or your CRM companies) A / B / C / disqualified against the ICP and rubric in workspace context, and the tier, a two-sentence reason and evidence are written onto the row and, optionally, the matching HubSpot or Salesforce company. New companies are tiered hourly; the book is re-scored weekly or on any window set. Triggers: "score our TAM", "tier the market we just sourced", "which accounts should the team work first", "why is this account tier A", "keep our accounts tiered as they arrive", "our lead scoring is a spreadsheet nobody trusts". Cargo project, defineAgent, webSearch, context, tam_companies, tier segments. Skip when: someone hands you a list and wants it scored once, which is score-leads; or there is no account universe yet, which is tam-building./agentic-engagementDeploy an AI agent that holds email conversations with leads from a mailbox your workspace owns: a sending domain, a mailbox, native sendEmail and listEmailEvents on the agent, a native email trigger on reply and unsubscribe, and a heartbeat that checks thread status when nothing inbound happened. Triggers: "handle email conversations with leads", "agentic engagement", "an agent that replies to inbound email", "stand up a conversation agent on a Cargo mailbox", "native email trigger for lead replies", "keep talking to leads over email". Cargo project, defineDomain, defineMailbox, defineAgent, agentNativeTrigger, heartbeat, sendEmail, listEmailEvents. Skip when: you want to send one email right now, which is a native sendEmail from the CLI and needs nothing deployed; or you want a play that blasts a list rather than holding a thread.npx claudepluginhub getcargohq/gtm-skills --plugin cargo