Agent skill · software engineering · davila7

cloud-sql-basics

Creates and manages Cloud SQL instances for MySQL, PostgreSQL, and SQL Server. Handles backups, high availability, and secure connectivity for relational database workloads on Google Cloud.

Why this skill is useful

Provides specific gcloud commands for managing Cloud SQL instances that the AI wouldn't reliably generate on its own.

What it needs

Requires cloud-sql-proxy, gcloud installed locally. Requires google account access. About 2k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

Cloud SQL Basics Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL, and SQL Server. It automates time-consuming tasks like patches, updates, backups, and replicas, while providing high performance and availability for your applications. Prerequisites Ensure you have the necessary IAM permissions to create and manage Cloud SQL instances. The Cloud SQL Admin (roles/cloudsql.admin) role provides full access to Cloud SQL resources. Quick Start (PostgreSQL) 1. Enable the API: 2. Create an Instance: 3. Set a password for the default user: Because this is a Cloud SQL for PostgreSQL instance, the default admin user is postgres: 4. Create a database: 5. Get the instance connection name: You need the instance connection name (which is formatted as PROJECTID:REGION:INSTANCENAME) to connect using the Cloud SQL Auth Proxy. Retrieve it with the following command: 6. Connect to the instance: The Cloud SQL Auth Proxy must be running to be able to connect to the instance. In a separate terminal, start the proxy using the connection name: With the proxy running, connect using psql in another terminal: Reference Directory Core Concepts: Instance architecture, high availability (HA), and supported database engines. CLI Usage: Essential gcloud sql commands for instance, database, and user management. Client Libraries & Connectors: Connecting to Cloud SQL using Python, Java, Node.js, and Go. MCP Usage: Using the Cloud SQL remote MCP server and Gemini CLI extension. Infrastructure as Code: Terraform configuration for instances, databases, and users. IAM & Security: Predefined roles, SSL/TLS certificates, and Auth Proxy configuration. If you need product information not found in these references, use the Developer Knowledge MCP server searchdocuments tool.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/cloud-sql-basics

View the source on GitHub

Browse the @skills marketplace