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.
npx skills add GoogleCloudPlatform/gemini-cloud-assist-mcp --skill share-contextgit clone --depth 1 https://github.com/GoogleCloudPlatform/gemini-cloud-assist-mcpWrote 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.
[](https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/share-context)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
- 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.
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.
- 20d ago First seen · 108 lines · 128 tokens per session scan A 7318f12c74d4
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.
share-context compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| share-contextGoogleCloudPlatform/gemini-cloud-assist-mcp | Skill | 72 | 17d ago | Apache-2.0 | A | 128 | Claude Code |
| cloud-runGoogleCloudPlatform/cloud-run-mcp | Skill | 643 | today | Apache-2.0 | A | 10 | Claude Code, Codex |
| cloud-syncthedotmack/claude-mem | Skill | 122k | today | Apache-2.0 | A | 64 | Claude Code |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| wenlan-handoffwenlan-app/wenlan | Skill | 502 | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| linglu-disciplineFuRongJun-1999/dsh-memory | Skill | 773 | today | MIT | A | 73 | Claude Code |
| gcp-triagenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 93 | Claude Code, Codex |