SkillsReviewed · getcargohq

Cargo Diagnostics

Cargo Diagnostics is an assistant skill for Cargo users investigating workflow failures or unexpected spending, but billing metrics require admin access. It guides individual run tracing, batch error grouping and the separation of provider charges from node execution charges through the Cargo CLI.

Researched 17 Nov 2026

In short.

Cargo Diagnostics is an assistant skill for Cargo workflow builders investigating failures, incorrect results or credit spending, but it requires Cargo access and relies on companion documentation outside its folder. Version 1.6.1 provides three diagnostic runbooks covering individual runs, batch failures and cost attribution. Useful details include identifying provider failures absorbed by fallback paths, inspecting resolved node inputs and accounting for execution charges omitted from provider credit fields. Billing metrics require admin access. No commands were executed, so diagnostic accuracy, CLI compatibility and actual savings remain unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes cargo-diagnostics/SKILL.md, cargo-diagnostics/skill-metadata.json, cargo-diagnostics/references/batch-error-sweep.md, cargo-diagnostics/references/play-optimize-credits.md and cargo-diagnostics/references/run-trace.md at commit d2bb5dbbfe72471e246ad6c0fea10da180c78471, plus the repository-root LICENSE. Linked sibling skills and shared references, CLI implementation, hosted-service behavior and third-party services are outside this scope. No installation, command execution, diagnosis, workflow edit, billing reconciliation or paid rerun was performed.

The overview

Identity

cargo-diagnostics is an assistant instruction package in getcargohq/cargo-skills, with author metadata identifying getcargo. Both its entry point and generated metadata declare version 1.6.1. Its five files comprise SKILL.md, three diagnostic runbooks and skill-metadata.json.

