Pulls metrics, downloads results, and exports segment data from your Cargo workspace. You get error rates, run counts, and credit breakdowns through predefined commands or ad-hoc SQL against the orchestration tables. The skill knows when to hand off: it surfaces what happened and gives you the data, but the moment you're asking why a run failed or why a batch is bleeding errors, it defers to cargo-diagnostics. The query interface is read-only and capped at 10 million rows scanned, so you'll want to filter by date on anything production-sized. Useful for monitoring dashboards and pulling clean results after you've already diagnosed and fixed the underlying issues.

skills.sh installs
11.2K
GitHub stars
22
last updated
Aug 21, 2026

Install

$ npx -y skills add getcargohq/cargo-skills --skill cargo-analytics --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/getcargohq/cargo-skills
Categories
DevOps & CI/CD, Data Science & ML, Debugging, Automation & Workflows, Rust, Marketing & SEO, CLI & Terminal
First seen
Jul 14, 2026

More from getcargohq/cargo-skills

All 12
1wshobson avatardistributed-tracingwshobson/agentsImplement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservice11.1Kskills.sh installs
2wshobson avatarturborepo-cachingwshobson/agentsConfigure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines, or implementing dist11Kskills.sh installs
3github avatarcreate-github-action-workflow-specificationgithub/awesome-copilotCreate a formal specification for an existing GitHub Actions CI/CD workflow, optimized for AI consumption and workflow maintenance.10.8Kskills.sh installs
4google avataragent-platform-tuninggoogle/skillsAgent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outsi9.5Kskills.sh installs
5google avataragent-platform-tuning-managementgoogle/skillsManages GenAI tuning jobs in Agent Platform. Use this to list, get, or cancel ongoing model tuning jobs. Don't use for fine-tuning models (use `agent-platform-t9.4Kskills.sh installs
6github avataraspiregithub/awesome-copilotAspire skill covering the Aspire CLI, AppHost orchestration, service discovery, integrations, MCP server, VS Code extension, Dev Containers, GitHub Codespaces, 9Kskills.sh installs