From alloydb
Discovers available and installed PostgreSQL extensions, lists memory configurations and pg_settings, queries server state and connections, and retrieves AlloyDB cluster details for tuning.
How this skill is triggered — by the user, by Claude, or both
Slash command
/alloydb:alloydb-postgres-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
All scripts can be executed using Node.js. Replace `<param_name>` and `<param_value>` with actual values.
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.
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.
Retrieves details about a specific AlloyDB cluster.
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No | |
| location | string | The location of the cluster (e.g., 'us-central1'). | Yes | |
| cluster | string | The ID of the cluster. | Yes |
Discover all PostgreSQL extensions available for installation on this server, returning name, default_version, and description.
List all installed PostgreSQL extensions with their name, version, schema, owner, and description.
List PostgreSQL memory-related configurations (name and current setting) from pg_settings.
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| setting_name | string | Optional: A specific configuration parameter name pattern to search for. | No | `` |
| limit | integer | Optional: The maximum number of rows to return. | No | 50 |
npx claudepluginhub gemini-cli-extensions/alloydb --plugin alloydbDiscovers available/installed PostgreSQL extensions, memory configs, pg_settings, connections, uptime, and Cloud SQL instance details for tuning and management.
Monitors AlloyDB PostgreSQL replication health, lists instances, replication slots, publication tables, and fetches database stats for cluster high availability and data distribution.
Optimizes PostgreSQL queries, configures replication, uses extensions, and tunes VACUUM. Use for EXPLAIN analysis, JSONB operations, and performance monitoring.