agentsclimarketplace

Cloud sql sqlserver admin

Skill gemini-cli-extensions/cloud-sql-sqlserver/skills/cloud-sql-sqlserver-admin

Use these skills when you need to provision new Cloud SQL for SQL Server instances, create databases and users, clone existing environments, and monitor the progress of long-running operations.From its SKILL.md

Install
npx -y skills add gemini-cli-extensions/cloud-sql-sqlserver --skill cloud-sql-sqlserver-admin

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.9 KB, as published. Nobody here has run it

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

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.