SKILL.md

April 15, 2026 ยท View on GitHub

Usage

All scripts can be executed using Node.js. Replace <param_name> and <param_value> with actual values.

Bash: node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'

PowerShell: node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'

Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence.

Scripts

create_database

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
instancestringThe ID of the instance where the database will be created.Yes
namestringThe name for the new database. Must be unique within the instance.Yes

create_instance

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
namestringThe name of the instanceYes
databaseVersionstringThe database version for SQL Server. If not specified, defaults to SQLSERVER_2022_STANDARD.NoSQLSERVER_2022_STANDARD
rootPasswordstringThe root password for the instanceYes
editionPresetstringThe edition of the instance. Can be Production or Development. This determines the default machine type and availability. Defaults to Development.NoDevelopment

create_user

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
instancestringThe ID of the instance where the user will be created.Yes
namestringThe name for the new user. Must be unique within the instance.Yes
passwordstringA secure password for the new user. Not required for IAM users.No
iamUserbooleanSet to true to create a Cloud IAM user.Yes

get_instance

Parameters

NameTypeDescriptionRequiredDefault
projectIdstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
instanceIdstringThe instance IDYes

list_databases

Lists all databases for a Cloud SQL instance.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
instancestringThe instance IDYes

list_instances

Lists all type of Cloud SQL instances for a project.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No

wait_for_operation

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
operationstringThe operation IDYes