Gcloud Usage
This skill provides detailed Google Cloud usage reports via `gcloud`, helping you understand and optimize your cloud spending.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gcloud-usage npx -- -y @trustedskills/gcloud-usage
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gcloud-usage": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gcloud-usage"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact directly with the Google Cloud SDK, allowing for programmatic management of cloud resources. It facilitates tasks such as listing projects, managing services, and executing CLI commands within a configured environment.
When to use it
- Automating routine infrastructure checks like verifying instance status or disk usage.
- Deploying applications by triggering
gcloudbuild and release pipelines. - Retrieving specific resource metadata (e.g., IAM roles, network configurations) for reporting.
- Executing ad-hoc administrative tasks across multiple Google Cloud projects without manual login.
Key capabilities
- Executes standard
gcloudCLI commands via natural language instructions. - Manages authentication contexts and project selection automatically.
- Supports filtering and formatting of output data returned by cloud queries.
- Integrates with existing
claude-codex-settingsfor seamless agent configuration.
Example prompts
- "List all active compute instances in the us-central1 region."
- "Check the current quota limits for Cloud SQL in my primary project."
- "Run a health check on our Kubernetes cluster and summarize the results."
Tips & gotchas
Ensure your AI agent has valid OAuth credentials with sufficient permissions before attempting resource management. This skill relies on the underlying gcloud CLI being installed and configured correctly within the agent's environment; errors often stem from missing authentication or incorrect project IDs rather than the skill itself.
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.