/sre:gcp-slo-managementfrom sre
Discovers Monitoring Services, lists existing SLOs, and creates new Availability/Latency SLOs on Google Cloud via the REST API when gcloud commands are unavailable.
Ships in sre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub googlecloudplatform/sre-plugin --plugin sre-extension16 skills in this plugin
/anomaly-detection🐉 Detects anomalies in time-series data from various sources./cloud-logging🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis./cloud-monitoring🐉 Skill for interacting with Google Cloud Monitoring (CM) via APIs to avoid large context bloat. Produces nice short synoptic "gists" of graphs/data-ingestion🐉 Fetches and parses time-series data from various sources./gcp-architecture-discovery🐉 Discover and map GCP infrastructure architecture including compute, networking, storage, and service dependencies./gcp-mcp-setup🐉 Use when the user wants to set up Google Managed MCP (OneMCP) servers for their CLI environment. Automates enabling services, MCP servers, generating API keys, and configuring the MCP settings file for the active harness (Gemini, Antigravity, or Copilot CLI).Other plugins' skills for the same job