Official agent skill

Google Cloud Database Onboarding

by google in google/skills

Interviews you about data model, workload and scale, then recommends one Google Cloud database from a decision matrix and drafts starter provisioning code for review.

OfficialApache-2.0Auto-check passedDatabases

Install Google Cloud Database Onboarding

skills CLI
$ npx skills add google/skills --skill cloud-databases-onboarding -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install google/skills cloud-databases-onboarding --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/google/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cloud/cloud-databases-onboarding .claude/skills/cloud-databases-onboarding && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cloud-databases-onboarding
GitHub stars
21k
Token cost
~1.7k tokens
SKILL.md length
674 words
Files
5 (incl. scripts, references)
Skills in repo
145
Repo updated
First seen
Licence
Apache-2.0

At a glance

Interviews you about data model, workload and scale, then recommends one Google Cloud database from a decision matrix and drafts starter provisioning code for review.

  • Works in 3 steps: Requirement Discovery & Information… → Recommendation Analysis & Matrix… → Implementation & Provisioning…
  • Choosing between Google Cloud database services for a new application
  • SKILL.md covers Validation & Progressive…, Workflow & Just-in-Time (JiT)… and Supporting Resources &…
  • Runs Python scripts from its folder; calls gcloud, python3 and terraform

What it does

This skill runs as a three-phase conversation. It begins by asking about your data model, workload, scale and any migration context, in everyday wording, and it holds back any recommendation until it is at least 90% sure it understands the need. Reference prompts are loaded only when a phase starts, so the agent reads each file just in time.

The recommendation comes from a matrix in references/recommendation_matrix.txt, or from a database selection tool when one is available. You get a single answer, with internal destination codes translated into plain English and the reasoning spelled out, plus an offer to help create the database with starter Infrastructure-as-Code for you to review. A script, scripts/database_onboarding_skill.py, can be run with --verify to check the reference files. It is not meant for maintaining existing databases, general Google Cloud upkeep or migrations.

When your agent uses it

  • Choosing between Google Cloud database services for a new application
  • Answering a vague 'what database should I use' question on Google Cloud
  • Creating a first database on Google Cloud with starter provisioning code

Example prompts

  • “Help me pick a Google Cloud database for a mobile game leaderboard with spiky traffic.”
  • “What database service should I use for storing customer profiles and their order history?”
  • “I want to create a new database on Google Cloud for a reporting dashboard. Walk me through the options.”

Requirements

  • Python 3 for the optional verification script

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Requirement Discovery & Information Gathering
  2. Recommendation Analysis & Matrix Consultation
  3. Implementation & Provisioning (Plan-Validate-Execute Pattern)

What it can do on your machine

Read from SKILL.md and the folder at commit 8a1ac05. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • gcloud
    • python3
    • terraform

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • cloud.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google Cloud Database Onboarding loads about 1.7k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 674 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from google/skills at commit 8a1ac05, republished under its Apache-2.0 licence (© google). 674 words, ~1,662 tokens.

Download SKILL.mdSave it as .claude/skills/cloud-databases-onboarding/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
cloud-databases-onboarding
description
Guides users through discovering their database requirements, recommends a Google Cloud database based on a recommendation matrix, and assists in database creation. Use when a user asks 'What database service should I use?', 'Help me pick a database', or when a user wants to create a new database on Google Cloud. Don't use for general Google Cloud maintenance, managing existing databases, or database migrations.
metadata.version
1.0.0
metadata.category
Databases

Google Cloud Database Onboarding Skill

This skill provides domain instructions, decision matrices, and Infrastructure-as-Code workflows to guide users through discovering their exact database requirements, selecting an optimal Google Cloud database service, and drafting starter resource provisioning code for user review.

Validation & Progressive Disclosure

A validation script is provided to verify the skill's reference files and formatting:

bash
python3 scripts/database_onboarding_skill.py --verify
  • Reading / Progressive Disclosure: When interacting with a user during a conversation, load reference files progressively. Follow the Just-in-Time (JiT) loading instructions outlined in the phases below.

Workflow & Just-in-Time (JiT) Instructions

This workflow operates in three distinct sequential phases. Evaluate the active conversation history to determine the current phase and follow the corresponding instructions:

Phase 1: Requirement Discovery & Information Gathering

When a user asks "What database should I use?" or requires guidance on Google Cloud database selection, you must initiate the Discovery phase.

  1. Load Discovery Instructions (JiT): Read the complete contents of references/onboarding_prompts.md using view_file.
  2. Execute Discovery: Follow the detailed Phase 1 instructions in onboarding_prompts.md to gather core requirements (data model, workload, scale, and migration context) using user-friendly phrasing and enforcing constraints (such as the 90% confidence rule) before proposing any recommendation.
Phase 2: Recommendation Analysis & Matrix Consultation

