跳到主内容
智客 ZICQ

技能库 智客分类:Agent 工作流 cargo-connection

Cargo Connection

将货物与外部系统连接起来并找出其能做些什么——验证连接器,浏览集成目录,并解决`连接器Uuid'和`ActionSlug'工作流程节点需要。 触发符 :\"连接我的HubSpot\",\"是销售力连接\",\"你支持什么集成",\"可以把货物与"tool\\\",\"productor"有什么动作",\"我需要连接器UUUID\",\"设置API密钥用于\","它再次要求证书\","为什么这个连接器会失败 auth\","请列出我的连接器\". 集成:充裕市场,振幅,Attio,大Query,卡伦德利,Closecom,对比,csv,Consumeio,dbt,电子邮件Bison,扩展i,google 广告、谷歌 工作表、heyReach、http、中枢点、中枢点Mcp、即时、即时、V2、Intercom、jira、Kitt、lemlist、lgm、链接 广告,链接 相配的观众、活暴、马努斯、市场、元基、微软 团队、混音板、网套、网套 苏阿 p, 概念Mcp, 八进制, 单信号, 外延, 管道驱动, postgresql, 重置, 裂口, 销售力量, 销售力量Mcp, 销售工具, Sendgrid, sillage, slax, smartlead, snowflake, sql, 条纹, 和 82多. 跳过时:在浓缩供应商之间选择GTM工作——使用货物gtm及其供应商游戏本.

7902 安装量

官方网址:作者主页

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

将货物与外部系统连接起来并找出其能做些什么——验证连接器,浏览集成目录,并解决`连接器Uuid'和`ActionSlug'工作流程节点需要。 触发符 :\"连接我的HubSpot\",\"是销售力连接\",\"你支持什么集成",\"可以把货物与"tool\\\",\"productor"有什么动作",\"我需要连接器UUUID\",\"设置API密钥用于\","它再次要求证书\","为什么这个连接器会失败 auth\","请列出我的连接器\". 集成:充裕市场,振幅,Attio,大Query,卡伦德利,Closecom,对比,csv,Consumeio,dbt,电子邮件Bison,扩展i,google 广告、谷歌 工作表、heyReach、http、中枢点、中枢点Mcp、即时、即时、V2、Intercom、jira、Kitt、lemlist、lgm、链接 广告,链接 相配的观众、活暴、马努斯、市场、元基、微软 团队、混音板、网套、网套 苏阿 p, 概念Mcp, 八进制, 单信号, 外延, 管道驱动, postgresql, 重置, 裂口, 销售力量, 销售力量Mcp, 销售工具, Sendgrid, sillage, slax, smartlead, snowflake, sql, 条纹, 和 82多. 跳过时:在浓缩供应商之间选择GTM工作——使用货物gtm及其供应商游戏本.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Cargo CLI — Connections、Bootstrap、Key concepts、Discover resources first、Which action search?、`integration get` vs `native-integration get`。

文件分析

文件分析:除 SKILL.md 外,正文引用了 references/response-shapes.md、references/troubleshooting.md、references/examples/connectors.md、references/examples/integrations.md、references/polling.md、references/prerequisites.md,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Connect Cargo to an external system and find out what it can do — authenticate connectors, browse the integration catalog, and resolve the `connectorUuid` and `actionSlug` a workflow node needs. Triggers: \"connect my HubSpot\", \"is Salesforce connected\", \"what integrations do you support\", \"can Cargo talk to <tool>\", \"what actions does <provider> have\", \"I need the connector UUID\", \"set up the API key for\", \"it is asking for credentials again\", \"why is this connector failing auth\", \"list my connectors\". Integrations: amplemarket, amplitude, attio, bigQuery, calendly, closecom, contrast, csv, customerio, dbt, emailBison, expandi, googleAds, googleSheets, heyReach, http, hubspot, hubspotMcp, instantly, instantlyV2, intercom, jira, kitt, lemlist, lgm, linkedinAds, linkedinMatchedAudience, livestorm, manus, marketo, metabase, microsoftTeams, mixpanel, netsuite, netsuiteSoap, notionMcp, octave, onesignal, outreach, pipedrive, postgresql, redshift, resend, rift, salesforce, salesforceMcp, salesloft, Sendgrid, sillage, slack, smartlead, snowflake, sql, stripe, and 82 more. Skip when: choosing between enrichment providers for a GTM job — use cargo-gtm and its provider playbooks.

