{"id":51473180,"url":"https://github.com/gemini-cli-extensions/sre","last_synced_at":"2026-07-08T16:01:43.235Z","repository":{"id":351808900,"uuid":"1211583743","full_name":"gemini-cli-extensions/sre","owner":"gemini-cli-extensions","description":"SRE Extension to provide Site Reliability Engineering tools for CLI harness investigations (agy, Gemini CLI, claude, ..) on Google Cloud et al.","archived":false,"fork":false,"pushed_at":"2026-06-30T13:23:10.000Z","size":3377,"stargazers_count":70,"open_issues_count":7,"forks_count":9,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T15:21:06.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemini-cli-extensions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-15T14:35:41.000Z","updated_at":"2026-06-30T13:23:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gemini-cli-extensions/sre","commit_stats":null,"previous_names":["gemini-cli-extensions/sre"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gemini-cli-extensions/sre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fsre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fsre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fsre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fsre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemini-cli-extensions","download_url":"https://codeload.github.com/gemini-cli-extensions/sre/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fsre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35270196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-06T20:00:39.736Z","updated_at":"2026-07-08T16:01:43.211Z","avatar_url":"https://github.com/gemini-cli-extensions.png","language":"Python","funding_links":[],"categories":["Observability and SRE"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/sre-extension-logo.png\" width=\"400\" alt=\"SRE Extension Logo\"\u003e\n\u003c/p\u003e\n\n\u003e **Note:** Given the recent [deprecation of Gemini CLI](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/), this Extension is also fully functional as a Plugin for [agy CLI](https://antigravity.google), Claude Code, and Codex.\n\n\n# About\n\n**The SRE Gemini CLI Extension** is a dedicated toolkit comprising specialized **Skills** designed to augment Site Reliability Engineers (SREs). By integrating deeply with the Gemini CLI, this extension empowers SREs to investigate outages, configure MCP servers, formulate mitigations, and detect anomalies more rapidly.\n\nSee also:\n* [Reference PostMortems](https://github.com/palladius/about-sre-extension/) we've created with this tool.\n* [SRE Testing Suite](https://github.com/palladius/sre-testing-suite) to test your setups (currently a work in progress) and its related **[Codelab](https://codelabs.developers.google.com/codelabs/investigate-gke-cluster-breakage-scenarios-with-postmortem#0)**.\n\n## 📺 Demo Outage Investigation\n\nWatch the **SRE Extension** in action as it performs a live production outage investigation and generates a detailed PostMortem:\n\n[![SRE Extension Demo Outage Investigation](docs/sre-demo-video-thumbnail.png)](https://youtu.be/bPCznsjW8BU)\n\n\n## Installation\n\nFor detailed installation and configuration instructions across all CLI environments, please refer to the [Installation Guide (INSTALL.md)](INSTALL.md).\n\nIf you have [`just`](https://github.com/casey/just) (a modern `make` clone) installed, you can quickly set up the extension. If you don't have `just` yet, you can quickly install it via `brew install just` / \n`sudo apt-get install just` (or see [casey/just](https://github.com/casey/just#installation) for more options).\n\nOnce installed:\n\n```bash\n# Google Antigravity CLI (agy)\njust install-agy\n# Google Gemini CLI (deprecated)\njust install-gemini\n# Claude Code\njust install-claude\n# GitHub Copilot CLI\njust install-copilot-persistent\n```\n\nYou also need `python` and `uv` installed.\n\n\n## Available Skills\n\n### 🛠️ Core SRE Skills\n- **`investigation-entrypoint`**: Primary entrypoint for investigating production outages, orchestrating SRE response, and mitigating incidents. Start here when an incident occurs!\n- **`gcp-architecture-discovery`**: Discover and map GCP infrastructure architecture including compute, networking, storage, and service dependencies.\n- **`gcp-playbooks`**: Follows established SRE playbooks for GCP/GKE investigations, including infrastructure discovery and common mitigation steps.\n- **`gcp-mcp-setup`**: Automates enabling services, Google Managed MCP (OneMCP) servers, generating API keys, and configuring `~/.gemini/settings.json`.\n- **`gcp-slo-management`**: Discover Monitoring Services, list existing SLOs, or create new SLOs (Availability/Latency) via the REST API.\n- **`postmortem-generator`**: Creates a generated PostMortem given enough context about a resolved incident/outage.\n\n### ☁️ Cloud Capabilities\n- **`cloud-build-investigation`**: Expert-level SRE skill for Google Cloud Build (GCB) and Cloud Run investigations. Correlates git commits with build failures and analyzes logs.\n- **`cloud-logging`**: Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Processes large JSON logs or converts them to Apache format.\n- **`cloud-monitoring`**: Interacts with Google Cloud Monitoring via APIs to avoid large context bloat. Exports time-series data and helps setup SLOs.\n\n### 📊 Detection, Graphs \u0026 Mitigations\n- **`generic-mitigations`**: Generic Mitigations high-level classification logic and actuation plan.\n- **`monitoring-graphs`**: Generates high-quality, annotated incident graphs for post-mortems using Python to visualize outages and error rates (nice graphs visible [here](https://github.com/palladius/about-sre-extension/)).\n- **`anomaly-detection`**: Detects anomalies in time-series data from various sources (Isolation Forest, KNN, Z-score).\n- **`data-ingestion`**: Fetches and parses time-series data from various sources for downstream analysis.\n\n## Compatibility \u0026 Harness Support\n\n| Capability            | Gemini CLI | Antigravity (`agy`)                                      | Claude Code                                              | Codex                                                    | Copilot CLI                                              |\n| :----------------------| :----------:| :--------------------------------------------------------:| :--------------------------------------------------------:| :--------------------------------------------------------:| :--------------------------------------------------------:|\n| **Type**              | Extension  | [Plugin](https://antigravity.google/docs/plugins) | [Plugin](https://code.claude.com/docs/en/plugins-reference) | [Plugin](https://developers.openai.com/codex/plugins) | [Plugin](https://docs.github.com/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating) |\n| **Install**           | ✅          | ✅                                                        | ✅                                                        | 🟢                                                        | ✅                                                        |\n| **MCP Setup**         | ✅          | ✅                                                        | 🟢                                                        | 🟢                                                        | 🔴                                                        |\n| **SRE Skills**        | ✅          | ✅                                                        | 🟢                                                        | 🟢                                                        | ✅                                                        |\n| **GKE Investigation** | ✅          | ✅                                                        | 🟢                                                        | 🟢                                                        | 🟢                                                        |\n\n**Legend:** ✅ Works (Tested) | 🟢 Works (Untested) | 🔴 Doesn't Work (Red Flag)\n\n## Quickstart\n\n1. Install this extension by following the instructions in [INSTALL.md](INSTALL.md).\n2. Only for the first time, use `gcp-setup` and `gcp-mcp-setup` skills to ensure your GCP project and MCP servers are set up correctly:\n   ```bash\n   $ agy\n   /gcp-setup Setup my GCP project \"foo-bar-123\"\n   with email `jane-doe-sre@credible-company.com`.\n   [..]\n   /gcp-mcp-setup Also set up MCP access to Cloud Logging,\n   Cloud Monitoring, GKE and Documentation (Developer Knowledge). Skip\n   BQ and Cloud Run for this time.\n   ```\n3. Invoke the entrypoint skill with your incident request. For example:\n   ```bash \n   $ agy\n   /investigation-entrypoint Use investigation entrypoint skill\n   with this new incident: GKE cluster with frontend 1.2.3.4 is reported \n   down by numerous customers, please investigate.\n   ```\n4. The agent will take it from there—fetching context, querying metrics, and formulating mitigations.\n\nFor detailed instructions on setup and usage, please refer to the [User Manual](USER_MANUAL.md).\n\n\n## Contributing\n\nCheck `CONTRIBUTING.md`.\n\n\n\n## 🗺️ Public Resources Map\n\nHere is a visual map showing how the SRE Extension codebase, testing suite, postmortems, and learning tutorials relate to each other:\n\n![Public SRE Resources Map](docs/public-resources-map.png)\n\nFor a detailed description of the mappings, see [docs/public-resources-map.md](docs/public-resources-map.md).\n\n## Feedback \n\nFor feedback, please report **bugs** and **feature requests** in the issue tracker.\nAny other intelligible feedback should be sent to this form: [SRE Extension Survey](https://forms.gle/eJPrbG4KKESp6GmF6)\n\n# Thanks\n\nProgram Lead: [Riccardo](https://github.com/palladius)\n\nCo-authors and contributors:\n- [Madhavi](https://github.com/madkarra)\n- [Ramón](https://github.com/rmedranollamas)\n- [Szymon](https://github.com/szymonst)\n\u003c!-- add your name here --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-cli-extensions%2Fsre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemini-cli-extensions%2Fsre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-cli-extensions%2Fsre/lists"}