cargo
cargo — a Claude Code skill from getcargohq/cargo-skills
Features
- ✓AI-native revenue infrastructure integration
- ✓Build, run, manage workflows programmatically
- ✓Supports Cargo CLI for automation
- ✓Enhanced with Claude Code, Cursor, Windsurf, GitHub Copilot
- ✓Native agent plugin for Claude Code, Codex, Cursor
Installation Guide
npx skills add getcargohq/cargo-skillsWorks with Claude Code, Cursor, Windsurf, GitHub Copilot, and any agent that supports the skills.sh standard.
Agent plugin (alternative channel — Claude Code, Codex, Cursor)
The repo also installs as a native agent plugin: one source, three targets, sharing the same fifteen skills plus three things skills add can't deliver:
hooks/approve-cli.sh](hooks/approve-cli.sh)) that auto-approves safe cargo-ai calls (reads, queries, run/batch operations) while credentials (login), token minting, report egress, cdk deploy/destroy, and any remove/delete always still prompt. Allow-only — it can never override a deny rule. Wired per target: PreToolUse (Claude Code), PermissionRequest (Codex), beforeShellExecution (Cursor).SessionStart/Stop/SessionEnd scripts keep the CLI at the bundle's pinned version and log the session to workspace_management.sessions — no installer needed. They defer automatically when the installer's copies exist under ~/.claude/hooks/, so running both never double-registers a session. Unlike the installer's, the plugin's SessionStart does not run skills add (the plugin owns the skills).cargo-execution-planner (costed GTM plans with pilot + budget reconciliation, read-only) and cargo-list-builder (parallel sourcing fan-out that executes only pre-approved slices), both on the cheap model tier — [agents/](agents/).Optional extra — a statusline with live Cargo context (workspace · credits · CLI pin state). Statuslines are user-level config, so wire it yourself in ~/.claude/settings.json:
{ "statusLine": { "type": "command", "command": "node ~/.claude/plugins/marketplaces/cargo/hooks/cargo-statusline.mjs" } }(Adjust the path to wherever the plugin/marketplace is checked out. Renders from a small cache and never blocks — a detached child refreshes workspace/credits every ~2 minutes.)
Claude Code (≥ v2.1.154):
/plugin marketplace add getcargohq/cargo-skills
/plugin install cargo@cargoCodex:
codex plugin marketplace add getcargohq/cargo-skills
# then install "cargo" from the Plugins menuCursor: open Customize in the sidebar → add the getcargohq/cargo-skills marketplace → install the Cargo plugin (UI-driven; the .cursor-plugin/ manifests are picked up automatically).
Pick one channel. Plugin install and skills add both register the skills; using both duplicates them (plugin copies are namespaced cargo:<skill>). Plugin users should uninstall the skills add copies (and skip the installer) and update via /plugin marketplace update cargo + /plugin update cargo@cargo instead.
For OpenClaw, install the bundle from ClawHub:
clawhub install getcargohq/cargo-skills # current workspace's skills/
clawhub install getcargohq/cargo-skills --global # ~/.openclaw/skills (shared)Each skill ships a metadata.openclaw.install block that pulls @cargo-ai/cli@latest from npm and exposes the cargo-ai bin on first run, so no separate prerequisite step is needed.