gcloud

gcloud is a skill for Claude Code, Codex from fmind/dot. It costs 27 tokens per session (866 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 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 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.00027 $0.00866
Opus 5.5 $0.00011 $0.00346
Sonnet 5.5 $0.00005 $0.00173
Haiku 4.5 $0.00003 $0.00087

Measured 2d ago against content hash 971c7a0bd989, 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 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (references/cloud-run/templates/probe-candidate.py, references/cloud-run/templates/verify-private.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 60 lines

How it starts

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

Google Cloud CLI

Operate Google Cloud accounts, projects, IAM, APIs, billing, and logs with gcloud and project-pinned firebase (firebase-tools in project mise.toml, or npx --yes firebase-tools@<version>).

Defaults

Google Cloud is the default cloud for Fmind work (existing project choices win). Resolve project and region from explicit config or ask; prefer Cloud Run over GKE unless Kubernetes is explicitly adopted.

Workflow

  1. Verify active identity and scope (never switch configurations silently to force a command through):

    gcloud config configurations list --format='table(name,is_active)'
    gcloud config configurations describe <configuration> --format=json
    gcloud projects describe <project-id> --format='json(projectId,projectNumber,lifecycleState)'
    
  2. Pin consequential calls: pass --configuration, --account, --project, and --billing-project (plus --impersonate-service-account when approved).

  3. Start read-only and bounded: combine --filter, --limit, and field-projected --format, scoping log queries by time and resource first (retain full IAM/config payloads when auditing completeness).

  4. Authorize mutations: API enablement, IAM, billing, deletions, and production edits require explicit approval.

Gotchas

  • --quiet only suppresses prompts: never treats an unapproved mutation as safe.
  • Check principal overrides: CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT, CLOUDSDK_AUTH_ACCESS_TOKEN_FILE, and --impersonate-service-account replace the active account.
  • Firebase precedence & dry-run hazards: firebase checks cached credentials (~/.config/configstore/firebase-tools.json) before ADC; always pass --non-interactive --project <id> --json. Treat firebase deploy --dry-run carefully (it may still enable required GCP APIs), scope --only <targets> (-f deletes unlisted Cloud Functions), and delete any firebase-debug.log generated by --debug.
  • Failures are findings: report missing principals, denied permissions, or quota errors directly—never switch configs, widen IAM, mint keys, or shift billing projects unasked.

Read the full file on GitHub · 60 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 Changed 971c7a0bd989
  2. 4d ago Changed 8bc4769f9837
  3. 5d ago Changed 6403638ff89a
  4. 7d ago Changed 8a2c18201844
  5. 8d ago Changed ac9749e31034
  6. 12d ago Changed ed5bde746394
  7. 15d ago Changed · +7 tokens per session 7bce177da08a
  8. 16d ago Changed · +1 lines 8ca65d5224fb
  9. 20d ago Changed · -3 lines 2bd98980c82f
  10. 21d ago First seen · 62 lines · 20 tokens per session scan A 910bf382f1b6

Subscribe to this mod's changes

gcloud is a skill published in the GitHub repository fmind/dot (14 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 866 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

gcloud compared with skills from other repositories

gcloud next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcloudfmind/dotSkill14yesterdayMITA27Claude Code, Codex
cloud-runfmind/dotfilesSkill43mo agoMITA28Claude Code, Codex
google-cloud-operationsfmind/dotfilesSkill43mo agoMITA34Claude Code, Codex
terraform-stackfmind/dotfilesSkill43mo agoMITA45Claude Code, Codex
scaffold-terraformurmzd/dotfilesSkill6todayApache-2.0A115Claude Code
python-stackfmind/dotfilesSkill43mo agoMITA41Claude Code, Codex
misefmind/dotfilesSkill43mo agoMITA27Claude Code, Codex