Skip to content

gemini-cli-extensions/google-cloud-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Storage Skills

Install via skills.sh

This repository contains Agent Skills for Google Cloud Storage. These skills deliver vetted GCS expertise directly into your coding agent, letting you use natural language prompts in your preferred CLI or IDE to work with your storage resources.

Note

This repository is under active development. More skills will be added over time.

Important

We Want Your Feedback! Please share your thoughts with us by opening an issue on GitHub. Your input is invaluable and helps us improve the project for everyone.

Contents

Installation

npx skills add gemini-cli-extensions/google-cloud-storage

From the npx install command, you can select the specific skills from this repo to install. The skills work with any compatible coding agent, including Gemini CLI, Claude Code, Codex, and Antigravity CLI.

Available Skills

  • Security Assessment — Assesses the security posture of Google Cloud Storage projects and buckets, identifying toxic combinations of vulnerabilities and checking SAIF compliance.

Prerequisites

Ensure you have the following:

Security Assessment Skill

The Security Assessment skill is grounded in Google's Secure AI Framework (SAIF). Rather than emitting isolated static alerts, it correlates real telemetry signals gathered from your project to surface toxic combinations of vulnerabilities—scenarios where individually low-risk configurations combine to create a critical exposure—and provides actionable, verified remediation.

Tip

For the best analysis, we highly recommend being a Storage Intelligence customer. When Storage Intelligence is enabled, the skill can query your Storage Insights datasets to perform deep, bucket-level and object-level assessments. Without it, the skill falls back to a project-level assessment only.

Required Permissions

The only hard requirement is working Application Default Credentials (see Authentication). There is no required IAM permission—any authenticated identity can run the skill, though signals it cannot read are reported as UNKNOWN.

For a complete assessment, grant the recommended read-only roles covering Storage Insights telemetry (bucket/object analysis) and project-level posture (IAM and audit config, org policies, VPC Service Controls, and Model Armor). See PERMISSIONS.md for the full permission tables and a ready-to-apply custom IAM role (gcs-security-assessment-role.yaml).

Authentication

Before running an assessment, authenticate with Google Cloud so the agent can read your project telemetry and run any remediation you approve. It is recommended to run both of the following commands:

gcloud auth login
gcloud auth application-default login
  • gcloud auth application-default login is required: the skill's scripts use Application Default Credentials (ADC) to generate access tokens for GCP API calls.
  • gcloud auth login allows the agent (or you) to run standard gcloud commands to explore configurations or dig deeper into specific resources beyond what the skill scripts cover.

Usage Examples

Interact with your coding agent using natural language:

  • Assess an entire project: Assess the security posture of project [PROJECT_ID]
  • Assess a specific subset of buckets: Assess the security posture of buckets [BUCKET_1], [BUCKET_2] in project [PROJECT_ID]
  • Follow-up investigation: After an assessment, ask the agent to drill into a finding—for example, "Explain why the ml-training-data bucket is flagged as a toxic combination" or "Show me the exact command to remediate the public access finding."

The agent works through a fixed, auditable sequence of phases—discovering scope and gathering telemetry, classifying buckets, evaluating baseline security, analyzing toxic combinations, and producing a formatted report—so you can trace every finding back to a signal it actually collected.

Security Reminder: Agent Environment Hardening

Your agent can execute tools and commands on your behalf. Protect your Google Cloud resources by enforcing The Principle of Least Privilege across all CLIs, MCP servers and other resources available to your agents.

You can read more here on how to mitigate prompt injection attacks with Google Cloud MCP.

Support

If you need help or encounter issues with these skills, search for existing issues or open a new one in the GitHub Issue Tracker.

Contributing

We welcome contributions to improve these skills. You can help by:

License

You are free to copy, modify, and distribute these skills under the terms of the Apache 2.0 license. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors