agentsclimarketplace

Alloydb postgres admin

Skill gemini-cli-extensions/alloydb/skills/alloydb-postgres-admin

Use these skills when you need to provision new AlloyDB clusters and instances, monitor their creation status, and retrieve high-level configuration or health data for the environment.From its SKILL.md

Install
npx -y skills add gemini-cli-extensions/alloydb --skill alloydb-postgres-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

  • 22 stars22 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

5.8 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_cluster

Creates a new AlloyDB cluster. This is a long-running operation, but the API call returns quickly. This will return operation id to be used by get operations tool. Take all parameters from user in one go.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringThe location to create the cluster in. The default value is us-central1. If quota is exhausted then use other regions.Nous-central1
clusterstringA unique ID for the AlloyDB cluster.Yes
passwordstringA secure password for the initial user.Yes
networkstringThe name of the VPC network to connect the cluster to (e.g., 'default').Nodefault
userstringThe name for the initial superuser. Defaults to 'postgres' if not provided.No

create_instance

Creates a new AlloyDB instance (PRIMARY or READ_POOL) within a cluster. This is a long-running operation. This will return operation id to be used by get operations tool. Take all parameters from user in one go.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringThe location of the cluster (e.g., 'us-central1').Yes
clusterstringThe ID of the cluster to create the instance in.Yes
instancestringA unique ID for the new AlloyDB instance.Yes
instanceTypestringThe type of instance to create. Valid values are: PRIMARY and READ_POOL. Default is PRIMARYNoPRIMARY
displayNamestringAn optional, user-friendly name for the instance.No
nodeCountintegerThe number of nodes in the read pool. Required only if instanceType is READ_POOL. Default is 1.No1

database_overview

Fetches the current state of the PostgreSQL server, returning the version, whether it's a replica, uptime duration, maximum connection limit, number of current connections, number of active connections, and the percentage of connections in use.


get_cluster

Retrieves details about a specific AlloyDB cluster.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringThe location of the cluster (e.g., 'us-central1').Yes
clusterstringThe ID of the cluster.Yes

get_instance

Retrieves details about a specific AlloyDB 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
locationstringThe location of the instance (e.g., 'us-central1').Yes
clusterstringThe ID of the cluster.Yes
instancestringThe ID of the instance.Yes

list_clusters

Lists all AlloyDB clusters in a given project and location.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringOptional: The location to list clusters in (e.g., 'us-central1'). Use '-' to list clusters across all locations.(Default: '-')No-

list_instances

Lists all AlloyDB instances in a given project, location and cluster.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringOptional: The location of the cluster (e.g., 'us-central1'). Use '-' to get results for all regions.(Default: '-')No-
clusterstringOptional: The ID of the cluster to list instances from. Use '-' to get results for all clusters.(Default: '-')No-

wait_for_operation

This will poll on operations API until the operation is done. For checking operation status we need projectId, locationID and operationId. Once instance is created give follow up steps on how to use the variables to bring data plane MCP server up in local and remote setup.

Parameters

NameTypeDescriptionRequiredDefault
projectstringThe GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one.No
locationstringThe location IDYes
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.