Once you have gathered sufficient explicit discovery context, you must determine the optimal Google Cloud database recommendation.

  1. Consult Matrix & Formulate Recommendation (JiT): Follow the Phase 2 instructions in references/onboarding_prompts.md. This involves distilling requirements, calling the database selection tool (or consulting references/recommendation_matrix.txt directly if the tool is unavailable), and formulating a single recommendation.
  2. Deliver Recommendation: Deliver the recommendation to the user, mapping destination codes to plain English, explaining the reasoning, and offering to help with provisioning as detailed in onboarding_prompts.md.
Phase 3: Implementation & Provisioning (Plan-Validate-Execute Pattern)

When the user accepts the recommendation and requests to provision or modify cloud resources, follow the Phase 3 instructions in references/onboarding_prompts.md using a strict Plan-Validate-Execute pattern. Limit your actions to creating and validating draft artifacts for user review.

  1. Analyze the Workspace: Scan the user's workspace/open files/related directories with database resources scripts.

  2. Obtain User Confirmation: If the target infrastructure files are not clear, ask the user explicitly to confirm the file paths or target directory before modifying anything.

  3. Draft Infrastructure Plan (Plan): Create or edit the necessary Terraform configuration files or any other relevant scripts necessary to provision the resources. When creating or editing Terraform files or any other database resource provisioning script, you MUST:

    • Add a stamped header comment at the top of every generated Terraform file/ shell script or any other resource provisioning script. (e.g., # Generated with cloud onboarding skills selector @date, replacing @date with the current date/timestamp).
    • Add a custom default tag like resource_generated_by = "cloud db onboarding skill" under the default_tags block or as a resource label/tag.
    • gcloud CLI Generation: When drafting gcloud CLI commands or shell scripts, you MUST follow the instructions in the gcloud skill (../gcloud/SKILL.md). Specifically:
      • Always use gcloud beta command group for database provisioning (e.g., gcloud beta <group> <resource> create).
      • Validate leaf-level syntax using gcloud help <leaf_command> prior to proposing commands.
      • Append explicit --project=<PROJECT_ID> and explicit location flags (--region, --zone, or --location).
      • Use --dry-run or --validate-only preview flags where supported.
      • Include custom label/tag flags (e.g. --labels=resource_generated_by=cloud_db_onboarding_skill) on generated gcloud provisioning commands.
      • Do NOT include --quiet (-q): Provisioning commands are drafted for interactive human user review and execution, so do NOT include non-interactive --quiet or -q flags.
      • No Live Write Execution: The skill MUST ONLY draft provisioning commands or code for user review and MUST NOT execute mutating/write infrastructure operations directly.
  4. Validate Infrastructure Code (Validate): Before finalizing, you must validate the drafted infrastructure code to verify syntax and configuration correctness. Why this matters: Validating Terraform code ensures that configuration blocks, IAM bindings, and instance sizing are syntax-error-free and strictly enforceable before code review.

  5. Create Pull Request (Execute): Once validation succeeds with zero errors, automatically create a Pull request containing the validated Terraform/shell/scripts updates for user review. Leave live infrastructure changes (terraform apply or gcloud commands) to human review or automated CI/CD pipelines.

Show full SKILL.md (10 more words)Show less

Supporting Resources & Documentation

© google, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/cloud/cloud-databases-onboarding of google/skills.

  • SKILL.md
  • references/onboarding_prompts.md
  • references/recommendation_matrix.txt
  • references/selection_prompts.md
  • scripts/database_onboarding_skill.py

Open the folder on GitHubat commit 8a1ac05

Compare with similar skills

Google Cloud Database Onboarding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Cloud Database Onboarding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Cloud Database Onboarding this skillgoogle/skills21k—~1.7kAutomated safety check: PassApache-2.0
Terraform Module Librarywshobson/agents40k10 repos~1.3kAutomated safety check: PassMIT
Cloud Architectdavila7/claude-code-templates32k7 repos~1.9kAutomated safety check: PassMIT
Terraform EngineerJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT
Oma Tf Infrafirst-fluke/oh-my-agent1.3k—~2.8kAutomated safety check: PassMIT
Heroku To AWSaws/agent-toolkit-for-aws2.8k—~7.2kAutomated safety check: PassApache-2.0

Similar skills

  • Build reusable, tested Terraform modules for AWS, Azure, GCP and OCI, with a standard file layout, an AWS VPC example, versioning rules and Terratest checks.

    40k GitHub starsUsed in 10 repos~1.3k tokens
    DevOps & CloudAuto-check passed
  • Cloud Architect

    davila7/claude-code-templates

    Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns.

    32k GitHub starsUsed in 7 repos~1.9k tokens
    DevOps & CloudAuto-check passed
  • Terraform Engineer

    Jeffallan/claude-skills

    Writes reusable Terraform modules and manages state, providers and environments across AWS, Azure and GCP, with validation, plan review and explicit apply approval.

    12k GitHub stars~1.4k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Oma Tf Infra

    first-fluke/oh-my-agent

    Infrastructure-as-code specialist for multi-cloud provisioning using Terraform across any provider (AWS, GCP, Azure, Oracle Cloud).

    1.3k GitHub stars~2.8k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Heroku To AWS

    aws/agent-toolkit-for-aws

    Official

    Migrate workloads from Heroku to AWS. An agent skill from aws/agent-toolkit-for-aws.

    2.8k GitHub stars~7.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Azure To AWS

    aws/agent-toolkit-for-aws

    Official

    Migrate workloads from Microsoft Azure to AWS. An agent skill from aws/agent-toolkit-for-aws.

    2.8k GitHub stars~4.5k tokensUpdated today
    DevOps & CloudAuto-check passed

More from google/skills

All 145 skills in this repo
  • Official

    Manages Google Cloud Privileged Access Manager entitlements and grants: create and edit entitlements, request temporary access, and approve or deny pending grants.

    21k GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Official

    Writes Terraform alerting policies for AI agents that emit OpenTelemetry metrics, covering reliability, cost, safety, security and quality signals on Google Cloud.

    21k GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Official

    Deploys open models or custom weights from Model Garden to Agent Platform endpoints, checks deployment status and cleans up endpoints, confirming before any change.

    21k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Official

    Searches, manages and scaffolds skills in the Gemini Enterprise Agent Platform Skill Registry using bundled Python scripts and Google Cloud credentials.

    21k GitHub stars~584 tokensUpdated today
    Auto-check passed
  • Designs GCP infrastructure as local Terraform, validates and scans it against best practices, then imports it to Application Design Center for deployment and troubleshooting.

    21k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Official

    Analyzes BigQuery slot use, query costs and execution bottlenecks from INFORMATION_SCHEMA to diagnose slow queries, slot contention and unpartitioned scans.

    21k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Works with

Questions about Google Cloud Database Onboarding

What does Google Cloud Database Onboarding do?

Interviews you about data model, workload and scale, then recommends one Google Cloud database from a decision matrix and drafts starter provisioning code for review. This skill runs as a three-phase conversation. It begins by asking about your data model, workload, scale and any migration context, in everyday wording, and it holds back any recommendation until it is at least 90% sure it understands the need.

When should I use Google Cloud Database Onboarding?

Google Cloud Database Onboarding fits situations like: choosing between Google Cloud database services for a new application; answering a vague 'what database should I use' question on Google Cloud; creating a first database on Google Cloud with starter provisioning code.

How do I install Google Cloud Database Onboarding in Claude Code?

Run `npx skills add google/skills --skill cloud-databases-onboarding -a claude-code`. Or copy the skill folder (skills/cloud/cloud-databases-onboarding in google/skills) into .claude/skills/cloud-databases-onboarding in your project. Claude Code loads it when a task matches its description.

How do I install Google Cloud Database Onboarding in Codex?

Run `npx skills add google/skills --skill cloud-databases-onboarding -a codex`. Or copy the skill folder (skills/cloud/cloud-databases-onboarding in google/skills) into .agents/skills/cloud-databases-onboarding in your project. Codex loads it when a task matches its description.

Can I use Google Cloud Database Onboarding in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add google/skills --skill cloud-databases-onboarding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloud-databases-onboarding, .gemini/skills/cloud-databases-onboarding, .github/skills/cloud-databases-onboarding and .opencode/skills/cloud-databases-onboarding in your project.

What does Google Cloud Database Onboarding need to run?

Going by SKILL.md and its folder, Google Cloud Database Onboarding needs Python for the scripts in its folder and the command-line tools its instructions call (gcloud, python3 and terraform). Our summary lists: Python 3 for the optional verification script.

Does Google Cloud Database Onboarding access the network?

SKILL.md names 1 domain. As links in the text: cloud.google.com. This is read from the text; nothing was executed.

Is Google Cloud Database Onboarding safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Google Cloud Database Onboarding use?

Google Cloud Database Onboarding is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google Cloud Database Onboarding use?

About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.

What are the alternatives to Google Cloud Database Onboarding?

Skills that share tags, products or a category with Google Cloud Database Onboarding: Terraform Module Library (wshobson/agents, 40k stars), Cloud Architect (davila7/claude-code-templates, 32k stars), Terraform Engineer (Jeffallan/claude-skills, 12k stars) and Oma Tf Infra (first-fluke/oh-my-agent, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Cloud Database Onboarding?

google (a GitHub organization, an official publisher) maintains it in google/skills, which has 20,994 GitHub stars. The repository holds 145 skills in this directory. The repository was last updated on October 6, 2026.

Source: google/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.