Cargo CLI Segmentation lets you define, save, inspect, export, and monitor named audiences over Cargo models.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cargo-segmentation
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cargo-segmentation using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Cargo CLI Segmentation is an Openclaw Skills capability for creating named, reusable audiences from saved filters over a single Cargo model. These segments provide the audience layer for downstream batch runs, play triggers, exports, change feeds, monitoring, and go-to-market workflows.
The skill supports both quick, inline filter checks and durable segment objects with names, slugs, model references, record counts, selected columns, tracking columns, and membership history. It also provides delta feeds that identify added, updated, removed, and unchanged records, making Openclaw Skills useful for turning static data filters into actionable audience signals.
cargo-ai whoami.conjonction, nested groups, conditions, column slugs, operators, values, and supported condition kinds.segment fetch and a small limit to validate the criteria and estimate the audience shape.segment create, assigning a name, model UUID, filter, output columns, and optional tracking columns.segment get and use its authoritative recordsCount before proposing downstream actions.change list and change fetch to identify records entering or leaving the audience.Install the Cargo CLI, authenticate, and verify the workspace before making changes:
npm install -g @cargo-ai/cli
cargo-ai login --email [email protected]
cargo-ai whoami
For browser-based authentication, use cargo-ai login --oauth. For CI environments, authenticate with an API token:
cargo-ai login --token <api-token>
Discover the resources required to construct a valid segment:
cargo-ai segmentation segment list
cargo-ai storage model list
cargo-ai storage column list --model-uuid <model-uuid>
Create a segment with a valid filter. The key must be spelled conjonction, not conjunction:
cargo-ai segmentation segment create \
--name "Mid-market accounts" \
--model-uuid <model-uuid> \
--filter '<filter-json>' \
--column-slugs "name,domain,employee_count" \
--tracking-column-slugs "employee_count,funding_stage"
Useful lifecycle commands include:
cargo-ai segmentation segment get <segment-uuid>
cargo-ai segmentation segment update --uuid <segment-uuid> --filter '<filter-json>'
cargo-ai segmentation segment fetch --model-uuid <model-uuid> --filter '<filter-json>' --limit 3
cargo-ai segmentation segment download --model-uuid <model-uuid> --filter '<filter-json>'
cargo-ai segmentation change list --segment-uuid <segment-uuid>
cargo-ai segmentation change fetch --uuid <change-uuid> --kinds added --limit 50
Commands emit JSON to stdout and return a non-zero exit code with an errorMessage object on failure. Asynchronous batch or run operations belong to the orchestration workflow; use --wait-until-finished or poll the relevant resource when applicable. Do not manually edit or remove segments marked fromPlay: true, because those are owned by their associated play.
| Entity | Key fields | Purpose |
|---|---|---|
| Filter | conjonction, groups, conditions |
Ephemeral JSON criteria evaluated against one model. |
| Segment | uuid, name, slug, modelUuid, recordsCount |
Saved, reusable audience definition. |
| Change | uuid, createdAt, totalRecordsCount, membership counts |
Snapshot of how segment membership changed between syncs. |
| Record | Model columns plus _kind, _id, _title, _time in change responses |
Individual model data returned by fetch and change operations. |
conjonction: Logical combination key at the root and group levels; supported values include and.groups[].conditions[]: Individual criteria evaluated against model columns.kind: Condition data type, including string, number, date, boolean, array, and relation.columnSlug: The exact column identifier discovered through cargo-ai storage column list.operator and value: Comparison behavior and the value used for matching.modelUuid binds each segment to exactly one Cargo model.column-slugs controls the model columns returned with segment records.tracking-column-slugs determines which value changes count as updated records.recordsCount is the authoritative current audience size.lastChange may be embedded in segment list and get responses.added, updated, removed, and unchanged.GENERATED_PLAY_SEGMENT and metadata such as fromPlay: true.segment fetch returns paginated inline JSON; segment download returns a signed URL for the full dataset.A match-everything filter is {"conjonction":"and","groups":[]}. Always validate the spelling of conjonction, because using conjunction can silently produce an empty result.
--sync refreshes and --enrich joined or derived values.defineSegment workflow.workspaceManagement report create, including command history, verbatim errors, UUIDs, and expected-versus-actual behavior.recordsCount, and avoid paging entire datasets into the agent conversation.Loading
Crun Media Agent Skills orchestrates safe, model-routed workflows for generating, editing, and transforming image, video, audio, music, and other media.

A complete 1688 procurement workflow that takes users from product discovery and supplier comparison to cart management, checkout, and user-approved payment.

Glasser lets Openclaw Skills discover, price, and safely run more than 1,000 third-party data API endpoints through one authenticated Workspace.

Haircut measures, prices, and safely trims the configuration overhead loaded by every coding agent on a machine.

A public TikTok Shop market intelligence skill for discovering products, analyzing performance, tracing promotion channels, and finding visually similar items.

A read-only TikTok live commerce research skill for discovering livestreams, analyzing session performance, and identifying products sold through Chuhaijiang.








































