Manage Cloud SQL for MySQL instances on GCP: provision databases and users, execute SQL queries, create backups and restores, clone environments, and troubleshoot performance using query execution plans and system metrics.
Use these skills when you need to provision new Cloud SQL for MySQL instances, create databases and users, clone existing environments, and monitor the progress of infrastructure operations.
Use these skills when you need to explore your database schema, execute SQL queries to interact with your data, and inspect how MySQL plans to execute your statements.
Use these skills when you need to manage the durability and safety of your data by creating backups, restoring from previous states, or cloning instances for recovery and testing.
Use these skills when you need to troubleshoot slow queries, analyze system-level PromQL metrics, and identify structural performance issues like table fragmentation or missing unique indexes.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
cloud_sql_mysql_user(Optional) Username of the database user (Default: IAM user)
${user_config.cloud_sql_mysql_user}cloud_sql_mysql_regionRegion of the Cloud SQL instance
${user_config.cloud_sql_mysql_region}cloud_sql_mysql_ip_type(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)
${user_config.cloud_sql_mysql_ip_type}cloud_sql_mysql_projectID of the Google Cloud project
${user_config.cloud_sql_mysql_project}cloud_sql_mysql_databaseName of the database
${user_config.cloud_sql_mysql_database}cloud_sql_mysql_instanceName of the Cloud SQL instance
${user_config.cloud_sql_mysql_instance}cloud_sql_mysql_password(Optional) Password of the database user (Default: IAM user)
${user_config.cloud_sql_mysql_password}[!NOTE] Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
This repository provides a set of agent skills to interact with Cloud SQL for MySQL instances. These skills can be used with various AI agents, including Antigravity, Claude Code and Codex, to manage your databases, execute queries, explore schemas, and troubleshoot issues using natural language prompts.
[!IMPORTANT] We Want Your Feedback! Please share your thoughts with us by filling out our feedback form. Your input is invaluable and helps us improve the project for everyone.
Before you begin, ensure you have the following:
roles/cloudsql.client)roles/cloudsql.viewer)roles/cloudsql.admin)[!NOTE] If you do not configure a specific
CLOUD_SQL_MYSQL_USERorCLOUD_SQL_MYSQL_PASSWORD, these skills default to using the active local IAM user credentials. You must also add the IAM user to your Cloud SQL instance, see Creating a database user.
Please keep these env vars handy during the installation process:
CLOUD_SQL_MYSQL_PROJECT: The GCP project ID.CLOUD_SQL_MYSQL_REGION: The region of your Cloud SQL instance.CLOUD_SQL_MYSQL_INSTANCE: The ID of your Cloud SQL instance.CLOUD_SQL_MYSQL_DATABASE: The name of the database to connect to.CLOUD_SQL_MYSQL_USER: (Optional) The database username. Defaults to the active IAM user.CLOUD_SQL_MYSQL_PASSWORD: (Optional) The password for the database user.CLOUD_SQL_MYSQL_IP_TYPE: (Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC. Defaults to PUBLIC.[!NOTE]
- Ensure Application Default Credentials are available in your environment.
- If your Cloud SQL for MySQL instance uses private IPs, you must run your agent in the same Virtual Private Cloud (VPC) network.
To start interacting with your database, install the skills for your preferred AI agent, then launch the agent and use natural language to ask questions or perform tasks.
For the latest version, check the releases page.
You can use either of these two agents for Antigravity:
npx claudepluginhub gemini-cli-extensions/cloud-sql-mysql --plugin cloud-sql-mysqlThis plugin provides a specialized suite of skills for data engineers and database practitioners working on Google Cloud. It acts as an expert assistant, allowing you to use natural language prompts in your preferred coding agent to architect complex data pipelines, transform data with dbt, write Spark and BigQuery SQL notebooks, and orchestrate end-to-end workflows across GCP's data ecosystem.
🐉 Specialised SRE skills for outage investigations, monitoring graphs, and post-mortems on Google Cloud Platform.
Connect to Looker and interact with your data using LookML.
Connect, query, and generate data insights for BigQuery datasets and data.
The CI/CD extension provides Gemini powered AI assisted CI/CD. It supports deployment to Cloud Run and Cloud Storage as well as creation of a robust CI/CD pipeline.
Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
Comprehensive operations manager for FairDB managed PostgreSQL service - SOPs, incident response, monitoring, and automation
Connect and interact with Spanner data using natural language.
This plugin provides a specialized suite of skills for data engineers and database practitioners working on Google Cloud. It acts as an expert assistant, allowing you to use natural language prompts in your preferred coding agent to architect complex data pipelines, transform data with dbt, write Spark and BigQuery SQL notebooks, and orchestrate end-to-end workflows across GCP's data ecosystem.
Cloudflare D1 serverless SQLite on edge. Use for databases, migrations, bindings, or encountering D1_ERROR, statement too long, too many requests queued errors.