Loading...
Loading...
Diagnose and explain Cargo workflow behavior after the fact — trace why a single run produced the wrong output, sweep a batch or play for errors and group them by root cause, and profile where a play's credits go and how to cut the cost. Use when a run failed or "succeeded but looks wrong", a batch has errors, records are missing downstream values, or a play costs more than expected.
npx skill4agent add getcargohq/cargo-skills cargo-diagnosticsrun getcargo-orchestrationcargo-billingWhat are you diagnosing?
│
├── One run / one record ("why did this record fail?",
│ "run succeeded but the output is wrong/empty")
│ └── references/run-trace.md
│
├── Many runs ("the batch has errors", "error rate spiked",
│ "which node keeps failing?")
│ └── references/batch-error-sweep.md
│
└── Cost ("this play is expensive", "where do the credits go?",
"make this cheaper")
└── references/play-optimize-credits.mdcargo-analyticsfailedRunsCount > 0run download-outputsbatch downloadsegment download../cargo-analytics/SKILL.mdrun get| Doc | What it covers |
|---|---|
| Walk one run end-to-end: per-node executions, |
| Find errored runs across a batch/play/workspace, group failures by root cause, pick exemplars, decide fix vs report. |
| Attribute credit spend to workflows and nodes, then apply the cost levers in priority order. |
../cargo/references/prerequisites.md--oauth--tokencargo-ai whoamibilling usage get-metricsbilling subscription get| Surface | Command | Gives you |
|---|---|---|
| Run detail | | |
| Orchestration SQL | | Aggregates over |
| Billing metrics | | Credit totals, filterable and groupable by |
../cargo-orchestration/references/examples/queries.md../cargo-orchestration/references/troubleshooting.md../cargo/references/interaction.mdrun get../cargo-gtm/references/cost-discipline.mdrun getcargo-ai workspaceManagement report create \
--title "<one-line summary>" \
--description "<commands run, errorMessage verbatim, expected vs actual, UUIDs>"