cargo-cdk

cargo-cdk is a skill for Claude Code from getcargohq/cargo-skills. It costs 217 tokens per session (4,550 once invoked), scanned A, original, MIT.

A TypeScript toolkit for defining an entire Cargo workspace as code, meaning its setup is written in files and can be stored in Git. Cargo is a platform for connecting data sources, models, workflows, agents, and tools.

In plain words
What is it for?
Use it to declare connectors, models, workflows, tools, agents, MCP servers, folders, files, workers, and apps, then plan and deploy those settings from a TypeScript project.
Why use it?
It replaces repeated manual setup with a workspace definition that can be reviewed, reused, and deployed consistently. The deployment process compares the code with the live workspace and applies the needed changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; built for openclaw.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`../cargo-orchestration/references/node-diagram.md`](../cargo-orchestration/references/node-diagram.md)..

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

not rated 17repo changed 6d ago A scan Socket: passSnyk: passSkillSpector: warn 217 tokens original MIT

Good fit Use it to declare connectors, models, workflows, tools, agents, MCP servers, folders, files, workers, and apps, then plan and deploy those settings from a TypeScript project.

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

Made for: Claude Code.

Or install cargo, the plugin that ships this one along with the rest of its 19 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-cdk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-cdk"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-cdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,550 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 2 Sept 2026
  • Snyk pass 2 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 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 MCP Rug Pull · line 35
    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]
  • medium MCP Rug Pull · line 175
    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]
  • medium MCP Rug Pull · line 178
    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.00217 $0.04550
Opus 5 $0.00109 $0.02275
Sonnet 5 $0.00043 $0.00910
Haiku 4.5 $0.00022 $0.00455

Measured 6d ago against content hash 5837b061f84a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cargo-cdk 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 6d ago.

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-cdk/SKILL.md · 286 lines

How it starts

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

Cargo CDK — declarative workspace-as-code

Use this skill to define a Cargo workspace in TypeScript (define* builders from @cargo-ai/cdk) and reconcile it to live infrastructure with cargo-ai cdk deploy. It is the declarative counterpart to the imperative capability skills: instead of running one CLI command per resource, you write the whole graph once and deploy it repeatably, with a committed cargo.state.json linking your code to what Cargo created.

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
cargo-ai cdk --help                     # `unknown command` = CLI too old; reinstall @cargo-ai/cli@latest

Two CDK-specific extras: the project needs @cargo-ai/cdk as a dependency for the define* builders you import (cargo-ai cdk init scaffolds a package.json with it — then npm install), and the cargo-ai cdk domain ships with the CLI itself.

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.

1) What this skill governs

  • Authoring every Cargo resource with a define* builder that returns a handle; wiring resources by passing handles to each other (the dependency graph is your variable graph).
  • Deploying the graph: plan (offline diff) → deploy (create/update, write state) → destroy (tear down). Plus drift (refresh), adoption (import), and recovery (rollback).
  • Typing the config against your workspace's real integration schemas (cargo-ai cdk types).

Read the full file on GitHub · 286 lines

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. 6d ago Changed · +9 lines 5837b061f84a
  2. 10d ago First seen · 277 lines · 217 tokens per session scan A 690639fd3f81

Subscribe to this mod's changes

cargo-cdk is a skill published in the GitHub repository getcargohq/cargo-skills (17 stars, last pushed 4d ago), licensed MIT. It adds 217 tokens to every session and 4,550 once invoked, about $0.0011 per session on Opus 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

Other skills, from other repositories

everme-memory

Use EverMe cloud memory proactively when the user refers to previous conversations, earlier decisions, "last time", "remember when", existing project conventions, or previously solved errors, and save durable user preferences, habits, and decisions the moment they are stated. Do not repeat a search when the host…

EverMind-AI/EverMe · 83 tokens

memory-tools

Use EverMe memory proactively when the user refers to previous conversations, earlier decisions, "last time", "remember when", existing project conventions, or previously solved errors, and save durable user preferences, habits, and decisions the moment they are stated. Do not repeat a search when a non-empty block…

EverMind-AI/EverMe · 71 tokens

memory-recall

Session-start primer that tells Kimi how EverMe's automatic cross-session memory works and how to treat the injected recall/profile context.

EverMind-AI/EverMe · 30 tokens

gtm-engineering

When the user wants to build GTM automation with code, design workflow architectures, use AI agents for GTM tasks, or implement the 'architecture over tools' principle. Also use when the user mentions 'GTM engineering,' 'GTM automation,' 'n8n,' 'Make,' 'Zapier,' 'workflow automation,' 'Clay API,' 'instruction stacks,'…

The-Utopia-Studio/skills · 107 tokens

ai-cold-outreach

When the user wants to build an AI-powered outreach system, write cold emails, improve deliverability, or scale personalized outreach. Also use when the user mentions 'cold email,' 'cold outreach,' 'outreach automation,' 'Instantly,' 'Smartlead,' 'Clay,' 'email sequences,' 'deliverability,' 'personalization at scale,'…

The-Utopia-Studio/skills · 100 tokens

ai-sdr

When the user wants to deploy AI sales development reps, automate sales qualification, build signal-to-action routing, or design AI agent architecture for sales. Also use when the user mentions 'AI SDR,' 'AI sales agent,' 'automated qualification,' 'signal routing,' 'sales automation,' '11x,' 'Artisan,' 'AiSDR,' 'AI…

The-Utopia-Studio/skills · 102 tokens