cargo-analytics
Analyticsgetcargohq/cargo-skillsskills.sh ↗
Installs
6,070
deduplicated, at the last sync
Since we started
+7.8%
40 readings, about 2 hours apart. Not a live curve.
Our category
Analytics
ours
Last read
Sep 3, 2026
from the directory
Our brief
oursThe cargo-analytics skill queries the Cargo platform for run and batch analytics. It can retrieve metrics such as success and error counts, compute error rates, and export run, batch, or segment data as CSV or JSON files. It works via the @cargo-ai/cli and returns signed URLs or JSON responses.
- signed URL to gzipped CSV
- signed URL to CSV or JSON file
- JSON run metrics object
- signed URL to batch export
- raw downloadable payload (CSV/JSON)
- installed cargo-ai CLI
- authenticated Cargo account token
- workflow UUID (or model UUID)
- optional filter JSON
- output node slug (optional)
not detected
The evidence does not mention any required paid plan or subscription for using cargo-analytics.
required
SKILL.md states that users must sign in or create an account with `cargo-ai login`.
The skill cannot retrieve full per‑node runContext for many runs in a single call; it only provides node titles or a single node's output via export. It also does not explain why runs failed or provide billing or credit details.
Evidencestatic findingscargo-analytics/references/response-shapes.md:1-75cargo-analytics/references/troubleshooting.md:1-30cargo-analytics/SKILL.md:1-208
[{"code":"oauth","match":"oauth","path":"SKILL.md"},{"code":"payment","match":"billing","path":"SKILL.md"},{"code":"payment","match":"subscription","path":"SKILL.md"},{"code":"install_cmd","match":"npm install -g","path":"SKILL.md"},{"code":"payment","match":"billing","path":"references/response-shapes.md"},{"code":"payment","match":"subscription","path":"references/response-shapes.md"},{"code":"oauth","match":"oauth","path":"references/troubleshooting.md"},{"code":"install_cmd","match":"npm install -g","path":"references/troubleshooting.md"}]# Response shapes
JSON response structures returned by Cargo CLI commands used in the `cargo-analytics` skill.
> For billing response shapes (usage metrics, subscription, invoices), see the `cargo-billing` skill.
## cargo-ai orchestration run get-metrics
```json
{
"runMetrics": [
{
"nodeUuid": "node-uuid-1",
"totalExecutionsCount": 1000,
"idleExecutionsCount": 0,
"pendingExecutionsCount": 5,
"runningExecutionsCount": 10,
"successExecutionsCount": 950,
"errorExecutionsCount": 30,
"cancelledExecutionsCount": 5,
"skippedExecutionsCount": 0,
"creditsUsedCount": 450
}
]
}
```
**Key fields:** `nodeUuid` (identifies the workflow node), `successExecutionsCount`, `errorExecutionsCount`, `creditsUsedCount`.
To compute an error rate: `errorExecutionsCount / totalExecutionsCount`.
## cargo-ai orchestration run count
```json
{
"count": 42
}
```
## cargo-ai orchestration run list
```json
{
"runs": [
{
"uuid": "run-uuid",
"workflowUuid": "...",
"status": "success",
"batchUuid": "batch-uuid-or-null",
"releaseUuid": "...",
"recordId": "rec-123",
"recordTitle": "Acme Co# Troubleshooting
Common errors and recovery steps for `cargo-analytics` commands.
## General
| Symptom | Cause | Fix |
|---------|-------|-----|
| `{"errorMessage": "..."}` with non-zero exit | Any CLI error | Read the `errorMessage` — it usually says exactly what's wrong |
| `command not found: cargo-ai` | CLI not installed or not in PATH | Run `npm install -g @cargo-ai/cli` or prefix with `npx @cargo-ai/cli` |
| `Unauthorized` or `Forbidden` | Bad or expired credentials | Re-run `cargo-ai login --oauth` (browser sign-in) or `cargo-ai login --token <token>`; verify with `cargo-ai whoami` |
## Run metrics and counts
| Symptom | Cause | Fix |
|---------|-------|-----|
| `run get-metrics` returns empty array | No runs exist for that workflow/period | Verify the `--workflow-uuid`; try without date filters to check if any runs exist |
| Error count seems too high | Counting across all time | Scope with `--created-after` and `--created-before` for a specific period |
| `run count` returns 0 unexpectedly | Filter combination too narrow | Remove filters one at a time to isolate which one excludes all runs |
## Downloads and exports
| Symptom | Cause | Fix |
|---------|-------|-------
name: cargo-analytics
description: "Get data out of Cargo and measure what ran — download a run output, export a segment or model to CSV or JSON, and pull run and batch success and error counts. 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."
version: "1.5.0"
compatibility: Requires @cargo-ai/cli (npm). Sign in or create an account with `cargo-ai login --email` (emailed code, no browser), `--oauth`, or an API token
homepage: https://github.com/getcargohq/cargo-skills
metadata:
author: getcargo
openclaw:
requires:
bins:
- cargo-ai
install:
- kind: node
package: "@cargo-ai/cli@latest"
bins:
- cargo-ai
homepage: https://github.com/getcargohq/cargo-skills
---
# Cargo CLI — Analytics
Measurement and export: monitoring run metrics, downloading run and batch results, and exporting segment data.
Read 4 of 4 text files in the skill.
Installfrom the directory
npx skills add https://github.com/getcargohq/cargo-skillsInstalling happens there, not here. We are an index with an opinion, not a mirror.
What is inside itfrom the directory
6 files — names only. The directory does not report sizes.
What the auditors foundfrom the directory
A skill is instructions your agent will follow and scripts it may run, so who checked it matters as much as how many people installed it.
Installs, reading by readingours
Axis starts at 5.6k, not zero — the range is 5.6k to 6.1k.