preferences

preferences is a skill for Claude Code, Codex from GoogleCloudPlatform/gemini-cloud-assist-mcp. It costs 84 tokens per session (591 once invoked), scanned A, original, Apache-2.0.

A preference manager for storing your regular Google Cloud choices, such as projects, regions, infrastructure tools, compliance rules, and change limits. These settings are sent to the cloud operator at the start of each session.

In plain words
What is it for?
Use it to record rules such as which environment may be changed, which regions to use, or when approval is required.
Why use it?
It prevents you from repeating the same operating rules and helps keep cloud work within your stated boundaries. It stores preferences as short instructions rather than secrets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Gemini CLI.

Good fit Use it to record rules such as which environment may be changed, which regions to use, or when approval is required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences
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 preferences
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/gemini-cloud-assist-mcp

Made for: Claude Code, Codex.

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 preferences

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences/github.svg)](https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences)
Your own site
<a href="https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences"><img src="https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences/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 preferences

Your own site · 80×15
<a href="https://agentmods.dev/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences"><img src="https://agentmods.dev/badge/skills/googlecloudplatform/gemini-cloud-assist-mcp/preferences.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 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 original No closer match found 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.00084 $0.00591
Opus 5.5 $0.00034 $0.00236
Sonnet 5.5 $0.00017 $0.00118
Haiku 4.5 $0.00008 $0.00059

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

Security

Grade A, and why

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

plugins/cloud-operator/antigravity/skills/preferences/SKILL.md · 52 lines

How it starts

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

Remember GCP operating preferences

Preferences live in a Markdown file outside the plugin, ~/.config/cloud-operator/preferences.md, which the other Cloud Operator client plugins share. The operator skill reads it and sends it with the first ask_cloud_operator call of every Operator session. Keep it short, declarative and free of secrets.

Read the existing file first (create it and its folder if missing) and merge into it: replace bullets the new answers contradict, don't add duplicates, and keep every section the user doesn't change, including ones not listed below.

/cloud-operator:preferences <preference>

Rewrite it as one imperative bullet (e.g. "Never touch prod; apply to dev only after explicit approval.") under the matching section below, replacing any bullet it contradicts. Show the user the stored bullet.

/cloud-operator:preferences alone: interview

Ask in one message, pre-filling from the existing file and anything GCP-related you already know from GEMINI.md / AGENTS.md, memories or this conversation. The user may skip any.

  1. Projects & environments - dev/staging/prod projects or naming pattern (the default project comes from gcloud config, not from here).
  2. Regions - primary and DR regions; forbidden regions.
  3. IaC & tooling - Terraform / Pulumi / Config Connector / gcloud; versions, modules, state backend.
  4. Naming & labels - naming pattern; required labels.
  5. Security & compliance - CMEK, VPC-SC, service accounts, public IPs, frameworks (PCI, HIPAA, SOC 2).
  6. Change policy - extra limits on changes (e.g. "never touch prod", "no IAM changes without a ticket").
  7. Cost guardrails - budgets, Spot, committed use.
  8. Output style - diagrams, verbosity.

Write the answers as ### sections with these names, in this order, one imperative bullet per preference, omitting empty sections.

Then tell the user

  • Where the file is, and that the preferences go to the Operator Agent at the start of every new Operator session from now on.
  • /cloud-operator:preferences <text> updates one item; they can also edit or delete the file directly.

Read the full file on GitHub · 52 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. 2d ago First seen · 52 lines · 84 tokens per session scan A c831658a9c26

Subscribe to this mod's changes

preferences is a skill published in the GitHub repository GoogleCloudPlatform/gemini-cloud-assist-mcp (69 stars, last pushed 2d ago), licensed Apache-2.0. It adds 84 tokens to every session and 591 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-18.

Related

Other skills, from other repositories

cloud-run

Manage Cloud Run services and jobs.

GoogleCloudPlatform/cloud-run-mcp · 10 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

n8n-self-hosting

Deploy a production self-hosted n8n end-to-end to a fresh Linux VM over SSH, using Docker Compose behind a Caddy reverse proxy with automatic HTTPS. Use whenever the user wants to self-host, install, set up, provision, or deploy n8n on their own server/VPS/box (Hetzner, DigitalOcean, AWS EC2, bare metal, etc.) — in…

czlonkowski/n8n-mcp · 265 tokens

kubernetes

Deploy, manage, and debug Kubernetes in production — Deployments, Services, Gateway API, Service Mesh (Istio/Linkerd/Cilium), eBPF observability (Cilium Hubble), security hardening (Pod Security Standards, OPA/Kyverno, seccomp, runtime security with Falco/Tetragon), Helm, HPA, PDB, topology spread, and debugging. Use…

EliasOulkadi/shokunin · 144 tokens

zdx-investigate-multi-app-outage

Diagnose a multi-application outage scoped to one location by correlating ZDX alerts, affected devices, and shared cloud-path hops. Identifies the devices affected at a specific office, compares the per-application network path across multiple SaaS apps to surface the common network bottleneck, and produces an…

zscaler/zscaler-mcp-server · 155 tokens

gcp-expert

Expert-level Google Cloud Platform, services, and cloud architecture. Use when the user mentions Google Cloud, Cloud Functions, BigQuery, or Firestore.

personamanagmentlayer/pcl · 35 tokens