Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

alloydb-basics

Skill by google

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

  • Score 94
  • 26k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install alloydb-basics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/alloydb-basics ~/.claude/skills/alloydb-basics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install alloydb-basics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through managing clusters, instances, and backups for AlloyDB for PostgreSQL, a managed, PostgreSQL-compatible database service. It covers the gcloud CLI, AlloyDB MCP tools, Terraform and Kubernetes Config Connector, and IAM and security setup. The skill points to reference files for architecture, connectivity, and scaling details.

The skill sets directives for agents, such as preferring Private IP, directing users to the AlloyDB Auth Proxy or language connectors, avoiding 0.0.0.0/0 in Authorized Networks, and suggesting IAM database authentication over static passwords. It is meant for creating, configuring, and administering AlloyDB databases. It does not cover general PostgreSQL instances such as Cloud SQL or other GCP databases.

Written from the project's SKILL.md and checked against it.

What it can do

  • Cluster and instance managementCreates AlloyDB clusters and a primary instance using gcloud commands.
  • Backup managementCovers backups, including point-in-time recovery, with CLI and Console steps.
  • Scaling guidanceExplains vertical and horizontal scaling and read pool scaling options.
  • AlloyDB MCP toolsDescribes how to configure AlloyDB remote MCP tools for database operations.
  • Infrastructure as codeExplains deploying AlloyDB with Terraform or Kubernetes Config Connector.
  • IAM and security setupCovers IAM roles, database users, privileges, and Auth Proxy sidecar configuration.

What you need

  • Google Cloud SDK installed and authenticated
  • AlloyDB API enabled (alloydb.googleapis.com)

Try asking

  • Create an AlloyDB cluster and primary instance in us-central1
  • Show me how to back up an AlloyDB cluster with gcloud and the Console
  • Set up IAM database authentication for AlloyDB from Cloud Run

Good to know

  • Scoped to AlloyDB for PostgreSQL, not Cloud SQL or other GCP databases.
  • Read pool autoscaling is in Preview.
  • The quick start example uses a password, which the skill says to avoid in production.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/alloydb-basics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • references/attribution.md2 KB
  • references/cli-usage.md3 KB
  • references/core-concepts.md5 KB
  • references/iac-usage.md3 KB
Show all 7 files
  • references/iam-security.md4 KB
  • references/mcp-usage.md1 KB

Alternatives to alloydb-basics

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k
postgres-schema-designdavila7
94

Provides a PostgreSQL table design reference covering data types, indexing, constraints, partitioning and performance patterns. Built for developers who design or review PostgreSQL schemas.

AAA Skill 34k

Compare with hugging-face-datasets, db-repair or clickhouse-logs-queries

alloydb-basics: common questions

Can this skill manage Cloud SQL instances?

No. The skill says not to use it for general PostgreSQL instances such as Cloud SQL or other GCP databases.

How should AlloyDB be connected to securely?

The skill recommends Private IP, preferably Private Service Connect, and the AlloyDB Auth Proxy or language connectors instead of direct TCP connections.

Do backups survive deletion of the source cluster?

The source says discrete backups exist independently of the source cluster and remain active even if the source cluster is deleted.

How do I install alloydb-basics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is alloydb-basics free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is alloydb-basics safe to use?

It scores 94 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 alloydb-basics?

Similar skills: hugging-face-datasets, db-repair, clickhouse-logs-queries, fix-slow-queries.

alloydb-basics Install

Add to stack

Loading.