cargo-analytics

cargo-analytics is a skill for Claude Code from getcargohq/cargo-skills. It costs 125 tokens per session (3,563 once invoked), scanned A, original, MIT.

A toolkit for measuring Cargo jobs and exporting their results. Cargo is a platform for running workflows and batches over connected data, while a segment is a saved group of records.

In plain words
What is it for?
Use it to download workflow outputs, export segments or models as CSV or JSON, and check success and error counts for runs and batches.
Why use it?
It lets you see whether work succeeded, what failed, and what data was produced without manually inspecting every run. It also separates operational results from billing information.

Skill for Claude Code

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

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

not rated 17repo 3d ago A scan Socket: passSnyk: passSkillSpector: warn 125 tokens original MIT

Good fit Use it to download workflow outputs, export segments or models as CSV or JSON, and check success and error counts for runs and batches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getcargohq/cargo-skills/cargo-analytics
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-analytics
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 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-analytics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/getcargohq/cargo-skills/cargo-analytics"><img src="https://agentmods.dev/badge/skills/getcargohq/cargo-skills/cargo-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,563 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 13 May 2026
  • Snyk pass 13 May 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 36
    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.00125 $0.03563
Opus 5 $0.00063 $0.01782
Sonnet 5 $0.00025 $0.00713
Haiku 4.5 $0.00013 $0.00356

Measured 9d ago against content hash 69074ca48619, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cargo-analytics 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 9d 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-analytics/SKILL.md · 296 lines

How it starts

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

Cargo CLI — Analytics

Measurement and export: monitoring run metrics, downloading run and batch results, and exporting segment data.

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/run-analytics.md for run metrics and error monitoring. See references/examples/exports.md for data export and download examples. For billing, usage metrics, and subscription: use the cargo-billing skill.

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.

Scope — measure and export, not explain

This skill answers "what happened" and "give me the data": metrics, counts, downloads, exports. The moment the question becomes "why" — why did this run fail, why is the output wrong or empty, which root cause explains these errors, why is this play so expensive — switch to the cargo-diagnostics skill; its runbooks sequence the raw surfaces into a diagnosis.

The question sounds like… Load
"What's the error rate?" / "How many runs failed this week?" / "Export the results / segment" this skill
"Why did this run fail?" / "Run succeeded but the output looks wrong" cargo-diagnosticsreferences/run-trace.md
"Why does this batch have errors? Which node keeps failing, and is it one cause or many?" cargo-diagnosticsreferences/batch-error-sweep.md
"Why is this play so expensive? Where do the credits go?" cargo-diagnosticsreferences/play-optimize-credits.md

Read the full file on GitHub · 296 lines

Files

What ships with it

5 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. 9d ago First seen · 296 lines · 125 tokens per session scan A 69074ca48619

Subscribe to this mod's changes

cargo-analytics is a skill published in the GitHub repository getcargohq/cargo-skills (17 stars, last pushed 3d ago), licensed MIT. It adds 125 tokens to every session and 3,563 once invoked, about $0.0006 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-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

partner-affiliate

When the user wants to build a partner program, launch an affiliate program, design integration partnerships, or create distribution partnerships. Also use when the user mentions 'partnerships,' 'affiliate program,' 'referral program,' 'partner ecosystem,' 'integration partner,' 'reseller,' 'co-marketing,'…

The-Utopia-Studio/skills · 89 tokens