← ClaudeAtlas

cargo-analyticslisted

Gets results out of Cargo and measures what ran: downloads run outputs, exports a segment or model to CSV or JSON, and counts successes and errors. Triggers: "download the results", "export this to CSV", "give me the file", "how many succeeded", "what is my error rate", "send me the enriched list", "get the output of that run", "how many records did it write". Skip when: asking why something failed or where credits went, use cargo-diagnostics; asking about credits, plans, or invoices, use cargo-billing.
getcargohq/cargo-skills · ★ 26 · Data & Documents · score 81
Install: claude install-skill getcargohq/cargo-skills
# 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. ```bash npm install -g @cargo-ai/cli # no global install? prefix every command with `npx @cargo-ai/cli` cargo-ai login --email you@company.com # 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`](../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 hap