文档

clay-to-cargo

试用

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.

它能做什么

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.

技能文档

Clay to Cargo

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.

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

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

Step 1 — get the table CONFIGURATION out, not the CSV

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:

PathWhat you get
A. Column schema as JSONClayMate Lite, an MIT Chrome extension that exports Clay column structuresColumn names, types, provider settings, formulas. The real input
B. The user reads out each column's settings panelThe 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.

Step 2 — map the columns

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 doesCargo actionWhat changes
Find work email, LinkedIn URL in handprospeo.enrichLinkedinReturns the person record; run the finders below only on the residue
Find work email, name + domainprospeo.findEmail, then FullEnrich.findEmail on the missesTwo explicit rungs instead of one hidden waterfall, so you see which rung paid
Validate / verify emailwaterfall.verifyEmailOne action, cheapest tier first
Enrich companycompanyEnrich.enrichByDomainDomain in, firmographics out

Four Clay concepts do not map one to one, and every one of them is invisible in a CSV:

  • Waterfalls are one column hiding an ordered provider list. Here they become explicit rungs, cheapest first, escalating only the misses. Ask which providers the waterfall held; if that is unavailable, say the order is Cargo's rather than theirs.
  • Run conditions decide which rows a column touches. Ignore them and you run every action on every row, which is the most common way a cheaper migration comes back more expensive.
  • Auto-update makes the table a schedule, which is a cost decision rather than a default.
  • Partial runs: a table that only ever ran on 500 of 5,000 rows has a fill rate describing 500 rows.

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.

Step 3 — run the sample

# Cheaper rung first — escalate only the misses
cargo-ai orchestration action execute-batch \
  --action '{"kind":"connector","integrationSlug":"prospeo","actionSlug":"findEmail","config":{}}' \
  --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","config":{}}' \
  --records '[{"firstName":"John","lastName":"Smith","domainName":"acme.com"}]' \
  --wait-until-finished

# Verify what resolved, before anyone sends to it
cargo-ai orchestration action execute-batch \
  --action '{"kind":"connector","integrationSlug":"waterfall","actionSlug":"verifyEmail","config":{}}' \
  --records '[{"email":"john.smith@acme.com"}]' \
  --wait-until-finished

# Firmographics for the accounts behind those people
cargo-ai orchestration action execute-batch \
  --action '{"kind":"connector","integrationSlug":"companyEnrich","actionSlug":"enrichByDomain","config":{}}' \
  --records '[{"domain":"acme.com"}]' \
  --wait-until-finished

# Person records where the export already carries LinkedIn URLs
cargo-ai orchestration action execute-batch \
  --action '{"kind":"connector","integrationSlug":"prospeo","actionSlug":"enrichLinkedin","config":{}}' \
  --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 (2s interval) or cargo-ai orchestration batch get (5s).

What it costs

ActionCredits
prospeo.findEmail0.5
FullEnrich.findEmail1
waterfall.verifyEmail0.1
companyEnrich.enrichByDomain0.25
prospeo.enrichLinkedin0.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.

Step 4 — prove parity against Clay's own output

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:

MeasureWhat it answers
CoverageOf N rows, how many did each side fill? Compare against the step-1 fill rate, not against 100 percent
AgreementOn rows both filled, do the values match? Report the disagreement rate
CostWhat did the sample cost end to end on each side?

Three rules for reading that table honestly:

  • On an email disagreement the verified value wins, not the source. Run waterfall.verifyEmail on both sides before calling either one wrong. Clay being different is not Clay being right.
  • Never compare a Clay credit to a Cargo credit. They are different units and the comparison is meaningless. Compare what one sample of rows cost end to end on each side, which is a measurement rather than an argument.
  • Coverage below the step-1 fill rate is a real miss and needs a rung added before this goes further. Coverage above it is not automatically a win: check the disagreement rate, because a finder that fills more rows and agrees less is guessing.

Present the table. The user decides whether parity is good enough to switch, not you.

Step 5 — keep it as code, which is the actual reason to move

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 cdk init
cargo-ai cdk 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.

Worth knowing

  • Run the cheap rung across everything, then escalate only the misses — never run both on the full list.
  • 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.
  • Clay's per-row credit and Cargo's credit are different units. Never compare the two numbers directly — compare what one sample of rows cost end to end on each.

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/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 workspace-as-code half is cargo-cdk.

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.

相关技能

Rebuild a ZoomInfo list on Cargo and measure the coverage you actually lose or gain before the renewal, powered by Cargo. Triggers: "ZoomInfo alternative", "migrate off ZoomInfo", "replace ZoomInfo", "our ZoomInfo renewal is coming up", "ZoomInfo is too expensive", "I have a ZoomInfo export", "cheaper than ZoomInfo", "Lusha alternative", "Cognism alternative". Providers: waterfall. Skip when: you are porting a Clay table rather than a contact list — use clay-to-cargo; or you have no list yet and simply want contacts sourced — use find-b2b-leads.

1 次安装

Rebuild an Apollo list on Cargo and price the two side by side before you move anything, powered by Cargo. Triggers: "Apollo alternative", "migrate off Apollo", "move my Apollo list to Cargo", "replace Apollo.io", "I have an Apollo export", "Apollo credits ran out", "is Cargo cheaper than Apollo", "Apollo coverage is bad in my niche". Providers: apolloio, waterfall. Skip when: you are porting a Clay table rather than an Apollo list — use clay-to-cargo; or you simply want contacts sourced and have nothing to migrate — use find-b2b-leads.

1 次安装

从 Cargo 拉取运行指标、下载结果,并跨 runs、batches、spans 执行 SQL 查询。

14 次安装

Define and use segments — named, saved filters over a Cargo model that become the audience for a batch run, a play trigger, or an export. Triggers: "build a segment of", "filter my contacts where", "who matches this criteria", "save this as a list", "how many companies match", "the Closed-Won segment", "everyone who has not been emailed", "target only accounts that", "what is in this segment", "narrow this down to". Filter JSON uses `conjonction` (not `conjunction`) — misspelling it fails silently. Skip when: running something over the segment — use cargo-orchestration; exporting its rows — use cargo-analytics; ad-hoc SQL over the model — use cargo-storage.

Guided first-run demo for Cargo — one persona question to 25 real leads with a cost receipt in under two minutes, ending by saving the pull as a recurring play. Triggers: "show me what Cargo can do", "give me a demo", "take me on a tour", "quickstart", "getting started with Cargo", "I just installed Cargo", "my workspace is empty", "does this actually work". Skip when: the user has a real job to run (build a list, enrich a CSV, find emails) — use cargo-gtm; when they want CLI reference or routing — use the cargo router skill.

1 次安装

查找、认证并配置 Cargo 工作流节点所需的外部系统连接器。

14 次安装