cloud-sql-basics

cloud-sql-basics is a skill for Claude Code, Codex from google/skills. It costs 108 tokens per session (1,036 once invoked), scanned A, original, Apache-2.0.

A guide for creating and explaining Cloud SQL databases for MySQL, PostgreSQL, or SQL Server. Cloud SQL is Google's managed service for running these relational databases without managing the underlying database servers yourself.

In plain words
What is it for?
Use it to create or manage Cloud SQL instances and databases, enable the required APIs, and obtain connection information.
Why use it?
It gives the commands and prerequisites needed to create a database instance, set an administrator password, and create a database. It also covers routine infrastructure tasks such as updates, backups, and replicas.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Good fit Use it to create or manage Cloud SQL instances and databases, enable the required APIs, and obtain connection information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/skills/cloud-sql-basics
About the project

google/skills is a collection of Agent Skills that guide AI agents in using Google products and technologies, including Google Cloud services. Developers and agents use these reusable workflows for tasks such as cloud authentication, data analysis, application deployment, and AI platform management. The catalogue entries are skills, plugins, and an MCP integration from this collection.

google/skills · 25,345 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add google/skills --skill cloud-sql-basics
Clone the repo
git clone --depth 1 https://github.com/google/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloud-sql-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/skills/cloud-sql-basics/github.svg)](https://agentmods.dev/skills/google/skills/cloud-sql-basics)
Your own site
<a href="https://agentmods.dev/skills/google/skills/cloud-sql-basics"><img src="https://agentmods.dev/badge/skills/google/skills/cloud-sql-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloud-sql-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/skills/cloud-sql-basics"><img src="https://agentmods.dev/badge/skills/google/skills/cloud-sql-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,036 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Oct 2026
  • Snyk pass 20 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.01036
Opus 5.5 $0.00043 $0.00414
Sonnet 5.5 $0.00022 $0.00207
Haiku 4.5 $0.00011 $0.00104

Measured 19d ago against content hash d5f511b7876d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloud-sql-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

skills/cloud/cloud-sql-basics/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
    
  2. Create an Instance:

    gcloud sql instances create INSTANCE_NAME \
      --database-version=POSTGRES_18 \
      --edition=ENTERPRISE \
      --cpu=2 \
      --memory=7680MiB \
      --region=REGION \
      --quiet
    
  3. Set a password for the default user:

    Because this is a Cloud SQL for PostgreSQL instance, the default admin user is postgres:

    gcloud sql users set-password postgres \
      --instance=INSTANCE_NAME --password=PASSWORD \
      --quiet
    
  4. Create a database:

    gcloud sql databases create DATABASE_NAME \
      --instance=INSTANCE_NAME \
      --quiet
    
  5. Get the instance connection name:

    You need the instance connection name (which is formatted as PROJECT_ID:REGION:INSTANCE_NAME) to connect using the Cloud SQL Auth Proxy. Retrieve it with the following command:

    gcloud sql instances describe INSTANCE_NAME \
      --format="value(connectionName)" \
      --quiet
    

Read the full file on GitHub · 134 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +1 lines d5f511b7876d
  2. 1mo ago Changed · +9 lines bf31327be874
  3. 2mo ago Changed · +1 lines d7ce2900dfd8
  4. 3mo ago First seen · 123 lines · 108 tokens per session scan A 56068df28db9

Subscribe to this mod's changes

cloud-sql-basics is a skill published in the GitHub repository google/skills (25,345 stars, last pushed today), licensed Apache-2.0. It adds 108 tokens to every session and 1,036 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cloud-sql-basics compared with skills from other repositories

cloud-sql-basics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-sql-basicsgoogle/skillsSkill25ktodayApache-2.0A108Claude Code, Codex
aws-rds-spring-boot-integrationgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA83Claude Code
azure-database-postgresqlMicrosoftDocs/Agent-SkillsSkill82422d agoCC-BY-4.0A140Claude Code
stateful-workloadsarjunprabhulal/devops-skillsSkill83mo agoMITA122Claude Code
render-postgresSarthib7/agentsmithSkill131mo agononeA83Claude Code, Codex
rds-postgresAlexK020908/infra-designerSkill25mo agoMITA0Claude Code
supabasesupabase/agent-skillsSkill3.2k18d agoMITA185Claude Code, Codex