agentsclimarketplace

Cloud sql postgres view config

Skill gemini-cli-extensions/cloud-sql-postgresql/skills/cloud-sql-postgres-view-config

Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters.From its SKILL.md

Install
npx -y skills add gemini-cli-extensions/cloud-sql-postgresql --skill cloud-sql-postgres-view-config

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

SKILL.md

2.1 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

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_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_available_extensions

Discover all PostgreSQL extensions available for installation on this server, returning name, default_version, and description.


list_installed_extensions

List all installed PostgreSQL extensions with their name, version, schema, owner, and description.


list_memory_configurations

List PostgreSQL memory-related configurations (name and current setting) from pg_settings.


list_pg_settings

Parameters

NameTypeDescriptionRequiredDefault
setting_namestringOptional: A specific configuration parameter name pattern to search for.No``
limitintegerOptional: The maximum number of rows to return.No50

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.