awesome-rabbit
This repository aims to provide tools, scripts, and code snippets for current and potential Rabbit users. Whether you're just getting started or looking to enhance your experience, you'll find helpful resources here to support your journey with Rabbit.
Content
-
assessment/bigquery-reservation-waste:
- SQL scripts for analyzing BigQuery reservation slot waste, helping you identify underutilized reservations and optimize costs.
-
assessment/bq-pricing-model-optimization:
- SQL scripts for analyzing and optimizing BigQuery pricing models at both the project and organization level.
-
assessment-cli:
- A Python command-line tool that assesses a GCP/BigQuery environment and quantifies cost-saving opportunities with Rabbit. Given an organization, folder, or project scope it enumerates accessible projects, runs project-scoped
INFORMATION_SCHEMA queries across reservations, capacity commitments, job pricing-model and storage billing-model optimization, failed-job cost, and reservation waste, then writes per-category CSVs and a dual-currency Markdown savings report. Built for operators with project-level access only — anything it cannot read is skipped and reported, never fatal. Installs with plain pip (no poetry or uv).
-
gcs-insights-and-usage-logs:
- Rabbit is capable of providing deep folder or object level insights and storage class recommendations with automated class management based on the access patterns. In order to do this, we need to enable Storage Insights and Usage Logs on the target buckets. This Terraform module is designed to configure Google Cloud Storage Insights and Usage Logs for specified target buckets. It automates the setup of necessary resources, including report buckets, IAM roles, and report configurations.
-
bq-backup-and-restore:
- A command-line tool for creating and restoring backups of BigQuery datasets. Supports backing up all datasets in a project or specific datasets, with options for current state or point-in-time backups (last 7 days). Only backs up tables, excluding views, models, and other non-table objects.
-
bq-reverse-proxy:
- The Rabbit BQ Reverse Proxy deployment package. A transparent reverse proxy that sits between your clients (Looker, dbt Cloud, Airflow, etc.) and the BigQuery REST API. It intercepts job submissions (
jobs.insert, jobs.query), calls the Rabbit BQ Job Optimizer to automatically optimize job configuration (e.g. reservation routing), and streams everything else through unchanged with a fail-open design. Includes ready-to-use Terraform for Cloud Run deployment (pulling Rabbit's published container image) and a standalone performance test tool.
-
followrabbit-cli:
- Reference for the
followrabbit CLI — install (brew / npm / curl), authentication, every shipped command and flag, environment variables, exit codes, and troubleshooting. The sql and auth sections describe CLI 0.7.0; the rest was verified against 0.3.0. Includes the deep-dive on optimize sq-pricing, which sets the optimal pricing model (slot reservation or on-demand) on every BigQuery scheduled query in a project using the Rabbit BQ Job Optimizer — the scheduled-query counterpart of the reverse proxy above.
-
vpc-sc-helper:
- A read-only bash helper for customers whose VPC Service Controls perimeters block Rabbit's data loading. Given the violation id(s) from Rabbit's error reports, it finds the denial in your audit logs, names the exact perimeter, and prints the minimal ingress/egress rule plus dry-run-first
gcloud commands to apply it.
Get access
The followrabbit CLI and the coding agent plugins are for Rabbit customers.
- Rabbit customer: sign in with your work Google account (
gcloud auth application-default login), then run followrabbit auth status. Your organisation's Google Workspace domain has to be set up with Rabbit. If sign-in says it is not, write to [email protected].
- Not a customer yet: sign up at subscriptions.followrabbit.ai.
- CI and other unattended use: sign-in needs a person's Google login. If you need the CLI in CI or other unattended automation, write to [email protected].
The key for followrabbit optimize is a different one, a BigQuery Job Optimizer key created at app.followrabbit.ai/api-keys.
Quickstart: CLI
The followrabbit CLI is what both the plugins and any terminal workflow drive. Zero to first check:
# 1. Install (Homebrew shown; npm and curl installers in the CLI reference)
brew trust followrabbit-ai/tap # required on Homebrew 6.x+
brew install followrabbit-ai/tap/followrabbit