Cargo CLI — Segmentation Segments are the audience layer of a Cargo workspace: a named, saved filter over one model that answers "which records do I mean?" Everything downstream — a batch run, a play trigger, a CSV export, a change feed — takes a segment (or a segment-shaped filter) as its input. See references/response-shapes.md for full JSON response structures. See references/troubleshooting.md for common errors and how to fix them. Filter condition kinds and operators live in ../cargo-orchestration/references/filter-syntax.md — the single source of truth for filter JSON. 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 (CI)
cargo-ai whoami
confirm the active workspace before any write
Show more Installs 907 Repository getcargohq/cargo-skills GitHub Stars 15 First Seen 11 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass