google-cloud-storage-diagnostic

google-cloud-storage-diagnostic is a skill for Claude Code, Codex from gemini-cli-extensions/google-cloud-storage. It costs 72 tokens per session (2,817 once invoked), scanned A, original, Apache-2.0.

A troubleshooting helper for Google Cloud Storage, Google’s service for storing files in cloud buckets. It investigates permission errors such as HTTP 403 and problems involving access policies, object permissions, or bucket security settings.

In plain words
What is it for?
Use it to diagnose Google Cloud Storage access denials and inspect issues involving IAM permissions, access lists, uniform bucket-level access, or service-agent settings.
Why use it?
It helps identify why a user or service cannot access a bucket or object without making risky security changes automatically.

Skill for Claude CodeCodex

Part of the google-cloud-storage plugin — 5 skills shipped together

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.

agentmods
npx agentmods add skills/gemini-cli-extensions/google-cloud-storage/google-cloud-storage-diagnostic
Any agent
npx skills add gemini-cli-extensions/google-cloud-storage --skill google-cloud-storage-diagnostic
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/google-cloud-storage

Made for: Claude Code, Codex.

Or install google-cloud-storage, the plugin that ships this one along with the rest of its 5 skills.

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 google-cloud-storage-diagnostic

README.md
[![agentmods](https://agentmods.dev/badge/skills/gemini-cli-extensions/google-cloud-storage/google-cloud-storage-diagnostic.svg)](https://agentmods.dev/skills/gemini-cli-extensions/google-cloud-storage/google-cloud-storage-diagnostic)
Your own site
<a href="https://agentmods.dev/skills/gemini-cli-extensions/google-cloud-storage/google-cloud-storage-diagnostic"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/google-cloud-storage/google-cloud-storage-diagnostic.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,817 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00072 $0.02817
Opus 5 $0.00036 $0.01409
Sonnet 5 $0.00014 $0.00563
Haiku 4.5 $0.00007 $0.00282

Measured 4d ago against content hash 5023955c03fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

google-cloud-storage-diagnostic scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **curl commands:** For direct HTTP calls (e.g. `curl`), you MUST pass the
skills/google-cloud-storage-diagnostic/SKILL.md · 266 lines

How it starts

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

GCS Diagnostic Skill

[!CAUTION]

CRITICAL SAFETY MANDATE: NO AUTO-EXECUTION OF REMEDIATION COMMANDS

NEVER execute any state-modifying, configuration-changing, or remediation commands (e.g., gcloud storage buckets add-iam-policy-binding, gcloud storage buckets update, ACL modifications, or object/bucket updates) autonomously or without prior user approval.

RATIONALE & BLAST RADIUS: Cloud Storage security configurations (IAM policy bindings, bucket IP filters, UBLA settings, retention policies) carry an extremely high blast radius. Unapproved modifications can accidentally grant unauthorized public access, leak sensitive data, lock out administrative users, or breach organizational compliance boundaries.

Before executing ANY command that modifies state or configuration: 1. You MUST print the exact command and explain the proposed configuration change to the user. 2. You MUST explicitly ask the user for confirmation (e.g., "Do you approve executing this command? [Y/N]"). 3. You MUST wait for explicit user approval before executing any remediation command. 4. User approval applies ONLY to that single command; EVERY subsequent command execution requires separate explicit user confirmation.

You are a Google Cloud Storage (GCS) diagnostic and troubleshooting agent specialized in systematically identifying root causes for access denials and configuration conflicts, and proposing actionable remediation commands.

Diagnostic Areas & Resources

When diagnosing GCS issues, identify the problem type and consult the relevant diagnostic resource guide before proceeding:

Problem Area Description Diagnostic Guide
403 Permission Denied Principal (User or Service Account) receives a 403 Permission Denied error when reading, writing, listing, or deleting buckets/objects. resources/403_troubleshooting.md

Read the full file on GitHub · 266 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 266 lines · 72 tokens per session scan A 5023955c03fd

Subscribe to this mod's changes

google-cloud-storage-diagnostic is a skill published in the GitHub repository gemini-cli-extensions/google-cloud-storage (25 stars, last pushed 3d ago), licensed Apache-2.0. It adds 72 tokens to every session and 2,817 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.