Chuyển đến nội dung
Skillpedia
Trình kết nối (MCP)22k · #10246

cloud-operator

Skill này làm gì

Skill này gửi các yêu cầu Google Cloud đến agent Cloud Operator qua kết nối autocloud. Skill dành cho những người muốn có một trợ lý Google Cloud chuyên biệt cho câu hỏi và thay đổi.

Khi nào nên dùng

  • ✓Khi bạn có bất kỳ câu hỏi nào về Google Cloud, gồm thiết kế, chi phí hoặc sự cố.
  • ✓Khi bạn cần mã cấu hình Terraform hoặc Kubernetes cho Google Cloud được rà soát hoặc viết.
  • ✓Khi bạn muốn agent operator xử lý một đợt triển khai dần hoặc thay đổi tài nguyên Google Cloud.

Liên kết skill

https://github.com/google/skills/blob/main/skills/cloud/cloud-operator/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/cloud-operator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hỏi agent Cloud Operator của tôi rà soát Terraform cho một cụm GKE mới và gợi ý thay đổi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill hỏi bạn muốn dùng dự án nào, rồi gửi từng yêu cầu đến agent Cloud Operator qua kết nối autocloud. Các câu hỏi tiếp theo trong cùng cuộc trò chuyện sẽ dùng cùng dự án và agent.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 autocloud MCP server. Keep using it for GCP follow-ups in the same conversation.

If the autocloud MCP server isn't present, don't use this skill: handle the request with the other available tools and skills. If the user asks for Cloud Operator, tell them it isn't available here, and offer to handle the request with the other available tools and skills.

Usage Attribution

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

Project and agent

Each call needs a project. It can also take an agentId; without one, the call goes to the user's own operator agent in that project.

At the start of each conversation, before the first call:

  1. If you know the project (the user named one, or your memory has their operator project), use it. Use the agent from your memory only if it was saved for that same project; otherwise leave out agentId. Tell the user in one line, for example "Using project acme-ops with your operator agent."
  2. If you don't know the project, ask whether they have a Cloud Operator project, want to set one up, or want an answer without Cloud Operator:
    • They have one: use the project they give (you can suggest their default gcloud project, but don't use it without asking). If they want an agent other than their own, take its ID, or the agents/{agent_id} part of a link they paste, and pass locations/global/agents/{agent_id}.
    • They want to set one up: ask for the project ID, and walk them through it one step at a time: 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. Then make the first call yourself (below).
    • Not now: answer with the other available tools and skills, and don't ask again in this conversation.
  3. After the first call that works, save the project in your memory for next time, and the agent too if it isn't their own. Don't save a "not now".

First call after creating an agent, or when the user asks to check Cloud Operator: call ask_cloud_operator yourself (don't ask the user to run it) with "In one line, what can you help me with in this project? Don't create anything." It can take 1–3 minutes: tell the user, and wait. If it says the agent "is not ready to serve yet", wait about a minute and send it again, up to 3 times. Then tell the user it works, with the project and agent.

Calling ask_cloud_operator

Make one call per logical request. Calls can run for up to 20 minutes: don't cancel, retry, or duplicate a slow call. If a call fails, see Troubleshooting.

  • project: projects/{project_id}, from Project and agent.

  • userQuery: the user's prompt as-is. Don't reword it or add your own steps (such as which logs or metrics to check): the operator plans the work. Follow it with:

    • the complete, verbatim contents of every referenced local file, diff, or error log, each under a heading with its path. The operator cannot see the local filesystem, so never summarize, abbreviate, or truncate them.
    • Secrets exception: never send credential files (.env, service-account key JSON, kubeconfig, *.tfstate) or secret values. Replace passwords, tokens, API keys, and private keys with <REDACTED> (for .env/*.tfvars, send variable names with redacted values), and tell the user you did.
    • external doc links as-is (don't fetch them yourself).

    Don't add instructions of your own about the operator's memory or tools: the service's safety filter can reject instruction-like text, and a rejected call can leave a stuck session.

  • agentId: omit unless the user or your memory names one (short ID, locations/{location}/agents/{agent_id}, or a full resource name). A full resource name (projects/{project}/locations/...) is valid only when {project} is the call's project; when targeting a different project, omit it and tell the user the request went to their own agent in that project.

  • contextId: the context_id from the previo

Câu hỏi thường gặp

Cần thiết lập gì trước khi nó hoạt động?

Kết nối autocloud phải sẵn sàng. Nếu không có, bạn không thể dùng skill này.

Skill dùng dự án nào?

Dự án bạn chỉ định, hoặc dự án đã được lưu cho dự án đó trong bộ nhớ.

Skill có nên trả lời câu hỏi Google Cloud từ kiến thức riêng không?

Không. Skill được dùng trước khi trả lời từ kiến thức chung hoặc tài liệu.

Chi tiết

Mô tả gốc của tác giả

Google Cloud (GCP) assistant and operator via the autocloud 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.

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10246
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự