share-context

share-context is a skill for Claude Code from GoogleCloudPlatform/gemini-cloud-assist-mcp. It costs 128 tokens per session (1,385 once invoked), scanned A, a copy of cloud-operator-share-context, Apache-2.0.

A skill that finds existing Google Cloud operating information in agent instructions, local memory, workflows, and repository documentation. It shows that context and can copy approved information into the Cloud Operator agent's memory.

In plain words
What is it for?
Use it to collect and review Google Cloud context, save approved facts for future sessions, and share repository-specific operating guidance with Cloud Operator.
Why use it?
It reduces repeated explanations about cloud projects, environments, services, regions, preferences, and runbooks. It also asks before using a default Google Cloud project and before saving discovered context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Part of the cloud-operator plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to collect and review Google Cloud context, save approved facts for future sessions, and share repository-specific operating guidance with Cloud Operator.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GoogleCloudPlatform/gemini-cloud-assist-mcp --skill share-context
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/gemini-cloud-assist-mcp

Made for: Claude Code.

Or install cloud-operator, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for share-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context/github.svg)](https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context)
Your own site
<a href="https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context"><img src="https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for share-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context"><img src="https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.01385
Opus 5.5 $0.00051 $0.00554
Sonnet 5.5 $0.00026 $0.00277
Haiku 4.5 $0.00013 $0.00138

Measured 20d ago against content hash 7318f12c74d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

share-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to cloud-operator-share-context — 44 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/cloud-operator/skills/share-context/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Share existing Google Cloud context with Cloud Operator

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 Cloud Operator Agent's memory. Use the cloud-operator skill's project, agentId, secrets rules and usage attribution, including asking before using their default gcloud project. Save the project once a call works.

One fact

If text follows the command, the user asks to save one GCP fact, or they pick 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.

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 108 lines · 128 tokens per session scan A 7318f12c74d4

Subscribe to this mod's changes

share-context is a skill published in the GitHub repository GoogleCloudPlatform/gemini-cloud-assist-mcp (72 stars, last pushed 17d ago), licensed Apache-2.0. It adds 128 tokens to every session and 1,385 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to cloud-operator-share-context, differing in 44 lines, and is treated as a copy.

Related

share-context compared with skills from other repositories

share-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
share-contextGoogleCloudPlatform/gemini-cloud-assist-mcpSkill7217d agoApache-2.0A128Claude Code
cloud-runGoogleCloudPlatform/cloud-run-mcpSkill643todayApache-2.0A10Claude Code, Codex
cloud-syncthedotmack/claude-memSkill122ktodayApache-2.0A64Claude Code
agentcore-investigationawslabs/mcpSkill10.0ktodayApache-2.0A52Claude Code, Codex
wenlan-handoffwenlan-app/wenlanSkill502todayApache-2.0A46Claude Code, Codex
linglu-disciplineFuRongJun-1999/dsh-memorySkill773todayMITA73Claude Code
gcp-triagenirholas/three.wsSkill289todayApache-2.0A93Claude Code, Codex