Skip to content

Downloads Cargo run results, exports segment data, and measures run metrics and error rates.

CCM score
68 of 100
skills.sh installs
12K
GitHub stars
27
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers run metrics, run counts, ad-hoc SQL over runs, batches, spans, and records, and per-record output downloads
  • Includes run get-metrics, run count, run download, orchestration query execute, and segment download for storage data
  • Enforces read-only SQL with 30s execution, 10,000 result rows, and 10,000,000 rows scanned limits
  • Designed for measuring and exporting results, with explanations of failures routed to the cargo-diagnostics skill

Install

$ npx -y skills add getcargohq/cargo-skills --skill cargo-analytics -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/getcargohq/cargo-skills
Category
Data Science & Analytics
First seen
Jul 14, 2026

Questions

What does the cargo-analytics skill do?

The cargo-analytics skill downloads workflow run results, exports segment or model data to CSV or JSON, and counts successes and errors in a Cargo workspace. It also lets the agent measure run metrics such as error rates. For reasons behind failures, the cargo-diagnostics skill is the better fit.

How do I install the cargo-analytics skill?

Run this command in your project: npx -y skills add getcargohq/cargo-skills --skill cargo-analytics -y. Once installed, the agent can pull run outputs, export data and report error rates for your Cargo workspace.

Where does cargo-analytics rank in its category?

It sits in the Data Science & Analytics category, where it ranks in the top 25. The other skills that lead that category include azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation.

What does cargo-analytics need before it can run?

It requires the @cargo-ai/cli npm package and a Cargo account. You sign in with cargo-ai login --email, which uses an emailed code, or with --oauth or an API token. Then cargo-ai whoami confirms the active workspace.

More from getcargohq/cargo-skills

All 12

Similar to Cargo Analytics

More Data Science & Analytics