Gcp Error Logs
Provides Google Cloud guidance and assistance for deploying and managing cloud infrastructure.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gcp-error-logs npx -- -y @trustedskills/gcp-error-logs
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gcp-error-logs": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gcp-error-logs"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows you to query and retrieve error logs from Google Cloud Platform (GCP) projects. It can filter these logs based on various criteria, such as severity, time range, and resource type. The skill provides a way to troubleshoot issues and monitor the health of GCP applications by extracting relevant log data.
When to use it
- Troubleshooting application errors: Quickly identify the root cause of an error in a deployed application by retrieving related error logs.
- Monitoring system performance: Track error rates over time to proactively address potential problems.
- Auditing security incidents: Investigate suspicious activity by examining GCP audit logs.
- Debugging infrastructure issues: Analyze error logs from specific GCP resources (e.g., Compute Engine instances, Cloud Functions) to diagnose configuration or deployment problems.
Key capabilities
- Retrieves error logs from GCP projects.
- Filters logs based on severity level.
- Supports filtering by time range.
- Allows specifying resource types for log retrieval.
Example prompts
- "Show me the error logs for my Compute Engine instance in the last hour."
- "What are the most recent errors with a 'warning' severity from my Cloud Function?"
- "Retrieve all error logs related to authentication failures in the past 24 hours."
Tips & gotchas
- Requires proper GCP credentials and permissions to access log data. Ensure the AI agent has the necessary roles assigned within your Google Cloud project.
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.