cloud-operator-share-context
Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.
- License 许可
- Apache-2.0
- 所属仓库
- google/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 2.4w
- Forks
- 2.0k
01 前言 Front Matter
- name
- cloud-operator-share-context
- metadata
- { "version": "1.0.0", "category": "CloudInfrastructureAndServices" }
- description
- Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.
02 资源文件 1
- 参考文档references/attribution.md1.9 KB
03 SKILL.md 正文
Share existing Google Cloud context with the operator agent
Scan agent instruction files, local memory, skills and workflows, and the
repository's GCP docs for context the user or their team already have about
operating in Google Cloud, show it to the user, and copy what they approve into
the operator agent's memory. Use the cloud-operator skill's project,
agentId and secrets rules, including asking before using their default gcloud
project. Save the project once a call works.
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
One fact
If the user runs this skill with a fact, asks to save one GCP fact, or picks
their version after a conflict (Send, step 6), skip the review. Follow
Send, /reflect included, with the message "Please remember this about
how I work in Google Cloud for future sessions. It's current and replaces
anything you have that conflicts: {fact}". Then confirm in one line.
Existing Google Cloud context
-
Ask first, unless the user just agreed to an offer that named the sources. Name them: agent instruction files (
CLAUDE.md,AGENTS.md,GEMINI.md,.claude/rules), local memory, skills and workflows written for this user, and GCP docs in this repository. Say that the share takes only notes about how they operate in Google Cloud, takes no secrets, and shows the list before sending. If local memory notes a confirmed earlier share ("shared on"), say when and offer only what's new. Check local memory only for an earlier "shared on" note; read nothing else until they agree. If they say no, note "declined" (step 4) and stop. -
Collect in three groups, copying what the sources say (names, dates, reasons) rather than searching past transcripts:
- Facts and preferences: environments (test, staging, prod) and their projects, other projects of interest, the services they manage, regions, networks, where IaC and state live, naming, owners, product preferences, best practices, architecture guidance (standard patterns, approved services, network/landing-zone conventions) and other standing choices.
- What happened: incidents and fixes, migrations, decisions and failed attempts, each with its date and outcome.
- How things are done: deploys, rollbacks, failovers, incident response, quota or access requests, each as a short summary naming its resources, and where its runbook is.
Put any other note about how they operate in Google Cloud in the closest group. Leave out secrets, personal and non-GCP notes, and live state such as metrics or bills. Mark notes that apply to one repository only. When local sources disagree, keep the newer one (by its date) or ask; a conflict with what the operator already has is settled after the save (Send, step 6). If nothing qualifies, say so and stop.
-
Show the list, one line per note with its source, and ask: all, some or none?
-
Send the picks, then note in local memory "Cloud Operator context: shared on {date}", "declined on {date}" (no or none) or, if
/reflectdoesn't confirm, "not confirmed on {date}". Note nothing if a call failed. Only "shared on" and "declined on" stop the cloud-operator and cloud-operator-setup skills' offers.
Send
-
Use one new operator session for the whole share: no
contextIdat first, then each reply'scontext_id. -
Write in plain language and the user's voice, without tags or structured formats, which the safety filter can reject. Describe procedures as what the user does. Leave out empty groups, and above about 30 notes send one group per message:
These are notes about how I and my team operate in Google Cloud. Please remember them for future sessions and skip what you already have. If one conflicts with what you know, keep yours and tell me which, with your version and when you learned it. Reply with one line per note. Facts and preferences: - ... What happened: - ... How we do things: - ... -
If a call fails with a permission error while earlier calls worked, retry once in a new session with everything sent so far, in the same wording, so the operator skips notes it already saved. If that fails, tell the user the operator refused; mention IAM only if other calls fail too.
-
Send
/reflectalone, once, after the last message, without waiting on anything such as a conflict. The operator may save during the turn too;/reflectsaves everything now. -
If its reply doesn't say the conversation is being saved (for example, "nothing new to save"), the save isn't confirmed and memory may be off. Tell the user they can retry later by running this skill again.
-
Otherwise, report briefly what was shared, skipped or flagged. If the operator kept its own version of a note, show the user both versions, each with its source and date if known: theirs from the list, the operator's from its reply. Ask once, for all conflicts, which version is current. Where they pick theirs, send it with One fact, all in one message; it replaces the operator's version. Where they pick the operator's or don't answer, leave it. If the operator still keeps its own version after that, tell the user and stop.
04 同仓库更多 Skills
cloud-operator-setup
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.
developer-device-platform-device-run
Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.
compute-vm-creation
Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.
agent-platform-autorater-customization
Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).
iap-agent-platform-troubleshooting
Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with "Egress request is not authorized", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.
bigquery-migration-validator
Validates that tables migrated to BigQuery match their source (Teradata, Snowflake, Oracle, Redshift, Databricks, PostgreSQL, SQL Server, MySQL, MariaDB, Hive, Impala, Vertica) with the BigQuery Migration Service (BQMS) validation tool: schema and data type comparison, column aggregate comparison, and row-level data comparison. Use when generating or editing a validation config, running a validation, choosing sampling or partitioning, fixing connection or driver errors, or investigating validation results in BigQuery and Cloud Storage to decide which mismatches to fix. Don't use for SQL translation (use bigquery-migration-sql-translator), extracting source database catalog metadata or query logs, generating SQL scripts (such as COPY INTO) or exporting or unloading source tables to Parquet on Cloud Storage, loading staged files into BigQuery (such as bq load), or general BigQuery query failures and tuning (use bigquery-troubleshooting or bigquery-optimization).