The original resource location is [https://github.com/getcargohq/cargo-skills/tree/main/cargo-diagnostics]. It targets the Cargo service accessed through the cargo-ai CLI.

Assessment

Its strongest fit is an existing Cargo workflow whose final status does not explain its behavior or cost. The instructions connect node execution paths, actual outputs, resolved inputs and billing information into an ordered investigation.

Particularly useful distinctions include a successful run with a degraded trace, missing data caused by an incorrect expression path, and execution charges missing from provider cost totals. These are documented diagnostic methods; their accuracy and practical effectiveness have not been demonstrated by execution.

Users

The intended users are Cargo workflow builders and operators handling connector, enrichment and agent workflows. Relevant problems include blank columns, incorrect branch choices, widespread provider errors and unexpectedly expensive plays.

Beginners get a prescribed investigation sequence and examples of common output-shape mistakes. Experienced developers get commands, ClickHouse queries and field names for deeper inspection. Successful use still requires access to the affected workspace and an understanding of its expected outputs.

Capabilities

The individual-run runbook explains how to find a run from a record name, workflow, recent failure or error message, then inspect its executed nodes, outputs and resolved configuration. Graph commands help explain branch choices and fallback paths.

The batch runbook sizes failures, finds concentrations by node and groups matching error patterns using exemplar runs. The cost runbook attributes spending to workflows, integrations and nodes, adds execution charges separately, and suggests changes such as earlier filtering, fewer nodes or lower agent limits.

Using it

Requirements

The documented prerequisites are the npm-distributed @cargo-ai/cli, a Cargo account and an authenticated workspace. Standard tokens cover the diagnostic surfaces described outside billing; billing usage metrics and subscription commands require admin access.

The folder does not establish a minimum Node.js version or an exact compatible CLI version. It refers to a CLI version pin and token scopes in companion prerequisites documentation. OpenClaw installation metadata is present, but broader assistant-host compatibility is not established.

Mechanism

The tracing procedure reads run.executions[] for the path taken, runContext for actual node outputs and runComputedConfigs for arguments after expression resolution. Workspace-scoped orchestration SQL supports discovery and aggregation. When no workflow UUID is known, SQL avoids the documented run-list requirement for a time window of at most 30 days.

A trace groups related runs, while spans represent node executions. trace get returns aggregate information without spans; span queries or SQL expose execution detail. The documentation says degraded traces identify root-run failures absorbed by fallbacks, while child-run failures do not determine trace status. Root status alone therefore cannot establish that every child execution succeeded.

Setup

The documented CLI setup uses npm install -g @cargo-ai/cli, followed by cargo-ai login --email you@company.com and cargo-ai whoami to confirm the workspace. OAuth and API-token authentication are alternatives. The instructions offer npx @cargo-ai/cli when a global installation is unavailable.

Those commands set up CLI access. The folder does not provide a host-specific command for installing the skill into an assistant. Its reference subfolder and links to sibling Cargo documentation are important dependencies when making the instructions available to an assistant.

Example

The run-trace document illustrates a successful run whose branch reads {{nodes.qualify.qualified}}, although the actual value is nested at runContext.qualify.answer.qualified. Its example shows nodeChildIndex = 1, indicating that the branch took the no-path.

The proposed investigation checks the actual output, resolved condition and highlighted graph before changing the expression to {{nodes.qualify.answer.qualified}}. This is an illustrative source example; no actual record, successful repair or measured rerun cost is established.

Assessment & evidence

Limitations

The folder depends on sibling documentation for complete schemas, query caps, troubleshooting, deployment commands, provider prices and spending procedures. Those dependencies are outside the supplied scope, so the folder alone does not establish a complete repair-and-deployment procedure.

The batch guide's approximate 5% error-rate heuristic and the cost guide's sampling of two or three recent runs are practical guidance, not measured reliability guarantees. Sampled successful runs may not represent every branch or failure pattern.

CLI behavior, authentication, workspace scoping, billing reconciliation and paid reruns were not assessed through execution. No benchmarks establish diagnostic success rates or time savings.

Why it may fit

The method ties recommendations to concrete evidence: resolved inputs can explain expression mistakes, failed spans can reveal provider errors absorbed by fallbacks, and execution counts can explain costs absent from provider totals. This makes it relevant to investigations where a final status or aggregate bill leaves important questions unanswered.

Its value depends on the available run data and the assistant interpreting that evidence correctly. The documents support a structured diagnostic approach, but do not establish automatic root-cause detection or guaranteed savings.

Related options

The entry point directs proactive alerting tasks to cargo-observability and measurement or bulk export tasks to cargo-analytics. It describes cargo-orchestration and cargo-billing as documentation for the underlying command surfaces.

These references explain the intended division of work. Their full contents are outside the supplied scope, so comparative quality, completeness and compatibility are unknown.

Evidence

The evidence comprises the complete skill entry point, all three listed runbooks, generated metadata and the repository-root MIT notice. Metadata corroborates the skill version and document inventory. The original versioned entry point is [https://raw.githubusercontent.com/getcargohq/cargo-skills/d2bb5dbbfe72471e246ad6c0fea10da180c78471/cargo-diagnostics/SKILL.md].

The material documents intended procedures and illustrative outputs. It includes no CLI implementation, actual diagnostic session, billing receipt or independently demonstrated repair. No commands were executed.

Access & freshness

Costs

The cost runbook states that creditsUsedCount represents provider charges and excludes an additional 0.01 credits per node execution, including structural native nodes. A tool can also generate executions inside its own graph. The procedure compares execution counts with provider totals and treats billing metrics as authoritative when SQL totals disagree.

This is a documented charging rule, not a verified current tariff. Subscription prices, the money value of a credit, the total cost of a diagnosis and actual savings are unknown. The graph command is specifically described as free and as running no workflow.

Paid reruns can incur further charges. Pilot guidance differs by task: the entry point specifies 10–20 records before scaling paid reruns, while the optimization guide specifies 1–3 records for a cost trial. No measured pilot results are supplied.

Rights

The repository-root MIT licence carries Copyright (c) 2026 Cargo. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice remain in copies or substantial portions. It supplies the material without warranty.

The notice supports redistribution of the captured skill files with the licence included. It does not establish access rights or commercial terms for the hosted Cargo service, third-party connectors, data or model providers.

Freshness

The source snapshot was captured on 17 November 2026 at commit d2bb5dbbfe72471e246ad6c0fea10da180c78471. SKILL.md and skill-metadata.json both identify version 1.6.1; the capture date does not establish a release date.

Installation instructions use an unpinned CLI package, and the metadata names @cargo-ai/cli@latest. Whether newer CLI or service revisions change the documented fields, commands or charging rules is unknown.

Practical next steps

Confirm the intended workspace, token permissions and companion documentation before use. Choose the individual-run trace for one incorrect record, the batch sweep for widespread failures or the cost profile for spending questions. Include degraded traces when looking for failures absorbed by fallback paths.

Inspect outputs, resolved configuration and the relevant graph before changing routing or expressions. Before paid re-execution, establish the exact records, pilot size and expected credit budget. Any claimed repair or saving needs confirmation on affected records; none is demonstrated in the supplied material.

Evidence for this report

LICENSEnotice · checked 2026-11-17
cargo-diagnostics/SKILL.mdselected · checked 2026-11-17
cargo-diagnostics/references/run-trace.mdselected · checked 2026-11-17
cargo-diagnostics/skill-metadata.jsonselected · checked 2026-11-17