Gcloud Cli
Executes Google Cloud commands via the `gcloud` CLI, streamlining infrastructure management and automation tasks for developers.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gcloud-cli npx -- -y @trustedskills/gcloud-cli
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gcloud-cli": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gcloud-cli"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
gcloud-cli
What it does
This skill enables AI agents to interact directly with Google Cloud Platform resources via the gcloud command-line interface. It allows agents to manage cloud infrastructure, deploy applications, and execute administrative tasks programmatically without manual intervention.
When to use it
- Automating the provisioning of Compute Engine instances or Cloud Storage buckets for new projects.
- Deploying containerized applications to Google Kubernetes Engine (GKE) clusters.
- Managing IAM permissions and service account configurations to secure cloud resources.
- Running batch scripts to monitor resource usage or perform routine maintenance tasks across multiple environments.
Key capabilities
- Direct execution of
gcloudCLI commands within the agent's environment. - Authentication handling for Google Cloud accounts and projects.
- Resource management across various GCP services including Compute, Storage, and Kubernetes.
- Scripting support for complex, multi-step cloud operations.
Example prompts
- "Provision a new virtual machine instance in the us-central1 region with 4 vCPUs and 8GB of RAM."
- "Create a new Cloud Storage bucket named 'project-backups' with versioning enabled and public access disabled."
- "List all active Kubernetes clusters in my current project and show their status."
Tips & gotchas
Ensure the AI agent has valid authentication credentials (such as service account keys or OAuth tokens) configured before attempting to execute commands. Be cautious when granting broad permissions, as misconfigured IAM roles can lead to unintended access or data loss within your Google Cloud environment.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.