Command Palette

Search for a command to run...

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

cloud-operator-admin-setup

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

Sets up and manages the organization-wide settings of the Cloud Operator Agent ("Gemini for Google Cloud operations" in the console): turning it on or off for…

googleот google★ 25 380 звёзд на GitHub

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

Set up Cloud Operator for an organization

If the user asks to set up Cloud Operator and it isn't clear whether they want their own operator agent or to set it up for the whole organization as its administrator (for example "Set up Cloud Operator for my organization" or "... for organization 123456789012"), ask them which, in one short question, before anything else, including asking for or looking up the organization. For their own agent, use the cloud-operator-setup skill if it's installed.

Go through the steps in order: show the current value, explain each option in a sentence, and wait for their answer. Ask Steps 5–7 together, in one message: they can keep all of them or name the ones to change. Every choice is the administrator's: never recommend accepting the preview terms or any setting, and change only what they chose. Their choice is the confirmation, and so is a request that names the new value (for example "don't allow memory"); turning Cloud Operator on or back on, and granting a role, always need their reply first (Step 4, Give a user access). Send a change once they choose it; for Steps 5–7, send only the ones they changed, in one request. Talk to the user in plain terms: don't name this skill's steps, sections or cases.

They ask to Do
Set up Cloud Operator for the whole organization (as its administrator) Steps 1–8
Change one setting Steps 1–3, that step (Step 4 first if it's off), Step 8
Turn Cloud Operator back on Steps 1–4, then Step 8
Turn Cloud Operator off Turn it off
Give someone access Give a user access
Their agent can't be created because it's turned off or they have no access (sent by another skill) Coming from setup

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Step 1: gcloud

The calls below need gcloud signed in as an administrator of the organization, with Application Default Credentials (gcloud auth application-default print-access-token works); say which account you'll use. Both sign-ins must be the same account: the API calls use Application Default Credentials, while the role grant and gcloud config get-value account use the gcloud sign-in. You can't see the Application Default Credentials account directly, so ask them to confirm they used the same account for both. Ask it in the same reply as Step 3's read; you need their answer only before the first change. If it's installed but not signed in, they run gcloud auth login and gcloud auth application-default login. Otherwise, or if signing in fails, use the console, or they install gcloud (https://docs.cloud.google.com/sdk/docs/install-sdk.md.txt) first. Without gcloud, don't reach the APIs another way (for example by reading credential files or creating tokens).

Step 2: Organization ID

Calls use the numeric ID. Take it from the user or the error they saw, or ask for its ID, domain or a project in it: resolve a domain with gcloud organizations list --filter="displayName={domain}" --format=json (if several match, ask which), a project with gcloud projects get-ancestors {project_id} --format=json (the id of the entry whose type is organization; if there's none, Cloud Operator works only in organizations: stop). If a lookup fails or finds nothing, ask for the ID; never guess. Before changing anything, say which organization and account you're using, for example "Setting up Cloud Operator for organization {org_id} as {account}."

Step 3: Read the settings

curl -sS -w '\nHTTP %{http_code}\n' \
  -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
  "https://geminicloudassist.googleapis.com/v1alpha/organizations/{org_id}/locations/global/agentAdminSettings"
Result Do
200 Keep the etag. Show Gemini usage (enablementState), agent memory (memoryDisabled), agent actions (effectiveMutationMode) and data sharing (effectiveDataSharingAvailability)
403 IAM_PERMISSION_DENIED The account can't manage these settings (an Organization Administrator can). If they asked to set up Cloud Operator without saying it's for the whole organization, they may only want their own agent: use cloud-operator-setup instead (it tells turned off from no access). If it may be the wrong account, they switch (Step 1); otherwise give them the message for their administrator and stop
401, or ACCESS_TOKEN_TYPE_UNSUPPORTED Credentials: Step 1 once more, then the console
400 "Consumer 'organizations/{id}' is invalid", or 404 Wrong ID: ask for it; if they confirm it, stop
Anything else Show the error and offer the console

The response leaves out false fields: no memoryDisabled means memory is allowed, no `

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

Установить cloud-operator-admin-setup в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/attribution.md

FAQ

Что делает скилл cloud-operator-admin-setup?

Sets up and manages the organization-wide settings of the Cloud Operator Agent ("Gemini for Google Cloud operations" in the console): turning it on or off for the organization, its settings, and user access. Use when an organization administrator wants to set it up for the whole organization or change it, or when Cloud Operator is turned off for the organization or the user has no access there. Don't use when someone asks to set up Cloud Operator or their operator agent for themselves, even in a named organization (use `cloud-operator-setup`).

Как установить скилл cloud-operator-admin-setup?

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

Скилл cloud-operator-admin-setup запускает скрипты?

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

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

Сравнить cloud-operator-admin-setup с