From sre-extension
Discovers Monitoring Services and manages SLOs (Availability/Latency) on Google Cloud via the REST API. Use when gcloud commands are unavailable.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sre-extension:gcp-slo-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill enables the discovery and management of SLOs in Google Cloud Monitoring. Since `gcloud` lacks native SLO creation commands, this skill leverages the Monitoring REST API and a bundled discovery script.
This skill enables the discovery and management of SLOs in Google Cloud Monitoring. Since gcloud lacks native SLO creation commands, this skill leverages the Monitoring REST API and a bundled discovery script.
Every SLO must be attached to a Service. Use the discovery script to find the correct Service ID.
python3 skills/gcp-slo-management/scripts/discovery.py <PROJECT_ID>Display Name and Service ID.Use curl to POST a JSON definition to the service.
# Set variables
PROJECT_ID="your-project"
SERVICE_ID="wl:..." # From step 1
TOKEN=$(gcloud auth application-default print-access-token)
curl -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
"https://monitoring.googleapis.com/v3/projects/$PROJECT_ID/services/$SERVICE_ID/serviceLevelObjectives" \
-d '{
"displayName": "99% Availability - Last 7 Days",
"goal": 0.99,
"rollingPeriod": "604800s",
"serviceLevelIndicator": {
"basicSli": {
"availability": {}
}
}
}'
requestBased or windowBased SLIs with specific metric filters.latency threshold within basicSli.gcloud auth application-default login and that your account has roles/monitoring.editor.Service ID exists in the target project.2plugins reuse this skill
First indexed Jun 3, 2026
npx claudepluginhub gemini-cli-extensions/sre --plugin sre-extensionDesigns SLOs with SLIs, targets, alerting thresholds, and error budgets following Google SRE best practices. Use for defining reliability targets or service indicators.
Manages Grafana SLO definitions: create, update, pull, push via GitOps, delete using gcx CLI. Use for SLO lifecycle tasks excluding health checks or investigations.
Helps define SLOs, SLIs, and SLAs with error budget tracking and burn rate alerts. Use when implementing SRE practices or setting data-driven reliability targets.