gcloud-cli
Google Cloud CLI operations and resource management
When & Why to Use This Skill
The gcloud-cli skill empowers Claude to perform comprehensive Google Cloud Platform (GCP) operations and resource management directly within the chat interface. It streamlines DevOps and SRE workflows by providing high-level abstractions for managing Compute Engine instances, Cloud Storage, IAM policies, and real-time logging, achieving over 90% context savings compared to manual CLI usage.
Use Cases
- Compute Engine Management: Rapidly list, provision, or decommission VM instances to scale infrastructure based on immediate needs.
- Cloud Storage Orchestration: Simplify data management by listing buckets, copying objects between locations, and performing cleanup operations.
- Security & IAM Auditing: Audit cloud security posture by listing IAM policies and service accounts to ensure least-privilege access.
- Real-time Troubleshooting: Monitor system health and debug application issues by reading and tailing Google Cloud logs in real-time.
- Automated Resource Discovery: Quickly gain visibility into existing cloud assets across different projects without leaving the agent environment.
| name | gcloud-cli |
|---|---|
| description | Google Cloud CLI operations and resource management |
| version | 1.0.0 |
| allowed-tools | [Bash, Read] |
Google Cloud CLI Skill
Overview
Google Cloud Platform CLI operations. 90%+ context savings.
Requirements
- gcloud CLI installed
- GOOGLE_PROJECT_ID environment variable
- Authenticated via gcloud auth
Tools (Progressive Disclosure)
Compute
| Tool | Description | Confirmation |
|---|---|---|
| instances-list | List VM instances | No |
| instances-create | Create VM | Yes |
| instances-delete | Delete VM | REQUIRED |
Storage
| Tool | Description | Confirmation |
|---|---|---|
| storage-ls | List buckets/objects | No |
| storage-cp | Copy objects | Yes |
| storage-rm | Delete objects | Yes |
IAM
| Tool | Description |
|---|---|
| iam-list | List IAM policies |
| service-accounts | List service accounts |
Logging
| Tool | Description |
|---|---|
| logs-read | Read logs |
| logs-tail | Tail logs in real-time |
BLOCKED
| Tool | Status |
|---|---|
| projects delete | BLOCKED |
| iam-policy delete | BLOCKED |
Agent Integration
- devops (primary): Cloud operations
- gcp-cloud-agent (primary): GCP specific
- cloud-integrator (secondary): Multi-cloud
Security
⚠️ Never expose service account keys ⚠️ Resource deletion requires confirmation