Note: Formerly the Gemini CLI SRE Extension (gemini-cli-extensions/sre). Following the transition from Gemini CLI to Antigravity CLI, this repository is now the SRE Plugin for Google Cloud (GoogleCloudPlatform/sre-plugin, watch the 8s rebrand teaser), supporting Antigravity CLI (agy), Claude Code, OpenAI Codex, and GitHub Copilot CLI.
SRE Plugin for Google Cloud
The SRE Plugin for Google Cloud is a dedicated toolkit of specialized Skills designed to augment Site Reliability Engineers (SREs). Working across modern AI coding agent harnesses—Antigravity CLI (agy), Claude Code, OpenAI Codex, and GitHub Copilot CLI—this plugin empowers SREs to investigate production outages, configure Google Managed MCP servers, formulate safe mitigations, detect anomalies, and generate data-backed PostMortems.
See also:
📺 Demo Outage Investigation
Watch the SRE Plugin in action as it performs a live production outage investigation and generates a detailed PostMortem:

Installation
For detailed installation and configuration instructions across all CLI environments, please refer to the Installation Guide (INSTALL.md).
If you have just (a modern make clone) installed, you can quickly set up the plugin. If you don't have just yet, you can quickly install it via brew install just / sudo apt-get install just (or see casey/just for more options).
Once installed:
# Google Antigravity CLI (agy)
just install-agy
# Claude Code
just install-claude-persistent
# GitHub Copilot CLI
just install-copilot-persistent
# Google Gemini CLI (deprecated)
just install-gemini
You also need python and uv installed.
Available Skills
🛠️ Core SRE Skills
investigation-entrypoint: Primary entrypoint for investigating production outages, orchestrating SRE response, and mitigating incidents. Start here when an incident occurs!
gcp-setup: Initial Google Cloud environment verification and authentication setup. Ensures consistent identities across gcloud, ADC, and kubectl.
gcp-architecture-discovery: Discover and map GCP infrastructure architecture including compute, networking, storage, and service dependencies.
gcp-playbooks: Follows established SRE playbooks for GCP/GKE investigations, including infrastructure discovery and common mitigation steps.
gcp-mcp-setup: Automates enabling services, Google Managed MCP (OneMCP) servers, generating API keys, and configuring the MCP settings file for your CLI harness (Antigravity, Copilot, or Gemini).
gcp-slo-management: Discover Monitoring Services, list existing SLOs, or create new SLOs (Availability/Latency) via the REST API.
safe-sre-investigator: Sets up and uses read-only Service Accounts for GCP and Kubernetes investigations using the principle of least privilege, with risk assessments for suggested commands.
postmortem-generator: Creates a structured PostMortem given enough context about a resolved incident/outage.
postmortem-aggregator: Aggregates and crunches data from multiple PostMortem files in a folder to maintain a consolidated POMO_AGGREGATED.md report.
☁️ Cloud Capabilities
cloud-logging: Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Processes large JSON logs or converts them to Apache format.
cloud-monitoring: Interacts with Google Cloud Monitoring via APIs to avoid large context bloat. Exports time-series data and helps set up SLOs.