templates/analytics/.builder/skills/gcloud/SKILL.md
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.
npx skillsauth add BuilderIO/agent-native gcloudInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
your-project-id (hard-coded)[email protected]GOOGLE_APPLICATION_CREDENTIALS_JSON env var (JSON credentials string) — no ADC fallbackmonitoring.viewer, run.viewer, cloudfunctions.viewer, logging.viewerserver/lib/gcloud.ts| 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 |
| Route | Description |
| -------------------------- | ----------------------- |
| GET /api/gcloud/services | List Cloud Run services |
| GET /api/gcloud/metrics | Query metrics |
| GET /api/gcloud/logs | Read log entries |
/adhoc/gcloud — Google Cloud Health dashboard/v2/projects/{project}/locations/-/services/v2/projects/{project}/locations/-/functions/v3/projects/{project}/timeSeries/v2/entries:listrun.googleapis.com/request_count, request_latencies, container/instance_count, container/cpu/utilizationcloudfunctions.googleapis.com/function/execution_count, execution_times, active_instancesgetServiceMetrics auto-selects aligner/reducer based on metric name (latency→percentile, request_count→ALIGN_DELTA, memory→ALIGN_MEAN)queryMetrics maps point values from doubleValue, int64Value, or distribution meanlistLogEntries uses POST payload; returns entries reversedtools
Public booking flow — the state machine, animations, and URL/app-state sync.
tools
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
tools
Team event types, round-robin assignment, collective bookings, host weights, and no-show calibration.
development
The pure `computeAvailableSlots` function — inputs, outputs, invariants, and debugging guide.