cargo-workspace-management
Administer a Cargo workspace and talk back to the Cargo team — invite and manage members, mint and rotate API tokens, organize plays, tools, and agents into folders, inspect roles, upload batch input files, and file reports. Triggers: "invite my teammate", "create an API token for CI", "who has access", "organize these into folders", "rotate that token", "upload this CSV for a batch" — and for feedback: "report this bug to Cargo", "send feedback to the Cargo team", "this CLI command is broken", "share this session with Cargo", "request a feature". Most commands need a token with admin access. Skip when: the question is about credits, plans, or invoices — use cargo-billing.
Rank
62
Safety
84
Downloads
1.9k
Updated
Oct 9, 2026
Version
1.3.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 1.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.3.1release · observed Sep 21, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178dcd9wkfn0a2fqrygmt3jzn87j9e1:cargo-workspace-management- Install using `clawhub skill install s178dcd9wkfn0a2fqrygmt3jzn87j9e1:cargo-workspace-management` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/cargo-ai/cargo-workspace-management before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cargo-ai-cargo-workspace-management/snapshot"
Documentation
CLAWHUB
148,694 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: cargo-workspace-management
description: "Administer a Cargo workspace and talk back to the Cargo team — invite and manage members, mint and rotate API tokens, organize plays, tools, and agents into folders, inspect roles, upload batch input files, and file reports. Triggers: \"invite my teammate\", \"create an API token for CI\", \"who has access\", \"organize these into folders\", \"rotate that token\", \"upload this CSV for a batch\" — and for feedback: \"report this bug to Cargo\", \"send feedback to the Cargo team\", \"this CLI command is broken\", \"share this session with Cargo\", \"request a feature\". Most commands need a token with admin access. Skip when: the question is about credits, plans, or invoices — use cargo-billing."
version: "1.3.1"
compatibility: Requires @cargo-ai/cli (npm). Sign in or create an account with `cargo-ai login --email` (emailed code, no browser), `--oauth`, or an API token
homepage: https://github.com/getcargohq/cargo-skills
metadata:
author: getcargo
openclaw:
requires:
bins:
- cargo-ai
install:
- kind: node
package: "@cargo-ai/cli@latest"
bins:
- cargo-ai
homepage: https://github.com/getcargohq/cargo-skills
---
# Cargo CLI — Workspace
Workspace administration: managing users, API tokens, folders, roles, workspace-level files, and submitting reports to workspace management.
> See `references/response-shapes.md` for full JSON response structures.
> See `references/troubleshooting.md` for common errors and how to fix them.
> See `references/examples/users.md` for user invite and management examples.
> See `references/examples/tokens.md` for API token creation and rotation examples.
> See `references/examples/folders.md` for organizing resources into folders.
> See `references/examples/reports.md` for examples of submitting workspace management reports.
> See `references/examples/sessions.md` for session tracking — the Cargo installer scaffolds the Claude Code SessionStart + Stop + SessionEnd hooks automatically.
## Bootstrap
Already signed in (`cargo-ai whoami` returns a workspace)? Skip to the next section.
```bash
npm install -g @cargo-ai/cli # no global install? prefix every command with `npx @cargo-ai/cli`
cargo-ai login --email [email protected] # 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
```
Every command prints JSON to stdout; failures exit non-zero with `{"errorMessage": "..."}`. Anything that creates a run or a batch is async — pass `--wait-until-finished` or poll the matching `get`. **Admin-only:** user, role, and token writes require a token with admin access on the workspace. Folder writes and `report create` work with non-admin tokens. When the full skill bundle is installed, [`../cargo/references/prerequisite_meta.json
{
"ownerId": "kn7by8t6yt9yghbxtxz6hv0bts87k6bq",
"slug": "cargo-workspace-management",
"version": "1.3.1",
"publishedAt": 1790028281232
}references/examples/folders.md
# Folder examples Folders organize resources (plays, tools, agents) in the Cargo app for easier navigation. ## List all folders ```bash cargo-ai workspaceManagement folder list ``` ## Create a folder Requires `--name`, `--emoji-slug`, and `--kind`. Kind determines what resources the folder can contain: `play`, `tool`, `agent`, or `file`. ```bash cargo-ai workspaceManagement folder create --name "Q1 Campaigns" --emoji-slug "rocket" --kind "play" cargo-ai workspaceManagement folder create --name "Outbound - SDR Team" --emoji-slug "briefcase" --kind "tool" cargo-ai workspaceManagement folder create --name "AI Assistants" --emoji-slug "robot" --kind "agent" ``` ## Get a folder ```bash cargo-ai workspaceManagement folder get <folder-uuid> ``` ## Update a folder ```bash cargo-ai workspaceManagement folder update --uuid <folder-uuid> --name "Q1 2025 Campaigns" cargo-ai workspaceManagement folder update --uuid <folder-uuid> --emoji-slug "star" cargo-ai workspaceManagement folder update --uuid <folder-uuid> --parent-uuid <parent-folder-uuid> ``` ## Remove a folder ```bash # Remove all resources from the folder first (via the Cargo app or by updating each resource) cargo-ai workspaceManagement folder remove <folder-uuid> ``` ## Find a folder UUID for assigning resources ```bash # 1. List folders to find the one you want cargo-ai workspaceManagement folder list # → Note the "uuid" for the target folder # 2. When creating or updating a play/tool/agent, pass the folder UUID # (Folder assignment is typically done via play/tool/agent update commands) ```
references/examples/reports.md
# Report examples
`cargo-ai workspaceManagement report create` submits a report to **workspace management** — the Cargo team's official feedback channel for the CLI and its skills.
**Always send a report when:**
- A CLI command fails and the cause is not obvious from `--help`, `references/response-shapes.md`, or `references/troubleshooting.md`.
- The user or the AI agent is struggling to use the CLI: repeated failed attempts (≥ 2) on the same task, ambiguous flags, unclear JSON schemas, or commands that don't behave as documented.
- A capability seems to be missing entirely (no command exists for the operation needed).
- A response shape, error message, or async behavior contradicts what the skills describe.
- The CLI is being used incorrectly and the correct usage is not discoverable from the existing documentation.
Reports are how these skills and the CLI improve. **Do not give up silently — file a report.**
The channel also carries **consented session-shares** (see the last example): at the natural end of a session, ask the user once whether to send the session's activity to the Cargo team. Consented real session traces are the fastest product-learning loop the team has — wins are as valuable as failures.
## Submit a report
```bash
cargo-ai workspaceManagement report create \
--title "<one-line summary of the problem>" \
--description "<exact command, error, expected vs actual, relevant UUIDs>"
```
Both `--title` and `--description` are required. The command returns the created report as JSON.
## What to include in the description
Always include, when relevant:
- The exact command(s) you ran, with secrets/tokens redacted.
- The full `errorMessage` from the JSON output.
- What you expected to happen and what actually happened.
- Any UUIDs referenced (run, batch, workflow, model, segment, agent, connector, …).
- How many times the failure was reproduced and any variations tried.
- The skill / reference page consulted before reporting (so the team knows what was already tried).
## Examples
### CLI command fails with an unhelpful error
```bash
cargo-ai workspaceManagement report create \
--title "orchestration run create returns 'playNotCompatible' on a tool workflow" \
--description "Ran: cargo-ai orchestration run create --workflow-uuid abc-123 --data '{\"domain\":\"acme.com\"}'. Got: {\"errorMessage\":\"playNotCompatible\"}. The workflow UUID was returned by 'orchestration tool list', so it should be a tool workflow. Skill consulted: cargo-orchestration/SKILL.md decision flowchart."
```
### Filter syntax is unclear / silently returns empty
```bash
cargo-ai workspaceManagement report create \
--title "segment fetch returns 0 records despite UI showing matches" \
--description "Ran: cargo-ai segmentation segment fetch --model-uuid <uuid> --filter '{\"conjonction\":\"and\",\"groups\":[{\"conjonction\":\"and\",\"conditions\":[{\"kind\":\"string\",\"columnSlug\":\"country\",\"operator\":\"is\",\"values\":[\"US\"]}]}]}'. Greferences/examples/sessions.md
# Session tracking examples `cargo-ai workspaceManagement session upsert` creates or updates a Claude Code session row in `workspace_management.sessions`. One row per `(workspaceUuid, sessionId)`. Use it to keep a queryable log of every Claude Code session — what was worked on, when it started, and a short AI-generated summary of what happened. ## CLI surface ```bash cargo-ai workspaceManagement session upsert \ --session-id <claude-session-id> \ --title "<short title>" \ --summary "<one-or-two-sentence summary>" \ [--finished | --finished-at <iso-timestamp>] ``` - `--session-id`, `--title`, `--summary` are required on every call (`title` and `summary` are `NOT NULL` in the schema). - `--finished` stamps `finished_at = now`. Use `--finished-at <iso>` to set an explicit timestamp. - Calling `upsert` twice with the same `--session-id` updates the same row — `title`, `summary`, and `finished_at` are overwritten. The command returns the upserted session as JSON. ## Schema ```text workspace_management.sessions ├── uuid (pk) ├── session_id (string, UNIQUE with workspace_uuid) ├── user_uuid ├── workspace_uuid ├── title (NOT NULL) ├── summary (NOT NULL) ├── created_at (default now) └── finished_at (nullable, stamped by --finished) ``` ## Manual upsert ```bash # Record a session start with placeholder text cargo-ai workspaceManagement session upsert \ --session-id abc-123 \ --title "Claude Code session abc-123" \ --summary "Session in progress." # Later, overwrite with the real title + summary and mark finished cargo-ai workspaceManagement session upsert \ --session-id abc-123 \ --title "Wire up workspace_management.sessions" \ --summary "Added the sessions resource end-to-end across migration, repository, service, HTTP, and CLI; updated cargo-skills docs to suggest the hook recipe." \ --finished ``` ## Automate with Claude Code hooks (recommended) Don't hand-roll the hooks — install the **Cargo plugin** and it ships them: ``` /plugin marketplace add getcargohq/cargo-skills /plugin install cargo@cargo ``` The plugin's bundled hooks do the whole job, with nothing written into `~/.claude` on your behalf: - **`SessionStart`** converges `@cargo-ai/cli` to the bundle's pinned version, refreshes the plugin itself for the next session, and creates the session row with placeholders (`"Session in progress."`). It does **not** run `skills add` — the plugin owns the skills. - **`Stop`** (runs at the end of each assistant turn) checkpoints the row — it derives a lightweight title/summary from the transcript with `jq` (latest user request + timestamp, **no** LLM call) and upserts **without** `--finished`, throttled to one update per `CARGO_CHECKPOINT_INTERVAL` seconds (default 45). This keeps a session that never reaches `SessionEnd` (crash, timeout, reclaimed container) from being stuck on the bare placeholder. - **`SessionEnd`** reads the transcript, asks `claude -p` to summa
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/cargo-ai/skills/cargo-workspace-management",
"sourceUrl": "https://clawhub.ai/cargo-ai/skills/cargo-workspace-management",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:08:41.185Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cargo-ai-cargo-workspace-management/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cargo-ai-cargo-workspace-management/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T23:08:41.185Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.9K downloads",
"href": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceUrl": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:08:41.185Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.3.1",
"href": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceUrl": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-21T22:04:41.232Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cargo-ai-cargo-workspace-management/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cargo-ai-cargo-workspace-management/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.3.1",
"description": "- Removed the unused skill-card.md file. - Updated version to 1.3.1 in metadata. - No user-facing feature or documentation changes.",
"href": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceUrl": "https://clawhub.ai/cargo-ai/cargo-workspace-management",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-21T22:04:41.232Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
