Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cargo-project

БесплатноБез исполняемых скриптовНе проверен

Manages a whole Cargo workspace as code, like Terraform: connectors, models, plays, tools, agents, MCP servers, segments, context, files, workers and apps…

getcargohqот getcargohq★ 27 звёзд на GitHub858 установок в других каталогах

Об этом скилле

Cargo project — a Cargo workspace, declared in a repo

Use this skill to define a Cargo workspace in TypeScript (define* builders from @cargo-ai/cdk) and reconcile it to live infrastructure with cargo-ai project deploy. It is the declarative counterpart to the imperative capability skills: instead of running one CLI command per resource, you write the whole graph once and deploy it repeatably, with a deploy state — held in your workspace, pointed at by a committed cargo.state.json — linking your code to what Cargo created. A project is the folder holding cargo.json ({ "resources": "infra" }): every cargo-ai project command finds the nearest one above where it runs, and stops without one.

"Project" and "workspace" are two different things — keep them apart. A workspace is the Cargo tenant you sign into: it holds the models, connectors, agents, mailboxes and credits, and it is what login --workspace-name selects and what whoami reports. A project is the folder holding cargo.json that declares resources and deploys them into a workspace: it is what project init scaffolds, where cargo.state.json sits, and what every command finds by walking up to the nearest cargo.json. A repo can hold several, one cargo.json each. One project deploys into one workspace at a time — the workspace guard refuses a deploy when the state's workspace isn't the selected one — and the same project reaches a dev and a prod workspace through a different deploy state each. Say "project" for it, and don't name a project directory my-workspace.

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
cargo-ai project --help                     # `unknown command` = CLI too old; reinstall @cargo-ai/cli@latest

Two project-specific extras: the project needs @cargo-ai/cdk as a dependency for the define* builders you import (cargo-ai project init scaffolds a package.json with it — then npm install), and the cargo-ai project domain ships with the CLI itself.

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.

1) What this skill governs

  • Authoring every Cargo resource with a define* builder that returns a handle; wiring resources by passing handles to each other (the dependency graph is your variable graph).
  • Deploying the graph: plan (offline diff) → deploy (create/update, write state) → destroy (tear down). Plus drift (refresh), adoption (import), and recovery (rollback).
  • Typing the config against your workspace's real integration schemas (cargo-ai project types).

A project spans every resource kind — so it overlaps every imperative capability skill (cargo-connection, cargo-storage, cargo-ai, cargo-orchestration, cargo-content, cargo-hosting, …). Which to reach for is the first decision:

2) A project or the CLI? — the routing decision

Declarative (this skill) vs imperative (a capability skill).

Use a project when the user is managing resources as an artifact:

  • "Set up / stand up / bootstrap a whole workspace (as code / from a template)."
  • "Make this reproducible / version-controlled / in git / repeatable across environments (dev → prod)."
  • "Deploy these connectors + models + agents together" (a multi-resource graph wired by dependency).
  • Anything that should be re-runnable and diffable, where losing the definition would be a problem.

Use the matching capability skill (imperative cargo-ai <domain>) when the user is doing a one-off operation or exploring:

  • "Create one connector", "add a column to this model", "list connectors", "run this workflow", "query storage", "read this agent's memory."
  • Any read, ad-hoc query, or single mutation that doesn't need to live in code.

When unsure, ask whether the result should be committed and re-deployable. If yes → a project. If it's a quick action or a read → the capability skill (see the cargo router to pick the right domain).

Before writing anything: restate it, then ask only what you cannot read

A project request is usually one sentence ("score our accounts every week"), and the gap between t

Полный SKILL.md на GitHub

Установить cargo-project в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

guides/authoring-resources.mdguides/deploy-and-state.mdguides/executions.mdguides/typed-config.mdrecipes/add-connector-and-model.mdrecipes/build-an-agent.mdrecipes/deploy-from-ci.mdrecipes/migrate-existing-workspace.mdrecipes/scaffold-a-project.mdreferences/commands.mdreferences/cookbooks.mdreferences/examples/full-workspace.mdreferences/resources.mdreferences/troubleshooting.mdskill-metadata.json

FAQ

Что делает скилл cargo-project?

Manages a whole Cargo workspace as code, like Terraform: connectors, models, plays, tools, agents, MCP servers, segments, context, files, workers and apps declared in TypeScript, previewed with `cargo-ai project plan`, applied with `deploy`, and reviewed in a PR. Triggers: "as code", "in git", "version-controlled", "reproducible", "Terraform for Cargo", "set up a whole workspace", "staging and production", "deploy the workspace from CI", "review this in a PR", "cargo.json", "cargo.state.json", "scaffold from a template", "is there a cookbook for this", "start from a cookbook". Skills with a worked project example (TAM building, account scoring, call capture, inbound qualification, CRM enrichment, standup) live in gtm-skills; menu in references/cookbooks.md. Skip when: it is a one-off operation, a read, or an ad-hoc query; use the matching capability skill.

Как установить скилл cargo-project?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cargo-project запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cargo-project с