gcp-cloud-sql
Skill by sickn33
Provisions and manages Google Cloud SQL databases for PostgreSQL, MySQL and SQL Server. It covers high availability, backups, private IP, read replicas and security settings for teams deploying managed databases on GCP.
Install gcp-cloud-sql
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/gcp-cloud-sql ~/.claude/skills/gcp-cloud-sqlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/gcp-cloud-sql ~/.gemini/antigravity-cli/skills/gcp-cloud-sqlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through deploying and managing fully managed relational databases on Google Cloud SQL, including PostgreSQL, MySQL and SQL Server. It covers instance creation with regional high availability, storage, backups and point-in-time recovery, private IP setup, read replicas, exports and imports, and a Terraform configuration. It also includes the Cloud SQL Auth Proxy and a troubleshooting table.
The skill is written as gcloud commands and Terraform HCL examples that the assistant can adapt. Its prerequisites say the gcloud SDK must be installed and authenticated, the Cloud SQL Admin and Service Networking APIs must be enabled, and the roles/cloudsql.admin IAM role is needed for full management. It is aimed at engineers who run production relational databases on GCP. The source is docs-only, so helper scripts and templates are not bundled.
Written from the project's SKILL.md and checked against it.
What it can do
- Create instancesCreates PostgreSQL or MySQL instances with regional availability, SSD storage and backup settings.
- Private IP setupAllocates a VPC peering range and creates private-only instances on an existing VPC.
- Read replicasCreates same-region and cross-region replicas and promotes a replica for disaster recovery.
- Backups and restoreCovers on-demand backups, point-in-time clones, and SQL exports and imports.
- Cloud SQL Auth ProxyShows how to run the proxy with IAM auth or a Unix socket for app connections.
- Terraform configurationProvides HCL for instances, databases, users, replicas and private networking.
- Common operationsLists and describes instances, patches storage, flags or tier, and restarts instances.
- TroubleshootingMaps symptoms such as refused connections, SSL errors and replication lag to fixes.
What you need
- Google Cloud SDK (gcloud) installed and authenticated
- Cloud SQL Admin API and Service Networking API enabled
- IAM role roles/cloudsql.admin for full management
- A Google Cloud project
Try asking
- Create a regional PostgreSQL 16 instance on Cloud SQL with daily backups.
- Set up a private-IP Cloud SQL instance attached to my existing VPC.
- Write Terraform for a Cloud SQL instance with a read replica in another region.
Good to know
- Docs-only: upstream scripts and templates are not bundled.
- Backups and high availability are not a tested disaster recovery plan, according to the source.
- Infrastructure commands can disrupt services, so confirm scope and have backups first.
- Terraform stores passwords in state, so the state must be protected.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/gcp-cloud-sql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to gcp-cloud-sql
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
gcp-cloud-sql: common questions
Which databases does the Cloud SQL skill cover?
The source says it covers PostgreSQL, MySQL and SQL Server. The command examples show PostgreSQL and MySQL instances.
Does the Cloud SQL Auth Proxy create private network connectivity?
No. The source says the Auth Proxy does not create private connectivity, so private-only instances need --private-ip and an existing route.
Are Cloud SQL backups enough for disaster recovery?
The source says backups and HA are not a tested DR plan. Imports, promotions and restarts need an approved target or recovery plan.
How do I install gcp-cloud-sql?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gcp-cloud-sql free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gcp-cloud-sql safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gcp-cloud-sql?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
