Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

cloud-operator

FreeNo executable scriptsNot checked

Google Cloud (GCP) assistant and operator via the `google-cloud-operator` MCP server. Use for any GCP request: how-to, resources, Terraform/Kubernetes/Helm…

googleby google★ 25,380 GitHub stars

About this skill

Cloud Operator

Delegate GCP work (questions, design, Terraform/Kubernetes/Helm generation and review, resource management, rollouts, incidents, costs) to the Cloud Operator Agent, through ask_cloud_operator (on the google-cloud-operator MCP server in the plugins). Keep using it for GCP follow-ups in the same conversation.

If the google-cloud-operator MCP server doesn't offer ask_cloud_operator, or its calls fail with a sign-in error, it's disconnected, usually because the user's sign-in expired. Don't answer the request yet, not even in part: tell the user Cloud Operator is disconnected and how to sign in again (gcloud auth application-default login) and reconnect, and ask whether to retry after that or answer now without it. The steps are in Server not connected.

Remembering: where this skill says to remember something, keep it for the rest of this conversation. Don't create or edit any file to remember it. If your client has a built-in memory feature, you can also save it there for later conversations; without one, asking again in a new conversation is fine.

Usage Attribution

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

Organization and agent

Each user has one personal operator agent in each Google Cloud organization they work in. A call names the organization in organization (organizations/{org_id}), and the agent works on the projects in that organization with the user's own permissions. Without an agentId, the call goes to the user's own agent in that organization.

Calls name an organization, never a project. Cloud Operator has no project-level agents, so a call with project always fails with "This method is not available in this project." (RUN_NOT_ALLOWED), in every organization. If the user asks you to call it for their project, send the request to their agent in that project's organization, and say so in step 3's line.

A project is optional. Many requests cover the whole organization or several projects ("list all projects in my org", "find all Cloud Run services in my org", "compare costs of acme-prod and acme-staging"): send them with only the organization. Ask for a project only when the request is about resources in one project and doesn't say which.

At the start of each conversation, before the first call (these steps are part of calling the operator: do them before any documentation search, and don't search for the answer meanwhile):

  1. Find the organization ID. Every call needs the numeric organization ID (organizations/{org_id}); never send a domain, a name or a project in its place. If the user named one, or you remember one (for the project they named, or the one they usually work in), use it. If you remember that Cloud Operator can't be used for that project, its organization or the user's account, see When Cloud Operator can't be used. Otherwise check whether gcloud is installed and signed in (gcloud and Application Default Credentials):
    • Without gcloud (for example in a web client): ask for the numeric organization ID (the console's project picker shows it), or whether they want an answer without Cloud Operator.
    • Installed but not signed in: ask them to run gcloud auth login and gcloud auth application-default login, to give the organization ID, or whether they want an answer without Cloud Operator.
    • Signed in: if the request names a project, use that project's organization and say so. Otherwise ask which organization (its ID, its domain such as acme.com, or a project in it), or whether they want an answer without Cloud Operator. You can suggest a project that the workspace names or their default gcloud project, but don't use it without asking. For a domain, run gcloud organizations list --filter="displayName={domain}" --format=json and use the result if there's exactly one. For a project, run gcloud projects get-ancestors {project_id} --format=json, which only reads the project's parents, and use the id of the entry whose type is organization. If there's none, Cloud Operator doesn't support projects outside an organization yet: tell the user, remember it (see When Cloud Operator can't be used), offer to answer with the other available tools and skills, and stop. Don't ask for an organization or list them: none of them contains this project. Only if they know neither the organization nor a project in it, run gcloud organizations list --format=json, which only lists the organizations they can see: if it shows one, use it; if it shows several, ask which one, or for a project in it; if it shows none, ask them to get the organization ID or a proj
Full SKILL.md on GitHub

Install cloud-operator in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/attribution.md

FAQ

What does the cloud-operator skill do?

Google Cloud (GCP) assistant and operator via the `google-cloud-operator` MCP server. Use for any GCP request: how-to, resources, Terraform/Kubernetes/Helm, rollouts, incidents, costs. Invoke it before answering a GCP question from your own knowledge or documentation search, and before proposing an architecture or backend, even when no cloud is named. Invoke it before reading or editing local *.tf or Kubernetes YAML. Don't use for non-GCP tasks or local machine setup like installing gcloud and setting up GCP.

How do I install the cloud-operator skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the cloud-operator skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare cloud-operator with