bigtable-basics
This skill helps agents provision and manage Google Bigtable instances, clusters, and tables using gcloud and cbt CLIs.
Identity proven by GitHub's verified organisation badge (flutter, google)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- 0dd8034pinned Oct 9, 2026
- Context cost
- about 1,200 tokenswhen the skill loads
- GitHub stars
- 215on googlecloudplatform/data-agent-kit-plugin
- Scripts
- None found
What it does
“Assists in provisioning instances/tables, designing performant schemas, and querying data in Bigtable. Use when designing Bigtable row keys, configuring column families, writing SQL queries or client library code (Java, Go, Python) for Bigtable, or diagnosing performance/hotspotting issues. Also use when provisioning Bigtable clusters using gcloud or cbt CLIs. Don't use for generic Cloud SQL administration.”
Generated summary from the skill's own text
This skill helps agents provision and manage Google Bigtable instances, clusters, and tables using gcloud and cbt CLIs. It provides guidance on designing efficient row key schemas, writing SQL queries and client code in Java, Go, or Python, and diagnosing performance issues using Key Visualizer and other diagnostic tools. The skill covers both control plane operations like instance management and data plane operations like reading and writing data.
When to use it
- Designing Bigtable row keys and column family schemas for performance
- Provisioning Bigtable instances and clusters with gcloud or cbt
- Writing SQL queries or client library code for Bigtable data access
- Diagnosing performance issues and hotspotting with Key Visualizer
When not to
- Managing other Google Cloud databases like Cloud SQL
- Performing DDL operations through SQL API, which is read-only
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add googlecloudplatform/data-agent-kit-plugin --skill bigtable-basicsInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install googlecloudplatform/data-agent-kit-plugin bigtable-basics@0dd8034c50d6bce0290b99190cd44b06fcbec2c1Installs the commit we checked (0dd8034).
Copy by hand
Download the folder at 0dd8034 and put it in .claude/skills/bigtable-basics for Claude Code and in .agents/skills/bigtable-basics for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install chrome-devtools-mcp@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install alloydb-omni@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install bigquery-data-analytics@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "bigtable-basics" by Google. Source, pinned to commit 0dd8034c50d6bce0290b99190cd44b06fcbec2c1: https://github.com/googlecloudplatform/data-agent-kit-plugin/tree/0dd8034c50d6bce0290b99190cd44b06fcbec2c1/skills/bigtable-basics 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/bigtable-basics/ for Claude Code and .agents/skills/bigtable-basics/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/google/bigtable-basics
SKILL.md at the pin
---
name: bigtable-basics
description: >-
Assists in provisioning instances/tables, designing performant schemas, and querying data in Bigtable. Use when designing Bigtable row keys, configuring column families, writing SQL queries or client library code (Java, Go, Python) for Bigtable, or diagnosing performance/hotspotting issues. Also use when provisioning Bigtable clusters using gcloud or cbt CLIs. Don't use for generic Cloud SQL administration.
metadata:
version: v1
publisher: google
category: Databases
license: Apache-2.0
---
# Bigtable Basics
This skill provides core workflows and guidance for administering and developing
with Google Bigtable.
## Core Principles
- **Control Plane vs. Data Plane:**
- Use **`gcloud`** for Control Plane & DDL operations: Manage Instances,
Clusters, App Profiles, Backups, and IAM. Manage schemas: Create,
update, and delete Tables, Column Families, Logical Views,
Materialized Views, and Authorized Views.
- Use **`cbt`** for Data Plane operations: Reading, writing, and
inspecting data.
- **Performance First:** Bigtable is a NoSQL database. Efficiency is tied to
Row Key design. Always warn about Full Table Scans.
- **Client Selection:** For production use cases, prefer **Java** or **Go**
for their superior performance and feature coverage compared to other
languages.
- **Observability:** When diagnosing performance or hotspotting, **always**
mention **Key Visualizer** (via Cloud Console) as the primary diagnostic
tool because it provides the most granular view of access patterns across
row keys. This should be followed by the hot-tablets tool and table stats
in gcloud CLI and `include-stats=full` option under `cbt read` to diagnose
slow queries.
> [!IMPORTANT] **Safety Rule:** You MUST obtain explicit user confirmation before
> making non-emulator database changes. You MUST mention this safety requirement
> when providing commands or instructions that modify the database structure or
> data.
## Quick Recipes
### 1. Querying Data
Use SQL for complex transforms or aggregations and key-value APIs for simpler
query patterns. *Note: Use exact match, prefix (`_key LIKE 'myprefix%'`), or
range predicates on `_key` to avoid expensive unbounded scans. Recommend
explicit row ranges (`_key BETWEEN 'start' AND 'end'`) as a more performant
alternative to prefix matches where possible.*
If expensive scans (either unbounded or prefix or range queries scanning a large
range) are unavoidable due to multiple access patterns that can’t all be
accommodated in a single schema, consider one of these two options:
- If the query will be used in user facing and/or latency sensitive
applications, use continuous materialized views with keys optimized for the
additional access patterns.
- If secondary access patterns are infrequent, batch patterns like ETL, ML
model training or analytical read-only tasks, use Bigtable Data Boost
instead.
### 2. Manipulating Data
Use key-value APIs for insert, update, increment and delete operations. SQL API
is read-only.
### 3. Data Model Definition (DDL)
SQL API doesn't support DDL operations. Table creation, deletion, updates should
be made using gcloud CLI. Logical Views and Continuous Materialized Views are
defined as SQL queries but they must be created using gcloud CLI.
## Reference Guides
- **CLI Operations**:
- [infrastructure_management.md](references/infrastructure_management.md):
Provisioning instances, clusters, and table schemas.
- [cli_data_access.md](references/cli_data_access.md): Reading and writing
data via the `cbt` CLI.
- **Design & Discovery**:
- [schema_design.md](references/schema_design.md): Best practices for row
keys and performance with tables and continuous materialized views.
- [dataplex.md](references/dataplex.md): Data catalog search for Bigtable
assets.
- **Querying & Code**:
- [sql_guide.md](references/sql_guide.md): Querying structured row keys
via SQL and CLI.
- [client_libraries.md](references/client_libraries.md): Patterns for
high-performance Go/Java/Python code.
## Common Workflows
### Schema Evolution (DevOps)
1. **Prefer Terraform** for production schema changes to prevent accidental
data loss.
2. For manual `cbt` changes, first check the existing state by listing the table's column families and GC policies before proposing any modifications:
```bash
cbt ls {table}
```
If modifications are needed, create the family or update the GC policy:
```bash
cbt createfamily {table} {family}
cbt setgcpolicy {table} {family} "maxversions=5 AND maxage=30d"
```
3. Reference
[infrastructure_management.md](references/infrastructure_management.md) for
full syntax.
## External Resources
* [Cloud Bigtable Documentation](https://cloud.google.com/bigtable/docs)
* [Bigtable SQL Reference](https://cloud.google.com/bigtable/docs/reference/sql)
* [cbt CLI Reference](https://cloud.google.com/bigtable/docs/cbt-reference)
* [gcloud bigtable Reference](https://cloud.google.com/sdk/gcloud/reference/bigtable)
From googlecloudplatform/data-agent-kit-plugin at 0dd8034, shown as plain text under its license: Apache-2.0 (permissive). The license text is in skills/bigtable-basics/SKILL.md.
View SKILL.md on GitHub at 0dd8034Files
- SKILL.md5.2 KB · 0a67c6d4d16f
- assets/
- row_key_schema.yaml781 B · 89cde1a37789
- references/
- cli_data_access.md1.6 KB · 99824f9a6850
- client_libraries.md2.3 KB · 74243c6400a0
- dataplex.md911 B · a7fe80e70dac
- infrastructure_management.md3.5 KB · 035aa015d127
- schema_design.md8.0 KB · b46bedbe0bb9
- sql_guide.md7.5 KB · 621cb233486a
8 files, 30 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 0dd8034More from Google
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
chrome-devtools-cli
This skill enables agents to automate browser interactions and inspect web pages using Chrome DevTools via command-line interface.
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
cloud-run-basics
Deploys and manages Google Cloud Run services, jobs, and worker pools for running containerized applications or source code.
Claude Code, Codex, Cursor +4 · about 3.9K tokens · pinned 6 days ago
retail-virtual-tryon
Creates virtual try-on agents on Google Cloud using Gemini image models and Veo video generation, supporting static image try-ons and catwalk animations.
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.3K tokens · pinned 6 days ago
site-md
This skill analyzes project briefs and generates a .stitch/SITE.md constitution file that documents the project's identity, visual direction, architecture…
Claude Code, Codex, Cursor +4 · about 730 tokens · pinned 6 days ago
stitch::code-to-design
This skill converts existing frontend code (React, Vue, Angular, etc.) into a Stitch Design by extracting HTML, analyzing design systems, and uploading both…
Claude Code, Codex, Cursor +4 · about 760 tokens · pinned 6 days ago
Related in Data and databases
databricks-zerobus-ingest
This skill enables agents to build gRPC-based data ingestion clients that write records directly into Databricks Delta tables using the Zerobus Ingest SDK.
by DatabricksOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
gcp-dataflow
Guides writing, packaging, executing, and troubleshooting Apache Beam pipelines on Google Cloud Dataflow using Java, Python, or Go.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 5.1K tokens · pinned 6 days ago
alphagenome-single-variant-analysis
Analyzes how genetic variants affect gene expression, chromatin accessibility, and splicing using the AlphaGenome API.
by GoogleOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 2.8K tokens · pinned 6 days ago
alphagenome-variant-impact-score
Score genetic variants using AlphaGenome Variant Impact models to assess functional impact through 18 biological feature attributions.
by GoogleOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 4.1K tokens · pinned 6 days ago
chdb-datastore
This skill enables working with tabular data using a pandas-compatible API backed by ClickHouse for faster execution.
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
chdb-sql
The skill enables running ClickHouse SQL queries on local files (parquet, csv, json), remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud), and cloud…
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 960 tokens · pinned 6 days ago
Open roles at Google
No open roles at Google on the Agent Native jobs board right now.
Browse the jobs board