cargo-ai

cargo-ai is a skill for Claude Code from getcargohq/cargo-skills. It costs 167 tokens per session (6,943 once invoked), scanned A, original, MIT.

A guide for using the Cargo command-line tool to create and configure AI agents. It covers choosing a model, writing instructions, adding searchable knowledge, connecting MCP servers, managing memories, and deploying releases.

In plain words
What is it for?
Use it to create agents, attach documents for retrieval-augmented generation (using supplied knowledge to answer questions), connect tool servers, configure agent settings, and release agents.
Why use it?
It organizes the steps needed to set up an agent in Cargo and clarifies which related Cargo tool handles content uploads, conversations, or workspace administration.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is For uploading knowledge **files** and building knowledge **libraries** (the `content` domain), use [`cargo-content`](../cargo-content/SKILL.md). This skill cove.

Part of the cargo plugin — 20 skills, 2 agents shipped together

Good fit Use it to create agents, attach documents for retrieval-augmented generation (using supplied knowledge to answer questions), connect tool servers, configure agent settings, and release agents.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/getcargohq/cargo-skills
agentmods
npx agentmods add skills/getcargohq/cargo-skills/cargo-ai

Made for: Claude Code.

Or install cargo, the plugin that ships this one along with the rest of its 20 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cargo-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-ai/github.svg)](https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-ai)
Your own site
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-ai"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-ai/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cargo-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-ai"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,943 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Oct 2026
  • Snyk pass 4 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 174
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium MCP Rug Pull · line 39
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00167 $0.06943
Opus 5.5 $0.00067 $0.02777
Sonnet 5.5 $0.00033 $0.01389
Haiku 4.5 $0.00017 $0.00694

Measured yesterday against content hash a3f844a23bcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cargo-ai scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS -X PUT "$CARGO_BASE_URL/v1/ai/releases/draft/update" \
cargo-ai/SKILL.md · 403 lines

How it starts

The opening of the file, as written. The whole thing — 403 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cargo CLI — AI

Agent resource management: creating and configuring agents, attaching knowledge for retrieval-augmented generation (RAG), connecting MCP servers, and managing agent memories.

For using agents (sending messages, multi-turn chat, polling), use cargo-orchestration. For uploading knowledge files and building knowledge libraries (the content domain), use cargo-content. This skill covers how that knowledge attaches to an agent. For workspace administration — folders (used to organize agents and files), users, API tokens, roles, and submitting reports when the CLI fails — use cargo-workspace-management.

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/agents.md for agent CRUD and configuration examples. See references/examples/mcp-servers.md for MCP server creation and management examples.

Bootstrap

Already signed in (cargo-ai whoami returns a workspace)? Skip to the next section.

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 <api-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 adds the CLI version pin, token scopes, and the admin-only surface.

Discover resources first

cargo-ai ai agent list                     # all agents (uuid, name, description)
cargo-ai ai template list                  # all AI agent templates (slug, name)
cargo-ai ai mcp-server list                # all MCP servers (uuid, name)
cargo-ai ai memory list --scope agent --agent-uuid <uuid>  # agent memories
# Knowledge files & libraries live in the content domain — see cargo-content:
#   cargo-ai content file list   /   cargo-ai content library list

Read the full file on GitHub · 403 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -2 tokens per session a3f844a23bcf
  2. 12d ago Changed 80a36b8a28d5
  3. 13d ago Changed · +83 lines 3cbfba7392bb
  4. 18d ago Changed 68e58c996381
  5. 19d ago Changed · -3 lines 68164ec22f58
  6. 1mo ago Changed · +6 lines 4af6d7a24b3f
  7. 2mo ago Changed · +2 lines a85b2fc947df
  8. 2mo ago First seen · 315 lines · 169 tokens per session scan A de5ef8b0a0f0

Subscribe to this mod's changes

cargo-ai is a skill published in the GitHub repository getcargohq/cargo-skills (21 stars, last pushed yesterday), licensed MIT. It adds 167 tokens to every session and 6,943 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cargo-ai compared with skills from other repositories

cargo-ai next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cargo-aigetcargohq/cargo-skillsSkill21yesterdayMITA167Claude Code
9router-embeddingsdecolua/9routerSkill32k9d agoMITA66Claude Code, Codex
install-openviking-memoryvolcengine/OpenVikingSkill42kyesterdayAGPL-3.0A191Claude Code, Codex
mongodb-search-and-aifcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A210Claude Code
llm-application-devMoizIbnYousaf/Ai-Agent-SkillsSkill1.2k1mo agoMITA40Claude Code, Codex
qdrant-model-migrationqdrant/skillsSkill267yesterdayApache-2.0A88Claude Code
qdrant-multitenancyqdrant/skillsSkill267yesterdayApache-2.0A109Claude Code