Skip to content

Cloud SQL Basics

Lets your agent create and connect to Google Cloud SQL MySQL, PostgreSQL, and SQL Server databases.

Repository
google/skills
Stars
21,782
Licence
Apache-2.0
Files
9 files

What it does

This skill teaches an AI agent how Google Cloud SQL works, a managed service that runs MySQL, PostgreSQL, and SQL Server databases and handles backups, patches, and high availability for you. Once installed, when you ask the agent to set up a Cloud SQL database, it follows step-by-step commands (gcloud CLI, Terraform, client libraries, and connection guidance) rather than guessing. It also points to reference notes on security roles, disaster recovery, and connecting via the Cloud SQL Auth Proxy.

Great for

  • Developers setting up a managed MySQL or PostgreSQL database on Google Cloud for an app
  • Teams writing Terraform or scripts to provision Cloud SQL instances consistently
  • Engineers who want a guided walkthrough of creating an instance, user, and database

Skip it if

  • People without a Google Cloud account or billing set up, since the commands create paid cloud resources
  • Production changes made without review, because the skill can generate commands that create instances and set passwords that should be checked first
  • Non-cloud local databases, where this skill adds little value

Try asking

  • “Create a Cloud SQL for PostgreSQL instance in us-central1 and a database called orders”
  • “Show me how to connect to my Cloud SQL MySQL instance using the Auth Proxy”
  • “Write Terraform to provision a Cloud SQL SQL Server instance with daily backups”
  • “What IAM role do I need to manage Cloud SQL instances?”
Step-by-step guide: how to use Cloud SQL BasicsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 9 original files, the Apache-2.0 licence and an attribution note.

    cloud-sql-basics.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip cloud-sql-basics.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip cloud-sql-basics.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Review every gcloud command before running it, especially instance creation and password changes, since they create billable resources and set credentials.
  • Store database passwords in a secret manager rather than pasting them into commands or chat history.
  • Ask for the reference section you need (backups, IAM, Terraform) so the agent loads the right detail.

What's inside

  • references/attribution.md
  • references/cli-usage.md
  • references/client-library-usage.md
  • references/core-concepts.md
  • references/dr-backups.md
  • references/iac-usage.md
  • references/iam-security.md
  • references/mcp-usage.md
  • SKILL.md

Redistributed unmodified from google/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.