All Skills
Data & AnalysisClaude Plugins (Official)

cloud sql postgresql — Agent Skill

by gemini-cli-extensions · Updated

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

At a glance

cloud-sql-postgresql is an Agent Skill by gemini-cli-extensions in the Data & Analysis category. In Claude Code it installs with `/plugin install cloud-sql-postgresql@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 42 GitHub stars (as of Oct 28, 2026).

Source 42GitHub stars

How to install cloud sql postgresql in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install cloud sql postgresql in Claude CodeAnthropic's agentic CLI

  1. Add the marketplace

    claude
    /plugin marketplace add anthropics/claude-plugins-official
  2. Install the skill

    claude
    /plugin install cloud-sql-postgresql@claude-plugins-official
  3. Use it

    These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.

Documentation

Full README

Cloud SQL for PostgreSQL

[!NOTE] Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).

This repository packages MCP Toolbox's prebuilt cloud-sql-postgres server as a plugin/extension to interact with Cloud SQL for PostgreSQL instances. It can be used with various AI agents, including Antigravity, Claude Code and Codex, to manage your databases, execute queries, explore schemas, and troubleshoot issues using natural language prompts.

[!IMPORTANT] We Want Your Feedback! Please share your thoughts with us by filling out our feedback [form][form]. Your input is invaluable and helps us improve the project for everyone.

[form]: https://docs.google.com/forms/d/e/1FAIpQLSfEGmLR46iipyNTgwTmIDJqzkAwDPXxbocpXpUbHXydiN1RTw/viewform?usp=pp_url&entry.157487=cloud-sql-postgresql

Table of Contents

  • Why Use Cloud SQL for PostgreSQL?
  • Prerequisites
  • Getting Started
  • Configuration
  • Installation & Usage
  • Antigravity
  • Claude Code
  • Codex
  • Installing via a compatible Agent Plugins client
  • Usage Examples
  • Available Tools
  • Generating Skills Instead
  • Additional Extensions
  • Troubleshooting

Why Use Cloud SQL for PostgreSQL?

  • Seamless Workflow: Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common database tasks.
  • Natural Language Queries: Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
  • Full Lifecycle Control: Manage the entire lifecycle of your database, from creating instances to exploring schemas and running queries.
  • Code Generation: Accelerate development by asking your agent to generate data classes and other code snippets based on your table schemas.

Prerequisites

Before you begin, ensure you have the following:

  • One of these AI agents installed
  • Antigravity
  • Antigravity CLI version v1.6.0 or higher
  • Antigravity 2.0 version v2.0.0 or higher.
  • Claude Code version v2.1.94 or higher.
  • Codex v0.117.0 or higher.
  • Node.js — the MCP server runs via npx.
  • A Google Cloud project with the Cloud SQL Admin API enabled.
  • Ensure Application Default Credentials are available in your environment.
  • IAM Permissions:
  • Cloud SQL Client (roles/cloudsql.client)
  • Cloud SQL Admin (roles/cloudsql.admin)

[!NOTE] If you do not configure a specific CLOUD_SQL_POSTGRES_USER or CLOUD_SQL_POSTGRES_PASSWORD, the server defaults to using the active local IAM user credentials. You must also add the IAM user to your Cloud SQL instance, see Creating a database user.

Getting Started

Excerpt — the full document is on GitHub.

More Data & Analysis skills

Catalog data refreshed . Something wrong? Report it.