Language: 日本語English

cloud-sql-postgresql Plugin

Author
Google LLC
Category
Database
Topics
Databases & Storage · Cloud, Deployment & CI/CD
First seen
2026-07-09
Last confirmed
2026-07-13
Explanation last updated
2026-07-12

The explanation below is AI-generated. Please verify it against the sources.

cloud-sql-postgresql is a plugin that provides a set of agent skills for creating, connecting to, and interacting with Cloud SQL for PostgreSQL instances using natural language, according to the README. It is currently in beta (pre-v1.0) and can be used with AI agents such as Antigravity, Claude Code, and Codex. The skills span administrative tasks (provisioning instances, databases, and users), schema exploration and querying, health auditing, lifecycle management (backups, restores, version-upgrade checks), performance monitoring, replication health checks, and extension/configuration management. Usage requires a Google Cloud project with the Cloud SQL Admin API enabled, Application Default Credentials configured, and the Cloud SQL Client/Admin IAM roles. Configuration is done through environment variables specifying the project, region, instance, and database.

Overview

Cloud SQL for PostgreSQL is Google Cloud's managed PostgreSQL database service. According to the README, this plugin (from gemini-cli-extensions) adds a collection of 'agent skills' that let AI coding agents manage, query, and troubleshoot Cloud SQL for PostgreSQL databases through natural-language prompts.

What you can do with cloud-sql-postgresql

  • Provision new Cloud SQL for PostgreSQL instances, databases, and users (Admin skill)
  • Explore schemas, discover objects like views or stored procedures, and run custom SQL queries (Data skill)
  • Audit database health, storage bloat, invalid indexes, and autovacuum settings (Health skill)
  • Manage instance lifecycle tasks such as backups, restores, and major version upgrade compatibility checks (Lifecycle skill)
  • Troubleshoot performance using query execution plans, resource-heavy process identification, and PromQL metrics (Monitor skill)
  • Monitor replication health and audit database roles and security settings (Replication skill)
  • Discover and manage PostgreSQL extensions and tune engine-level configuration parameters (View Config skill)
  • Generate code, such as Python dataclasses, based on table schemas

Sources

Original description (English)

Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.

History of cloud-sql-postgresql

Back to list