cargo-content
БесплатноБез исполняемых скриптовНе проверенManages the files in a Cargo workspace: uploads docs (PDF, CSV, text) and builds knowledge bases agents search (RAG), or stores any file by path and shares it…
Об этом скилле
Cargo CLI — Content
Workspace files: upload and organize them (PDFs, CSVs, text) and group or sync them into libraries — the knowledge resources that ground agent responses (retrieval-augmented generation, RAG). Files are also plain storage: write one at a path, read it back, list a folder, and hand out a link, from the CLI, the HTTP objects API, a hosted worker, a workflow node, or an agent — see Files as storage.
New top-level domain (CLI ≥ 1.0.19). Files and libraries moved out of the
aidomain into thecontentdomain —cargo-ai content file …andcargo-ai content library …. The oldcargo-ai ai file …commands no longer exist; anunknown commanderror means you're on the old path.
For attaching a file or library to an agent (via the release
resourcesarray), usecargo-ai. For folders that organize files, usecargo-workspace-management(cargo-ai workspaceManagement folder …). For batch-run input files (CSVs uploaded to drive a batch), that's a different surface —cargo-ai workspaceManagement file upload— documented incargo-workspace-management.
See
references/examples/files.mdfor end-to-end file, library, and attach-to-agent examples. Seereferences/objects.mdfor files as storage: the path model, storage settings and their per-surface defaults, signed and public links, the context mirror, and the HTTP / worker / node / agent surfaces. Seereferences/response-shapes.mdfor full JSON response structures. Seereferences/troubleshooting.mdfor common errors and how to fix them.
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 [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. When the full skill bundle is installed, ../cargo/references/prerequisites.md adds the CLI version pin, token scopes, and the admin-only surface.
Discover resources first
cargo-ai content file list # all uploaded files (uuid, name, contentType, size)
cargo-ai content library list # knowledge libraries (native or connector-backed)
Files
Upload files (PDFs, CSVs, text) so an agent can ground its responses in specific knowledge. The upload response includes the uuid you reference when attaching the file to an agent release (see cargo-ai).
# List all files
cargo-ai content file list
# Get a single file
cargo-ai content file get <file-uuid>
# Upload a file (optionally straight into a folder)
cargo-ai content file upload --file ./knowledge-base.pdf
cargo-ai content file upload --file ./knowledge-base.pdf --folder-uuid <folder-uuid>
# Update a file's name or folder
cargo-ai content file update --uuid <file-uuid> --name "Q1 Research Notes"
cargo-ai content file update --uuid <file-uuid> --folder-uuid <folder-uuid>
# Remove a file
cargo-ai content file remove <file-uuid>
Content files in the context repo. A file with
mirrorToContext: true— the default forupload, web-app uploads anddefineFile— is committed and pushed into the context repository under.files/<path>(commitcontent(mirror): upsert <name>; over 10 MB, a JSON metadata sidecar instead of the bytes), so a command in the context runtime sandbox can read it — e.g.cargo-ai context runtime execute --command ls --args '["-1",".files"]'— and anyone with access to that repo can too. Path writes (put, the objects API, workers, nodes, agents) default tomirrorToContext: falseand stay out of git..files/is read-only from the context runtime (deniedPath); change those files withcontent filehere. Seecargo-context.
Files as storage (paths and links)
A file's path is its folder chain plus its name (reports/2026-q3/summary.pdf). Writing to a path creates missing folders and overwrites the newest file of that name in place (same uuid, settings kept unless you pass new ones).
cargo-ai content file put reports/2026-q3/summary.pdf --file ./summary.pdf # → { file, path }; any size
# --content-type <mime> (guessed from the extension) · --index none|vectorStore (none)
# --visibility private|public (private) · --mirror-to-context (off)
cargo-ai con
Установить cargo-content в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cargo-content?
Manages the files in a Cargo workspace: uploads docs (PDF, CSV, text) and builds knowledge bases agents search (RAG), or stores any file by path and shares it with a signed or public link. Triggers: "upload this PDF", "add these docs as knowledge", "build a knowledge base", "sync our help center into Cargo", "what files are in the workspace", "index this folder", "attach our pricing sheet", "store this file", "save the report somewhere", "give me a link to the file", "make this file public". Skip when: wiring the file or library into an agent, use cargo-ai; uploading a CSV that drives a batch run, that is a workspace-management file upload.
Как установить скилл cargo-content?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cargo-content запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic