cargo-storage

cargo-storage is a skill for Claude Code from getcargohq/cargo-skills. It costs 168 tokens per session (5,361 once invoked), scanned A, original, MIT.

A command-line guide for managing data in a Cargo workspace, including tables, columns, relationships, records, and SQL queries. A workspace is the shared storage area where this business data is kept.

In plain words
What is it for?
Use it to inspect models and datasets, add or manage columns, define relationships, view records, run SQL with joins and filters, export results, and ingest webhook data.
Why use it?
It avoids having to remember the commands for inspecting schemas, changing data structures, finding records, or querying related data. It also covers importing records through webhooks, which let another service send data automatically.

Skill for Claude Code

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

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

Good fit Use it to inspect models and datasets, add or manage columns, define relationships, view records, run SQL with joins and filters, export results, and ingest webhook data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getcargohq/cargo-skills/cargo-storage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getcargohq/cargo-skills --skill cargo-storage
Clone the repo
git clone --depth 1 https://github.com/getcargohq/cargo-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-storage/github.svg)](https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-storage)
Your own site
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-storage"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-storage/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-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-storage"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 30 Oct 2026
  • Snyk pass 4 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, 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 MCP Rug Pull · line 38
    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.00168 $0.05361
Opus 5.5 $0.00067 $0.02144
Sonnet 5.5 $0.00034 $0.01072
Haiku 4.5 $0.00017 $0.00536

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

Security

Grade A, and why

cargo-storage scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cargo-storage/SKILL.md · 425 lines

How it starts

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

Cargo CLI — Storage

Data layer management: inspecting and modifying models, datasets, columns, relationships, unification, and records, and running SQL queries against workspace storage.

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/models.md for model CRUD, DDL inspection, and schema discovery examples. See references/examples/datasets.md for dataset listing and navigation examples. See references/examples/columns.md for column creation and management examples. See references/examples/queries.md for storage query execute / storage query download SQL examples (WHERE, aggregations, joins, pagination, exports). See references/examples/ingest-webhook.md for ingest (webhook-fed) models — deriving the webhook URL and POSTing records.

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

Always list before inspecting or modifying.

cargo-ai storage dataset list              # all datasets (uuid, slug)
cargo-ai storage model list                # all models (uuid, name, slug, columns, datasetUuid)
# `model list` takes no flags — filter its output instead:
cargo-ai storage model list | jq '[.models[] | select(.datasetUuid == "<uuid>")]' 

Read the full file on GitHub · 425 lines

Files

What ships with it

8 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 · +3 tokens per session 9ab4bdfdae02
  2. 6d ago Changed · +16 lines 137be44f1303
  3. 13d ago Changed · +79 lines 73234ac3f5d6
  4. 19d ago Changed · +5 lines 21a93e062d49
  5. 1mo ago Changed · +6 lines 393ae4d4ab23
  6. 2mo ago Changed · +2 lines 89069912cda6
  7. 2mo ago First seen · 317 lines · 165 tokens per session scan A 3ff0ef9eae10

Subscribe to this mod's changes

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

Related

cargo-storage compared with skills from other repositories

cargo-storage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cargo-storagegetcargohq/cargo-skillsSkill21yesterdayMITA168Claude Code
postgresql-table-designwshobson/agentsSkill42kyesterdayMITA37Claude Code
event-store-designwshobson/agentsSkill42kyesterdayMITA33Claude Code
cqrs-implementationwshobson/agentsSkill42kyesterdayMITA35Claude Code
projection-patternswshobson/agentsSkill42kyesterdayMITA36Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A22Claude Code
release-db-config-syncPrismer-AI/PrismerCloudSkill1.4k15d agoMITA91Claude Code