Note
Preview: This skill is currently in Preview. While we encourage you to try it out and provide feedback, it is not yet considered generally available (GA) for production workloads. The included skills, scripts, and behaviors are subject to change without notice. Additionally, please be aware that this plugin may utilize Bigtable migration features and tools that are also currently in Preview.
This skill (bigtable-migration) enables AI agents (including Antigravity, Claude Code, Gemini CLI, Cursor, and other Agent Plugins-compatible clients) to streamline the database migration journey to Google Cloud Bigtable. Leveraging tools available on your local machine (gcloud, cbt, hbase, gsutil, and a read-only assessment script), the agent helps discover source cluster metadata, plan target schemas and capacity, orchestrate offline or online data migration, and validate post-migration data parity.
Currently, this skill supports Apache HBase to Bigtable migrations. Support for Apache Cassandra to Bigtable and Aerospike to Bigtable migrations is coming soon.
| Migration path | Status | Details |
|---|---|---|
| Apache HBase to Bigtable | Available (Preview) | Full 4-phase migration workflow (references/hbase/) and read-only cluster assessment script (scripts/hbase/hbase_extractor.py). |
| Apache Cassandra to Bigtable | Coming soon | Migration skill in active development. In the meantime, see the Cassandra-to-Bigtable migration tools in this repository. |
| Aerospike to Bigtable | Coming soon | Migration skill in active development. In the meantime, see the Aerospike-to-Bigtable migration tools in this repository. |
Before using the migration skill, confirm that you have the following tools installed and authenticated on your machine:
- Google Cloud SDK (
gcloud) andcbtCLI (gcloud components install cbt), authenticated to your Google Cloud environment:gcloud auth login gcloud auth application-default login
- Target Google Cloud APIs enabled on your destination project: Cloud Bigtable API (
bigtable.googleapis.com), Cloud Bigtable Admin API (bigtableadmin.googleapis.com), Cloud Dataflow API (dataflow.googleapis.com), and Cloud Storage API (storage.googleapis.com). - Optional (for automated HBase assessment): Python 3 and access to
hbase shell(plus thehadoopCLI if scanning physical HDFS table sizes) on a node or bastion host with connectivity to your source HBase cluster.
Because this skill is included under the root cloud-bigtable-ecosystem plugin manifests (plugin.json, .claude-plugin/, and gemini-extension.json), you can install it directly:
You can add the plugin using the Antigravity CLI:
agy plugin install https://github.com/GoogleCloudPlatform/cloud-bigtable-ecosystemAdd the Bigtable marketplace for Claude plugins:
claude plugin marketplace add GoogleCloudPlatform/cloud-bigtable-ecosystemInstall the Claude plugin:
claude plugin install bigtable@bigtable-marketplacegemini extensions install https://github.com/GoogleCloudPlatform/cloud-bigtable-ecosystemFor Apache HBase to Bigtable, the skill guides and orchestrates four phases with mandatory human-in-the-loop (HITL) confirmation before executing any infrastructure or data-movement command:
- Assessment (
references/hbase/assessment.md): Supports two discovery modes:- Automated assessment (script extraction): Run the read-only
scripts/hbase/hbase_extractor.pyscript locally against your HBase cluster to extract table schemas, column family garbage collection policies (TTL,VERSIONS), region split keys, HDFS table sizes, replication peers, and coprocessors intohbase_assessment_input.jsonwithout exposing cluster credentials to the agent. - Guided discovery: Walk through an interactive compatibility checklist when direct script execution is not feasible.
- Automated assessment (script extraction): Run the read-only
- Planning (
references/hbase/planning.md): Parseshbase_assessment_input.jsonviascripts/hbase/hbase_json_parser.pyto generate a formalmigration_plan.mdcovering coprocessor and custom filter remediation, garbage collection policy translation, target instance provisioning, and pre-split table creation commands (cbt createtable ... splits=...orgcloud bigtable instances tables create ... --splits=...). - Data migration (
references/hbase/data_migration.md): Step-by-step orchestration for both offline migration (ExportSnapshotHFiles withbigtable-beam-import, orExportSequenceFiles with theGCS_SequenceFile_to_Cloud_BigtableDataflow template) and online zero-downtime migration (bigtable-hbase-replicationlibrary + snapshot bootstrap). - Validation (
references/hbase/validation.md): Post-migration row count verification (RowCountervs.cbt countwith expired-cell garbage collection filter handling) and byte-level checksum verification (HashTable+ Cloud Dataflowsync-table).
# Run against all HBase tables
python3 skills/bigtable-migration/scripts/hbase/hbase_extractor.py
# Scope to specific tables or a regex pattern
python3 skills/bigtable-migration/scripts/hbase/hbase_extractor.py --include-tables "table1,table2"
python3 skills/bigtable-migration/scripts/hbase/hbase_extractor.py --table-regex "^prod_.*"skills/bigtable-migration/
├── SKILL.md # Skill entrypoint & router
├── README.md # Overview, installation & usage guide
├── LICENSE.txt # Apache 2.0 License
├── references/
│ └── hbase/ # Apache HBase migration runbooks
│ ├── hbase_migration.md # 4-phase HBase router & core insights
│ ├── assessment.md # Phase 1: Cluster discovery & compatibility checks
│ ├── planning.md # Phase 2: Target schema, GC mapping & migration plan
│ ├── data_migration.md # Phase 3: Offline (Snapshot/Dataflow) & Online (Replication)
│ └── validation.md # Phase 4: RowCounter, HashTable & SyncTable verification
└── scripts/
└── hbase/ # Apache HBase helper scripts & schemas
├── hbase_extractor.py # Read-only HBase shell/HDFS metadata extractor
├── hbase_json_parser.py # Assessment JSON parser helper
└── hbase_assessment_input_example.json # Example assessment JSON payload
- "Help me plan and execute a migration from Apache HBase to Cloud Bigtable."
- "I ran
hbase_extractor.pyand havehbase_assessment_input.json. Analyze it and generate amigration_plan.mdfor Bigtable." - "Walk me through setting up a zero-downtime online migration from HBase 2.x to Bigtable using the replication library and
ExportSnapshot." - "How do I validate data integrity between HBase and Bigtable using
HashTableandsync-tablewithout false-positive mismatches?"