cloud-operator-setup — скилл для Claude Code: настройка
Скилл cloud-operator-setup для Claude Code настраивает операторского агента в проекте Google Cloud. Запускается по просьбе создать агента или начать его настройку.
Apache-2.0 ★ 24 522 обновлён 2026-10-23
npx skills add google/skills --skill cloud-operator-setup -a claude-codeЧто делает cloud-operator-setup
Скилл помогает выбрать проект Google Cloud, проверить оператора или пройти создание агента, а затем сохранить проект в локальной памяти. Если проверка показывает, что агент ещё не создан, пользователь открывает страницу проекта в консоли, создаёт агента и подтверждает готовность; после этого скилл повторяет проверку.
Для работы нужен MCP-сервер autocloud с инструментом ask_cloud_operator. Если он не подключён, скилл останавливается и помогает выполнить gcloud auth application-default login, после чего требуется переподключить сервер. Перед командами gcloud, REST API и MCP нужно прочитать правила атрибуции использования.
После успешной проверки скилл предлагает поделиться уже имеющимся контекстом Google Cloud с памятью агента. Он читает инструкции, память, скиллы, рабочие процессы и документы репозитория только после согласия; список найденного пользователь увидит заранее.
Какие задачи решает
- выбрать проект Google Cloud для оператора
- проверить, создан ли агент в проекте
- создать оператора, если он ещё не инициализирован
- сохранить проект и предложить передать агенту рабочий контекст
Примеры запросов агенту
- Настрой оператора для моего проекта Google Cloud.
- Создай моего операторского агента в проекте
my-project. - Проверь, работает ли оператор в проекте
my-project, и сохрани проект.
Как установить cloud-operator-setup
1Через Skills CLI (Vercel)
npx skills add google/skills --skill cloud-operator-setup -a claude-code2Вручную: положить файлы
~/.claude/skills/cloud-operator-setup/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cloud-operator-setup/
1Через Skills CLI (Vercel)
npx skills add google/skills --skill cloud-operator-setup -a codex2Вручную: положить файлы
.agents/skills/cloud-operator-setup/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add google/skills --skill cloud-operator-setup -a cursor2Вручную: положить файлы
.cursor/skills/cloud-operator-setup/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install google/skills skills/cloud/cloud-operator-setup2Вручную: положить файлы
.github/skills/cloud-operator-setup/SKILL.md1Через Skills CLI (Vercel)
npx skills add google/skills --skill cloud-operator-setup -a gemini-cli2Командой платформы
gemini skills install https://github.com/google/skills --path skills/cloud/cloud-operator-setupВручную: положить файлы
.devin/skills/cloud-operator-setup/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о cloud-operator-setup
Как установить cloud-operator-setup в Claude Code?
Выполни npx skills add google/skills --skill cloud-operator-setup -a claude-code. Скилл появится в ~/.claude/skills/cloud-operator-setup/SKILL.md.
Что делает cloud-operator-setup?
Он выбирает проект Google Cloud, проверяет или помогает создать операторского агента и сохраняет проект в локальной памяти. После настройки скилл может предложить передать агенту существующий контекст Google Cloud.
Что нужно для работы cloud-operator-setup?
Нужен подключённый MCP-сервер autocloud с инструментом ask_cloud_operator и проект Google Cloud. Если сервер не подключён, скилл просит выполнить gcloud auth application-default login и переподключить его.
Исходный текст
SKILL.md · Apache-2.0
---
name: cloud-operator-setup
metadata:
version: "1.0.0"
category: CloudInfrastructureAndServices
description: >-
Sets up the operator agent in a Google Cloud project via the autocloud MCP
server: picks the operator project, creates or checks the user's operator
agent, saves the project, and offers to share the user's existing Google
Cloud operating context with the operator agent's memory. Use when the user
runs this skill, asks to set up the operator or create their operator agent,
or chooses setup when the cloud-operator skill asks. Don't use for ordinary
GCP requests or installing gcloud.
---
# Set up the operator agent
Walk the user through setting up the operator agent one step at a time. Follow
the `cloud-operator` skill's `agentId` and troubleshooting rules if installed.
If `ask_cloud_operator` (on the `autocloud` MCP server) isn't available, tell
the user it isn't connected, help them sign in with Application Default
Credentials (`gcloud auth application-default login`), and stop until they
reconnect.
## Usage Attribution
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read and follow the instructions in
[Usage Attribution](references/attribution.md).
## Steps
1. **Choose the project:** ask which Google Cloud project their operator agent
is in, or will be in (unless already named). Suggest their default `gcloud`
project or the project in local memory only as an option; don't use either
without asking.
2. **Check or create the agent:**
- Unless the user said they have no agent in `{project_id}`, check first:
call `ask_cloud_operator` with `projects/{project_id}` and "In one line,
what can you help me with in this project? Don't create anything." Tell
the user first that it can take 1–3 minutes.
- If it fails with "personal operator agent … has not been initialized yet"
(or they said they have none), walk them through creating it one step at a
time and wait for confirmation: open
`https://console.cloud.google.com/autocloud/home?project={project_id}`,
click **Create operator agent**, then click **Get started** when it says
the agent is ready. Once they confirm, run the check call above (waiting
about a minute and retrying up to 3 times if the new agent isn't ready
yet).
3. **Save and offer to share context:** once the check call works, save
`{project_id}` in local memory (and `agentId` if not their own) and tell the
user the operator works, with `{project_id}` and the agent. In that same
reply, if the `cloud-operator-share-context` skill is available and local
memory has no "Cloud Operator context: shared on" or "declined on" note, ask
in one line whether to scan agent instruction files, local memory, skills
and workflows, and the repository's GCP docs for context they or their team
already have about operating in Google Cloud (environments, projects,
product preferences, best practices, architecture guidance, runbooks) and
share it with the operator agent's memory — noting they'll see the list
first. Read nothing else until they agree.
- **Yes:** run `cloud-operator-share-context` (from its collection step).
- **No:** note "Cloud Operator context: declined on {date}" in local memory.
- **No answer:** note nothing.
Then return to any request that was waiting when setup started.
© google · Apache-2.0 · google/skills