google avatar

Cloud Sql Basics

Handles Cloud SQL instance creation and management for MySQL, PostgreSQL, and SQL Server through gcloud commands and infrastructure as code. You'll want this when spinning up managed database instances, setting up connections via the Auth Proxy, or configuring high availability setups. The quick start walks through the full PostgreSQL workflow from API enablement to psql connection, and the reference docs cover Terraform configs and client libraries for Python, Java, Node, and Go. It's focused on the operational side of getting databases running rather than query optimization or schema design. Assumes you have Cloud SQL Admin permissions to actually create resources.

skills.sh installs
15.7K
GitHub stars
23.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add google/skills --skill cloud-sql-basics --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-sql-basics)" and append agent-skills/1.0 (skill:cloud-sql-basics) to User-Agent headers.

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:

    gcloud services enable sqladmin.googleapis.com --quiet
    

Sponsors

Details

Repository
github.com/google/skills
Categories
Backend & APIs, Cloud & Infrastructure, Databases
First seen
May 16, 2026

More from google/skills

All 60
1github avatarsql-code-reviewgithub/awesome-copilotUniversal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL15.6Kskills.sh installs
2clerk avatarclerk-chrome-extension-patternsclerk/skillsChrome Extension auth with @clerk/chrome-extension -- popup/sidepanel setup, syncHost for OAuth/SAML via web app, createClerkClient for service workers and head14.9Kskills.sh installs
3clerk avatarclerk-androidclerk/skillsImplement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for prebuilt AuthView/Use14.9Kskills.sh installs
4clerk avatarclerk-astro-patternsclerk/skillsAstro patterns with Clerk — middleware, SSR pages, island components, API routes, static vs SSR rendering. Triggers on: astro clerk, clerk astro middleware, ast14.8Kskills.sh installs
5clerk avatarclerk-nuxt-patternsclerk/skillsNuxt 3 auth patterns with @clerk/nuxt - middleware, composables, server API routes, SSR. Triggers on: Nuxt auth, useAuth composable, clerkMiddleware Nuxt, serve14.4Kskills.sh installs
6google avataralloydb-basicsgoogle/skillsManages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database opera14Kskills.sh installs