gcloud

gcloud is a skill for Claude Code, Codex from fmind/dot. It costs 20 tokens per session (792 once invoked), scanned A, original, MIT.

A guide for using the Google Cloud command-line tool to inspect and manage accounts, projects, permissions, APIs, billing, logs, and audits.

In plain words
What is it for?
Use it for bounded Google Cloud administration and read-only investigation, including IAM checks, service settings, billing links, quotas, and logs.
Why use it?
It reduces the risk of running a consequential cloud command against the wrong account, project, or billing context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for bounded Google Cloud administration and read-only investigation, including IAM checks, service settings, billing links, quotas, and logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmind/dot/gcloud
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 fmind/dot --skill gcloud
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

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 gcloud

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/gcloud/github.svg)](https://agentmods.dev/skills/fmind/dot/gcloud)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/gcloud"><img src="https://agentmods.dev/badge/skills/fmind/dot/gcloud/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 gcloud

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmind/dot/gcloud"><img src="https://agentmods.dev/badge/skills/fmind/dot/gcloud.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 792 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.00020 $0.00792
Opus 5.5 $0.00008 $0.00317
Sonnet 5.5 $0.00004 $0.00158
Haiku 4.5 $0.00002 $0.00079

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

Security

Grade A, and why

gcloud 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 12d 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.

skills/gcloud/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.

Google Cloud CLI

Use gcloud for bounded account, project, IAM, API, billing, logging, and audit operations.

Defaults

Google Cloud is the default cloud for Fmind projects, with europe-west1 unless the project says otherwise. Prefer Cloud Run for services; use GKE only when the project explicitly adopts Kubernetes. Existing project choices take precedence.

Workflow

  1. Resolve identity and scope: inspect the named configuration, account, project, and billing project; never activate another configuration just to make a command work.

    gcloud config configurations list --format='table(name,is_active)'
    gcloud config configurations describe <configuration> --format=json
    gcloud config get auth/impersonate_service_account --configuration <configuration>
    gcloud config get auth/access_token_file --configuration <configuration>
    gcloud projects describe <project-id> --format='json(projectId,projectNumber,lifecycleState)'
    
  2. Pin every consequential call: pass --configuration, --account, --project, and --billing-project (plus --impersonate-service-account for an approved chain) so terminal defaults cannot redirect the operation.

  3. Start read-only and bounded: use supported --filter and --limit on listings and selected fields in --format; for logs, constrain time and resource before projecting message fields. Keep full IAM policies or configuration when required for the review; a limited listing is not an exhaustive audit. --quiet controls prompts, not output volume.

  4. Authorize mutations: API enablement, IAM, billing, deletion, and production changes need explicit authority.

Gotchas

  • --quiet is not authority: it suppresses prompts; it neither makes an operation safe nor approves it.
  • Overrides replace the account: CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT, CLOUDSDK_AUTH_ACCESS_TOKEN_FILE, and --impersonate-service-account change the effective principal; prove which is active first.
  • Failures are findings: on an auth, permission, or quota error report the missing principal, denied permission, or exhausted quota; do not switch configurations, broaden IAM, create keys, or move spend to another project.

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. 12d ago Changed · -1 lines f1d7fd5ebc44
  2. 15d ago Changed · -2 tokens per session dac20171acc2
  3. 17d ago Changed 35ed7e726478
  4. 23d ago Changed 78d238628856
  5. 29d ago Changed bd4794a70757
  6. 1mo ago Changed · +1 lines · -20 tokens per session f15a731f29c3
  7. 1mo ago Changed · +5 lines 30886722b0e3
  8. 1mo ago Changed dba3b923746b
  9. 1mo ago First seen · 47 lines · 42 tokens per session scan A 093d8c11dd72

Subscribe to this mod's changes

gcloud is a skill published in the GitHub repository fmind/dot (12 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 792 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

cloud-run

Deploy container services to Google Cloud Run with Artifact Registry, keyless CI identity, Secret Manager, ko, or Dockerfiles.

fmind/dotfiles · 28 tokens

google-cloud-operations

Operate Google Cloud with gcloud: pin account, configuration, project, and billing context for IAM, APIs, logs, and audits outside deployment.

fmind/dotfiles · 34 tokens

terraform-stack

Canonical infrastructure-as-code stack — OpenTofu-first with tflint, trivy config scans, terraform-docs, native tests, and GCS state. Use for any Terraform or OpenTofu work.

fmind/dotfiles · 45 tokens

dotfiles-bootstrap

Bootstrap a workstation with the dotfiles framework. Takes a GitHub user / owner+repo / explicit clone URL and runs dot init (which shells out to chezmoi) with the right safety prompts. Honors the active agent profile (ask / plan / apply / audit) so it defaults to dry-run in safer modes and full apply in apply.

sebastienrousseau/dotfiles · 88 tokens

vibe

Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…

sebastienrousseau/dotfiles · 137 tokens

scaffold-terraform

Scaffold a Terraform infrastructure project with CI/CD (plan on PR, apply on push), AWS OIDC auth, .envrc, and standard files. Uses terraform CLI as the native tool. Loads on top of scaffold-project (run that first for cross-language standard files). Use when creating infrastructure repos, or when the user mentions…

urmzd/dotfiles · 115 tokens