Skip to content
getcargohq avatar

Cargo Diagnostics

Diagnoses failed Cargo runs and batches after the fact: traces a single run, groups batch errors by root cause, and attributes credit spend.

CCM score
51 of 100
skills.sh installs
11.1K
GitHub stars
27
last updated
Dec 1, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three runbooks: tracing one run end to end, sweeping a batch for errors, and profiling a play's credit spend
  • Traces run executions, runContext outputs, branch routing, and per-node credits using cargo-ai orchestration run get
  • Draws the executed graph with the failing node highlighted, so skipped steps reached through failure edges are not mistaken for empty results
  • Designed for debugging workflows that failed, returned wrong or empty output, or cost more than expected; use cargo-analytics for bulk export

Install

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

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

Files

Cargo CLI — Diagnostics

Forensic runbooks for workflow behavior: trace one run, sweep a batch for errors, profile a play's credit spend. This skill is the interpretation layer — the raw surfaces (run get, orchestration SQL, billing metrics) are documented in cargo-orchestration and cargo-billing; each runbook here tells you which of them to pull, in what order, and what each output shape means.

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
Categories
Rust, Debugging
First seen
Dec 1, 2026

More from getcargohq/cargo-skills

All 15

Similar to Cargo Diagnostics

More Rust