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
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,
runContextoutputs, branch routing, and per-node credits usingcargo-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-analyticsfor bulk export
Install
$ npx -y skills add getcargohq/cargo-skills --skill cargo-diagnostics -yInstalls 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 15Similar to Cargo Diagnostics
More Rustm15-anti-patternactionbook/rust-skills9.7K installsUse when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, bett
tauri-v2nodnarbnitram/claude-code-extensions8.8K installsTauri v2+ cross-platform app development with Rust backend. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC
rust-skillsleonardomso/rust-skills8K installsComprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handlin
rust-engineerjeffallan/claude-skills7.1K installsWrites, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait h
coding-guidelinesactionbook/rust-skills4.6K installsUse when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT,
m10-performanceactionbook/rust-skills4.2K installsCRITICAL: Use for performance optimization. Triggers: performance, optimization, benchmark, profiling, flamegraph, criterion, slow, fast, allocation, cache, SIM