Cargo CLI — ConnectionsBootstrapKey conceptsDiscover resources firstWhich action search?`integration get` vs `native-integration get`Quick referenceConnectorsList all connectorsCreate a connectorUpdate a connectorRemove a connector

兼容:Requires @cargo-ai/cli (npm). Sign in or create an account with `cargo-ai login --email` (emailed code, no browser), `--oauth`, or an API token

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
cargo-connection
description
Connect Cargo to an external system and find out what it can do — authenticate connectors, browse the integration catalog, and resolve the `connectorUuid` and `actionSlug` a workflow node needs. Triggers: \"connect my HubSpot\", \"is Salesforce connected\", \"what integrations do you support\", \"can Cargo talk to <tool>\", \"what actions does <provider> have\", \"I need the connector UUID\", \"set up the API key for\", \"it is asking for credentials again\", \"why is this connector failing auth\", \"list my connectors\". Integrations: amplemarket, amplitude, attio, bigQuery, calendly, closecom, contrast, csv, customerio, dbt, emailBison, expandi, googleAds, googleSheets, heyReach, http, hubspot, hubspotMcp, instantly, instantlyV2, intercom, jira, kitt, lemlist, lgm, linkedinAds, linkedinMatchedAudience, livestorm, manus, marketo, metabase, microsoftTeams, mixpanel, netsuite, netsuiteSoap, notionMcp, octave, onesignal, outreach, pipedrive, postgresql, redshift, resend, rift, salesforce, salesforceMcp, salesloft, Sendgrid, sillage, slack, smartlead, snowflake, sql, stripe, and 82 more. Skip when: choosing between enrichment providers for a GTM job — use cargo-gtm and its provider playbooks.
compatibility
Requires @cargo-ai/cli (npm). Sign in or create an account with `cargo-ai login --email` (emailed code, no browser), `--oauth`, or an API token
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 7
  • references/response-shapes.md
  • references/troubleshooting.md
  • references/examples/connectors.md
  • references/examples/integrations.md
  • references/polling.md
  • references/prerequisites.md
  • references/nodes.md

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「cargo-connection」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-7207b7e29a09e946-Cargo-Connection.html
请存为 .cursor/skills/cargo-connection/SKILL.md 或 .claude/skills/cargo-connection/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/getcargohq/cargo-skills 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/getcargohq/cargo-skills' --list

