Command Palette

Search for a command to run...

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

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…

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

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

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. Call ask_cloud_operator with organization set to organizations/{org_id}, never project. Find the organization as the cloud-operator skill does (gcloud projects get-ancestors {project_id} --format=json, the id of the entry whose type is organization; ask if that fails, never guess; stop if the project has no organization). Use that skill's agentId and secrets rules, including asking before using their default gcloud project. Save the project and its organization 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

  1. 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.

  2. 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.

  3. Show the list, one line per note with its source, and ask: all, some or none?

  4. Send the picks, then note in local memory "Cloud Operator context: shared on {date}", "declined on {date}" (no or none) or, if /reflect doesn'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

  1. Use one new operator session for the whole share: no contextId at first, then each reply's context_id.

  2. 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:
    - ...
    
  3. 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 organization access only if other calls fail too.

  4. Send /reflect alone, once, after the last message, without waiting on anything such as a conflict. The operator may sa

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

Установить cloud-operator-share-context в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/attribution.md

FAQ

Что делает скилл 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.

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

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

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

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

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

Сравнить cloud-operator-share-context с