All skills
google avatar

/spanner-basics

@becc4b8
by googlegoogle/skills21k stars
1,698

Assists in provisioning instances and databases, designing performant schemas, and querying data in Spanner. Use when designing primary keys, writing SQL queries or client library code, or diagnosing performance issues.

Use this Skill: https://skilld.dev/gh/google/skills/spanner-basics

This session only. Nothing lands on disk.

referencesmcp-usage.md

≈394 tokens on demand. Your agent reads this file only when SKILL.md points to it.

MCP Usage

Spanner supports Model Context Protocol (MCP) to connect your database to LLM agents.

Connecting to MCP Server

You can use pre-built tools provided by Spanner to connect your IDE or application to Spanner using MCP.

For detailed instructions, see the official documentation: Connect your IDE to Spanner using MCP

MCP Tools for Spanner

The Spanner MCP server exposes the following tools to LLM agents:

  • get_instance: Get information about a specific Spanner instance.
  • list_instances: List all Spanner instances in a given project.
  • list_configs: List instance configurations available in a project.
  • get_config: Get information about a specific instance configuration.
  • create_instance: Create a new Spanner instance.
  • update_instance: Update a Spanner instance.
  • create_database: Create a database in a given instance.
  • get_database_ddl: Retrieve the database schema (DDL).
  • list_databases: List all databases in a given instance.
  • create_session: Create a session in a database for query execution.
  • execute_sql: Execute a SQL statement (both DQL and DML supported).
  • execute_sql_readonly: Execute a SQL query statement in a single-use read-only transaction.
  • commit: Commit a transaction.
  • update_database_schema: Update the schema for a given database.
  • get_operation: Get the status of a long-running operation.

For more details, see the Spanner MCP reference.

Source: SKILL.md on GitHub

No alerts10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill is designed to assist with Google Cloud Spanner administration and development. It provides standard workflows for schema design, SQL querying, and resource management using official Google tools and libraries. It includes appropriate safety guardrails requiring user confirmation for destructive database operations.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "Databases"
}

README badge

README badge for google/skills/spanner-basics