cloud-sql-basics

cloud-sql-basics is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 108 tokens per session (844 once invoked), scanned A, a copy of cloud-sql-basics, MIT.

A guide for using Cloud SQL, Google's managed service for MySQL, PostgreSQL, and SQL Server databases. It covers creating database instances, users, databases, and connections.

In plain words
What is it for?
Use it to create and explain Cloud SQL resources, enable the required API, set administrator passwords, create databases, and retrieve connection information.
Why use it?
It removes much of the setup work involved in running a relational database, including configuring the managed cloud resource and its access details.

Skill for Claude CodeCodex

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

Good fit Use it to create and explain Cloud SQL resources, enable the required API, set administrator passwords, create databases, and retrieve connection information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/cloud-sql-basics
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 hamzabellouch/agent-skills --skill cloud-sql-basics
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-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/hamzabellouch/agent-skills/cloud-sql-basics/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/cloud-sql-basics)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/cloud-sql-basics"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-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/hamzabellouch/agent-skills/cloud-sql-basics"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-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 844 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.
Origin 91% copy Near-identical to another mod 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.00844
Opus 5.5 $0.00043 $0.00338
Sonnet 5.5 $0.00022 $0.00169
Haiku 4.5 $0.00011 $0.00084

Measured 1mo ago against content hash 22f300f82fcb, 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 1mo 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

This is a copy

91% identical to cloud-sql-basics — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

Google Cloud and GKE/cloud-sql-basics/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 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.

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 \
      --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
    
  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:

    ./cloud-sql-proxy INSTANCE_CONNECTION_NAME
    

    With the proxy running, connect using psql in another terminal:

    psql "host=127.0.0.1 port=5432 user=postgres dbname=DATABASE_NAME password=PASSWORD sslmode=disable"
    

Read the full file on GitHub · 119 lines

Files

What ships with it

6 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. 1mo ago First seen · 119 lines · 108 tokens per session scan A 22f300f82fcb

Subscribe to this mod's changes

cloud-sql-basics is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed 9d ago), licensed MIT. It adds 108 tokens to every session and 844 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to cloud-sql-basics, differing in 18 lines, and is treated as a copy.

Related

Other skills, from other repositories

cloud-sql-postgres-replication

Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity.

tmolavi/mcp-agent-skills-hub · 38 tokens

cloud-sql-postgres-admin

Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations.

tmolavi/mcp-agent-skills-hub · 38 tokens

cloud-sql-postgres-data

Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data.

tmolavi/mcp-agent-skills-hub · 39 tokens

cloud-sql-postgres-lifecycle

Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status.

tmolavi/mcp-agent-skills-hub · 40 tokens

cloud-sql-postgres-view-config

Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters.

tmolavi/mcp-agent-skills-hub · 37 tokens

alloydb-postgres-admin

Use these skills when you need to provision new AlloyDB clusters and instances, monitor their creation status, and retrieve high-level configuration or health data for the environment.

tmolavi/mcp-agent-skills-hub · 39 tokens