Gcloud

From BuilderIO/agent-native · View interactive version

Gcloud is an AI agent skill from the GitHub repository BuilderIO/agent-native. Monitor Google Cloud Run services and Cloud Functions health, metrics, and logs. Use this skill when the user asks about service health, request counts, latencies, or cloud infrastructure.

How to use this skill

Skill file

Google Cloud Integration

Connection

Server Lib & API Routes

Exported Functions

| Function | Description |

| --------------------------------------------------------------------------- | ---------------------------------- |

| listCloudRunServices() | List all Cloud Run services |

| listCloudFunctions() | List all Cloud Functions |

| queryMetrics(filter, period, aligner?, reducer?, groupBy?) | Query Cloud Monitoring time series |

| getServiceMetrics(serviceType, serviceName, metric, period, extraFilter?) | Convenience metric query |

| listLogEntries(filter, pageSize?) | Read Cloud Logging entries |

API Routes

| Route | Description |

| -------------------------- | ----------------------- |

| GET /api/gcloud/services | List Cloud Run services |

| GET /api/gcloud/metrics | Query metrics |

| GET /api/gcloud/logs | Read log entries |

Agent Action

Use gcloud for agent-facing Google Cloud work. Do not call

/api/gcloud/* directly from the agent.

| Mode | Args | Description |

| ---------- | ----------------------------------------------------------- | ------------------------------------------- |

| services | | List Cloud Run services and Cloud Functions |

| metrics | service, serviceType, metric, period, extraFilter | Query Cloud Monitoring |

| logs | service, serviceType, severity, limit | Read Cloud Logging |

Dashboard

Google Cloud APIs Used

Key Metrics

Key Patterns & Gotchas

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.