{"data":{"slug":"github-google-skills-skills-cloud-cloud-operator-share-context-c45eebfbbe2d","title":"Share Google Cloud Context with Operator Agent","summary":"Shares existing Google Cloud context with the operator agent for future sessions. Used when importing, saving, or sharing GCP facts or operational preferences.","url":"https:\/\/skillshunter.net\/skills\/github-google-skills-skills-cloud-cloud-operator-share-context-c45eebfbbe2d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-google-skills-skills-cloud-cloud-operator-share-context-c45eebfbbe2d","markdown_url":"https:\/\/skillshunter.net\/skills\/github-google-skills-skills-cloud-cloud-operator-share-context-c45eebfbbe2d.md","download_url":"https:\/\/skillshunter.net\/skills\/github-google-skills-skills-cloud-cloud-operator-share-context-c45eebfbbe2d\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before executing any `gcloud`, REST API, or MCP command, you MUST read and follow the instructions in [Usage Attribution](references\/attribution.md).","instructions":"---\nname: cloud-operator-share-context\nmetadata:\n  version: \"1.0.0\"\n  category: CloudInfrastructureAndServices\ndescription: >-\n  Shares Google Cloud operating context the user or their team already have \u2014\n  environments, projects, services and regions, product preferences, best\n  practices, architecture guidance, runbooks \u2014 found in agent instruction\n  files, local memory, skills and workflows, and the repository's GCP docs,\n  with the operator agent's memory after the user reviews the list. Use when\n  the user runs this skill, accepts the cloud-operator or cloud-operator-setup\n  skill's offer to share their existing Google Cloud context, or asks to share,\n  import or save that context or a GCP fact for the operator agent. Don't use\n  for ordinary GCP requests, which go to the cloud-operator skill.\n---\n\n# Share existing Google Cloud context with the operator agent\n\nScan agent instruction files, local memory, skills and workflows, and the\nrepository's GCP docs for context the user or their team already have about\noperating in Google Cloud, show it to the user, and copy what they approve into\nthe operator agent's memory. Use the cloud-operator skill's `project`,\n`agentId` and secrets rules, including asking before using their default gcloud\nproject. Save the project once a call works.\n\n## Usage Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read and follow the instructions in\n[Usage Attribution](references\/attribution.md).\n\n## One fact\n\nIf the user runs this skill with a fact, asks to save one GCP fact, or picks\ntheir version after a conflict ([Send](#send), step 6), skip the review. Follow\n[Send](#send), `\/reflect` included, with the message \"Please remember this about\nhow I work in Google Cloud for future sessions. It's current and replaces\nanything you have that conflicts: {fact}\". Then confirm in one line.\n\n## Existing Google Cloud context\n\n1. **Ask first**, unless the user just agreed to an offer that named the\n   sources. Name them: agent instruction files (`CLAUDE.md`, `AGENTS.md`,\n   `GEMINI.md`, `.claude\/rules`), local memory, skills and workflows written\n   for this user, and GCP docs in this repository. Say that the share takes\n   only notes about how they operate in Google Cloud, takes no secrets, and\n   shows the list before sending. If local memory notes a confirmed earlier\n   share (\"shared on\"), say when and offer only what's new. Check local memory\n   only for an earlier \"shared on\" note; read nothing else until they agree. If\n   they say no, note \"declined\" (step 4) and stop.\n2. **Collect** in three groups, copying what the sources say (names, dates,\n   reasons) rather than searching past transcripts:\n   - **Facts and preferences:** environments (test, staging, prod) and their\n     projects, other projects of interest, the services they manage, regions,\n     networks, where IaC and state live, naming, owners, product preferences,\n     best practices, architecture guidance (standard patterns, approved\n     services, network\/landing-zone conventions) and other standing choices.\n   - **What happened:** incidents and fixes, migrations, decisions and failed\n     attempts, each with its date and outcome.\n   - **How things are done:** deploys, rollbacks, failovers, incident\n     response, quota or access requests, each as a short summary naming its\n     resources, and where its runbook is.\n\n   Put any other note about how they operate in Google Cloud in the closest\n   group. Leave out secrets, personal and non-GCP notes, and live state such as\n   metrics or bills. Mark notes that apply to one repository only. When local\n   sources disagree, keep the newer one (by its date) or ask; a conflict with\n   what the operator already has is settled after the save ([Send](#send),\n   step 6). If nothing qualifies, say so and stop.\n3. **Show the list**, one line per note with its source, and ask: all, some or\n   none?\n4. **Send** the picks, then **note** in local memory \"Cloud Operator context:\n   shared on {date}\", \"declined on {date}\" (no or none) or, if `\/reflect`\n   doesn't confirm, \"not confirmed on {date}\". Note nothing if a call failed.\n   Only \"shared on\" and \"declined on\" stop the cloud-operator and\n   cloud-operator-setup skills' offers.\n\n## Send\n\n1. Use one new operator session for the whole share: no `contextId` at first,\n   then each reply's `context_id`.\n2. Write in plain language and the user's voice, without tags or structured\n   formats, which the safety filter can reject. Describe procedures as what the\n   user does. Leave out empty groups, and above about 30 notes send one group\n   per message:\n\n   ```text\n   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.\n\n   Facts and preferences:\n   - ...\n   What happened:\n   - ...\n   How we do things:\n   - ...\n   ```\n\n3. If a call fails with a permission error while earlier calls worked, retry\n   once in a new session with everything sent so far, in the same wording, so\n   the operator skips notes it already saved. If that fails, tell the user the\n   operator refused; mention IAM only if other calls fail too.\n4. Send `\/reflect` alone, once, after the last message, without waiting on\n   anything such as a conflict. The operator may save during the turn too;\n   `\/reflect` saves everything now.\n5. If its reply doesn't say the conversation is being saved (for example,\n   \"nothing new to save\"), the save isn't confirmed and memory may be off. Tell\n   the user they can retry later by running this skill again.\n6. Otherwise, report briefly what was shared, skipped or flagged. If the\n   operator kept its own version of a note, show the user both versions, each\n   with its source and date if known: theirs from the list, the operator's from\n   its reply. Ask once, for all conflicts, which version is current. Where they\n   pick theirs, send it with [One fact](#one-fact), all in one message; it\n   replaces the operator's version. Where they pick the operator's or don't\n   answer, leave it. If the operator still keeps its own version after that,\n   tell the user and stop.\n","use_cases":["When the user accepts an offer to share their existing Google Cloud context with the operator agent.","When the user asks to import or save a GCP fact for the operator agent.","When the user runs the skill with a specific fact to save."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/google\/skills\/blob\/e3c591afe426ea585e4c21799e5199d6d47cd1be\/skills\/cloud\/cloud-operator-share-context\/SKILL.md","source_commit":"e3c591afe426ea585e4c21799e5199d6d47cd1be","license":null,"version":null,"listing_approved_at":"2026-11-17","created_at":"2026-11-16T13:28:54.000000Z","updated_at":"2026-11-17T05:10:16.000000Z","seo_title":"Share Google Cloud Context with Operator Agent","seo_description":"Share existing Google Cloud context with the operator agent for future sessions. Used when importing, saving, or sharing GCP facts or operational preferences.","seo_keywords":["Share Google Cloud context","Operator agent setup","GCP context sharing","Cloud operator integration","Google Cloud preferences"]}}