npx skills add 'https://github.com/getcargohq/cargo-skills' --skill 'cargo-connection'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: cargo-connection description: "Connect Cargo to an external system and find out what it can do — authenticate connectors, browse the integration catalog, and resolve the `connectorUuid` and `actionSlug` a workflow node needs. Triggers: \"connect my HubSpot\", \"is Salesforce connected\", \"what integrations do you support\", \"can Cargo talk to \", \"what actions does have\", \"I need the connector UUID\", \"set up the API key for\", \"it is asking for credentials again\", \"why is this connector failing auth\", \"list my connectors\". Integrations: amplemarket, amplitude, attio, bigQuery, calendly, closecom, contrast, csv, customerio, dbt, emailBison, expandi, googleAds, googleSheets, heyReach, http, hubspot, hubspotMcp, instantly, instantlyV2, intercom, jira, kitt, lemlist, lgm, linkedinAds, linkedinMatchedAudience, livestorm, manus, marketo, metabase, microsoftTeams, mixpanel, netsuite, netsuiteSoap, notionMcp, octave, onesignal, outreach, pipedrive, postgresql, redshift, resend, rift, salesforce, salesforceMcp, salesloft, Sendgrid, sillage, slack, smartlead, snowflake, sql, stripe, and 82 more. Skip when: choosing between enrichment providers for a GTM job — use cargo-gtm and its provider playbooks." version: "1.5.0" compatibility: Requires @cargo-ai/cli (npm). Sign in or create an account with `cargo-ai login --email` (emailed code, no browser), `--oauth`, or an API token homepage: https://github.com/getcargohq/cargo-skills metadata: author: getcargo openclaw: requires: bins: - cargo-ai install: - kind: node package: "@cargo-ai/cli@latest" bins: - cargo-ai homepage: https://github.com/getcargohq/cargo-skills --- # Cargo CLI — Connections Connector and integration management: listing connectors, discovering available integrations, and managing authenticated connector instances. > See `references/response-shapes.md` for full JSON response structures. > See `references/troubleshooting.md` for common errors and how to fix them. > See `references/examples/connectors.md` for connector CRUD and discovery examples. > See `references/examples/integrations.md` for listing available integrations and OAuth flows. > For third-party connector rate limit handling and retry config in workflows, see `cargo-orchestration/references/polling.md` and `cargo-orchestration/references/troubleshooting.md`. Native integrations do not have rate limits. ## Bootstrap Already signed in (`cargo-ai whoami` returns a workspace)? Skip to the next section. ```bash npm install -g @cargo-ai/cli # no global install? prefix every command with `npx @cargo-ai/cli` cargo-ai login --email [email protected] # emailed code, no browser; creates the account on first use # alternatives: --oauth (browser) · --token (CI) cargo-ai whoami # confirm the active workspace before any write ``` Every command prints JSON to stdout; failures exit non-zero with `{"errorMessage": "..."}`. Anything that creates a run or a batch is async — pass `--wait-until-finished` or poll the matching `get`. When the full skill bundle is installed, [`../cargo/references/prerequisites.md`](../cargo/references/prerequisites.md) adds the CLI version pin, token scopes, and the admin-only surface. ## Key concepts **Integration:** The external service type (e.g. HubSpot, Clearbit, Salesforce). Integrations define what actions are available. **Connector:** An authenticated instance of an integration. One integration can have multiple connectors (e.g. two different HubSpot accounts). Connectors are what you reference in workflow node graphs. ## Discover resources first **Looking for an action? Search for it — don't browse the catalog.** Two keyword searches cover the whole surface, and both beat paging `integration list` or reading a whole `integration get` payload: ```bash cargo-ai orchestration action list # START HERE — connector + native + tools + agents. # Returns a ready-to-run action object (connectorUuid # resolved) and the action's credit costs. cargo-ai connection action search --credits-only # connector catalog only, but filters by category # and by "is it paid" — which `action list` cannot. ``` Reach for the catalog commands when you need the *integration*, not an action — its auth fields, its extractors, or the full input schema of an action you have already picked: ```bash cargo-ai connection connector list # all authenticated connectors cargo-ai connection integration list # all available integration types cargo-ai connection integration list --search "hubspot" # search by name cargo-ai connection integration get # one integration's actions + input schemas cargo-ai connection native-integration get # built-in Cargo actions only (NOT third-party) ``` > **Deprecated integrations still appear in the catalog.** `integration list` returns them with > `isDeprecated: true` and a display name ending in `(deprecated)`. Existing connectors keep > working — deprecation breaks nothing — but never wire a *new* workflow to one. Two were > deprecated in CLI 1.0.92, the self-referential `cargo` integration among them. Read the flag > rather than keeping a list: check `isDeprecated` before proposing any integration you found by > browsing instead of by `action list`. ### Which action search? | | `orchestration action list` | `connection action search` | |---|---|---| | Covers | connector, native, **tools, agents** | connector catalog only | | Returns | a runnable `action` object with `connectorUuid`, workspace connectors, `credits`, autocompletes | `integrationSlug` + `actionSlug`, category, `credits` — you assemble the action yourself | | Filters | `--kind`, `--integration-slug`, `--limit` | `--category`, `--integration`, **`--credits-only`**, `--limit` | | Needs | CLI ≥ 1.0.66 | CLI ≥ 1.0.36 | Default to `action list` — it is the one that hands you something you can execute. Switch to `action search` for the two questions it alone answers: *which paid actions match this?* (`--credits-only`) and *what does this category offer?* (`--category`). Both rank an action-slug or name hit above an integration hit, above a description hit, and require **all** query terms to match. ### `integration get` vs `native-integration get` These two commands return **different sets of actions** and are not interchangeable: | Command | Third-party service actions (HubSpot, Salesforce, Clearbit, …) | Built-in Cargo actions (HTTP, transforms, utilities) | When to use | |---|---|---|---| | `integration get ` | ✓ | ✗ | You need actions for a specific third-party service — **use this for HubSpot, Salesforce, Clearbit, etc.** | | `native-integration get` | ✗ | ✓ | You need Cargo-native capabilities that don't belong to any specific third-party connector | **Example:** To find HubSpot-specific actions, use `integration get hubspot` — `native-integration get` will not return them. ## Quick reference ```bash cargo-ai connection connector list --integration-slug cargo-ai connection connector create --integration-slug --slug --name cargo-ai connection connector update --uuid --name cargo-ai connection connector remove cargo-ai connection connector get cargo-ai connection connector autocomplete --connector-uuid --slug --params '' cargo-ai connection integration list cargo-ai connection integration get cargo-ai connection integration get-documentation cargo-ai connection native-integration get ``` ## Connectors Connectors are authenticated connections to external services. ```bash # List all connectors cargo-ai connection connector list # Create a connector cargo-ai connection connector create \ --integration-slug clearbit \ --slug clearbit_production \ --name "Clearbit - Production" # Update a connector cargo-ai connection connector update --uuid --name "Clearbit - Staging" # Remove a connector cargo-ai connection connector remove # Check if a connector slug is taken cargo-ai connection connector exists-by-slug --slug clearbit_production ``` **Note:** Creating a connector requires `--slug` (unique identifier) in addition to `--name` (display name) and `--integration-slug`. For OAuth-based integrations, the authentication flow is completed separately via `connection integration complete-oauth`. ## Integrations Integrations define the available services and their connector actions. ```bash # List all available integrations cargo-ai connection integration list # Filter by category cargo-ai connection integration list --category enrichment # Search by name cargo-ai connection integration list --search "hubspot" # Find by exact slug(s) cargo-ai connection integration list --slugs clearbit # Only integrations that have actions (usable in workflow nodes) cargo-ai connection integration list --has-actions true # Only integrations that have extractors (can sync data into models) cargo-ai connection integration list --has-extractors true # Get built-in Cargo actions and extractors (NOT third-party connector actions) cargo-ai connection native-integration get ``` **Integration categories:** `engagement`, `marketing`, `sales`, `finance`, `analytics`, `freeform`, `success`, `support`, `enrichment`, `storage`, `custom`. Use `integration get ` to discover all actions available for a specific third-party service (e.g. HubSpot, Salesforce). Use `native-integration get` only for built-in Cargo actions — it does **not** return HubSpot or other service-specific actions. Actions are referenced by `actionSlug` in workflow node graphs (see the `cargo-orchestration` skill's `references/nodes.md`). ## Connector autocomplete — fetching available values for action fields Some action fields don't accept freeform input — their allowed values must be fetched dynamically from the connector. When you inspect an action's config (via `integration get ` or `native-integration get`), look at the `uiSchema` alongside the `jsonSchema`. If a field's `uiSchema` contains `"ui:widget": "IntegrationAutocompleteWidget"`, the valid values for that field **must** be retrieved using `connector autocomplete`. ### How to detect autocomplete fields When an action's config looks like this: ```json { "jsonSchema": { "type": "object", "properties": { "objectType": { "type": "string", "description": "The object type" } } }, "uiSchema": { "objectType": { "ui:widget": "IntegrationAutocompleteWidget", "ui:options": { "slug": "listObjects", "allowRefresh": true } } } } ``` The `objectType` field requires autocomplete. The `ui:options.slug` (`"listObjects"`) is the autocomplete slug you pass to `connector autocomplete`. ### How to call connector autocomplete ```bash cargo-ai connection connector autocomplete \ --connector-uuid \ --slug \ --params '{}' ``` | Flag | Required | Description | | ------------------ | -------- | ----------------------------------------------------------------- | | `--connector-uuid` | yes | The UUID of the connector to autocomplete against | | `--slug` | yes | The autocomplete slug from `uiSchema[field]["ui:options"].slug` | | `--params` | yes | JSON object of parameters (use `{}` when none are needed) | | `--value` | no | Search string to filter results | | `--refresh` | no | Bypass cache and fetch fresh results | ### Autocomplete with parameters Some autocomplete fields depend on the value of another field. This is indicated by a `params` object in `ui:options`: ```json { "uiSchema": { "objectType": { "ui:widget": "IntegrationAutocompleteWidget", "ui:options": { "slug": "listObjects" } }, "propertyName": { "ui:widget": "IntegrationAutocompleteWidget", "ui:options": { "slug": "listObjectProperties", "params": { "objectType": "$this.$parent.objectType" } } } } } ``` Here, `propertyName` depends on the selected `objectType`. Replace the `$this.$parent...` expression with the actual value you chose: ```bash # 1. First, get the list of object types cargo-ai connection connector autocomplete \ --connector-uuid --slug listObjects --params '{}' # 2. Then, get properties for the chosen object type cargo-ai connection connector autocomplete \ --connector-uuid --slug listObjectProperties \ --params '{"objectType": "contacts"}' ``` ### Response format ```json { "results": [ { "label": "Contacts", "value": "contacts" }, { "label": "Companies", "value": "companies" }, { "label": "Deals", "value": "deals" } ] } ``` Use the `value` field in your node config. The `label` is the human-readable display name. Results may also include optional `description` and `parent` fields. ### End-to-end example: configuring a HubSpot action ```bash # 1. Find your HubSpot connector UUID cargo-ai connection connector list --integration-slug hubspot # 2. Get HubSpot actions and inspect their config + uiSchema cargo-ai connection integration get hubspot # → The "findRecords" action has objectType with autocomplete slug "listObjects" # 3. Fetch available object types cargo-ai connection connector autocomplete \ --connector-uuid \ --slug listObjects --params '{}' # → Returns: contacts, companies, deals, tickets, etc. # 4. Fetch properties for the chosen object type cargo-ai connection connector autocomplete \ --connector-uuid \ --slug listObjectProperties \ --params '{"objectType": "contacts"}' # → Returns: email, firstname, lastname, phone, etc. # 5. Use these values in your workflow node config ``` ## Using connector actions in workflows Connector actions are used as nodes in workflow graphs. To use an action: ```bash # 1. Find your connector UUID cargo-ai connection connector list # → Filter the output by integrationSlug to find the right connector # 2. Discover the action — search first, and only then read its schema cargo-ai orchestration action list --integration-slug cargo-ai connection integration get # → actions are keyed by actionSlug, with config.jsonSchema (input) for each # → many actions also carry output.schema — the JSON Schema of what the action # emits; use it to wire downstream nodes instead of guessing (absent on some actions) # → Or use get-documentation for a plain text overview # → Or use native-integration get for built-in Cargo actions (not third-party) # 3. Reference the connector and action in a node graph # See cargo-orchestration references/nodes.md for the full node syntax ``` ### Reading an action's input schema — and where the inputs go An action's **input** fields live at `actions..config.schema` in the `integration get ` output (`config.jsonSchema` is the same schema decorated for the form UI). Read it before calling an action — don't guess field names. ```bash # the required input fields for an action: cargo-ai connection integration get linkedin \ | jq '.integration.actions.connectProfile.config.schema' # → required: linkedinProfileUrl, identityIds ``` Two footguns: - **For a top-level action (`action execute` / `execute-batch`), the input values go in `--data`, NOT in the action's `config`.** The fields described by `config.schema` are the `--data` payload; the action definition carries no `config` key at all. **Misplacing them is no longer a loud failure:** older backends rejected the call with `A top-level action does not use action.config; pass the action's inputs via data instead.`, newer ones drop `config` on the way in and run the action with **no inputs at all** — you get a missing-required-field error from the provider, or an empty result, not a message about `config`. If an action comes back empty for no obvious reason, check that the inputs are in `--data`. (Inside a workflow **node graph** those same fields go in the node's `config` — see `cargo-orchestration/references/nodes.md`. The "`--data`, not `config`" rule is specific to `action execute`/`execute-batch`.) - **Some inputs must be resolved first via autocomplete.** If a field's `uiSchema` carries `IntegrationAutocompleteWidget`, fetch its values with `connector autocomplete` (above). Notably, LinkedIn engagement/extraction actions (`connectProfile`, `visitProfile`, `extractEventAttendees`, `extractProfileViewers`) require `identityIds` — the connected account that *acts* — resolved via the `listIdentityIds` autocomplete. A `must match format "uuid"` error means that identity is missing. Example connector node (Clearbit company enrichment): ```json { "uuid": "node-uuid", "slug": "enrich", "kind": "connector", "integrationSlug": "clearbit", "actionSlug": "enrichCompany", "connectorUuid": "", "config": { "domain": { "kind": "templateExpression", "expression": "{{nodes.start.domain}}", "instructTo": "none", "fromRecipe": false } }, "childrenUuids": ["end-node-uuid"], "fallbackOnFailure": false, "position": { "x": 0, "y": 166 } } ``` ## Help Every command supports `--help`: ```bash cargo-ai connection connector list --help cargo-ai connection connector create --help cargo-ai connection integration list --help ```

相关技能

Agent 工作流

Skill Creator

创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.

Agent 工作流

Clawdhub

使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.

Agent 工作流

Agent Team Orchestration

管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.

Agent 工作流

Superpowers

Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…