tmolavi/mcp-agent-skills-hub/alloydb-postgres-data

Claude Code and agent skill by tmolavi/mcp-agent-skills-hub

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use these skills when you need to explore the database schema, identify

Install

npx vskill@latest install tmolavi/mcp-agent-skills-hub/alloydb-postgres-data

SKILL.md

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

execute_sql

Use this tool to execute a single SQL statement.

Parameters
NameTypeDescriptionRequiredDefault
sqlstringThe sql to execute.Yes

list_indexes

Lists available user indexes in the database, excluding system schemas (pg_catalog, information_schema). For each index, the following properties are returned: schema name, table name, index name, index type (access method), a boolean indicating if it's a unique index, a boolean indicating if it's for a primary key, the index definition, index size in bytes, the number of index scans, the number of index tuples read, the number of table tuples fetched via index scans, and a boolean indicating if the index has been used at least once.

Parameters
NameTypeDescriptionRequiredDefault
schema_namestringOptional: a text to filter results by schema name. The input is used within a LIKE clause.No``
table_namestringOptional: a text to filter results by table name. The input is used within a LIKE clause.No``
index_namestringOptional: a text to filter results by index name. The input is used within a LIKE clause.No``
only_unusedbooleanOptional: If true, only returns indexes that have never been used.Nofalse
limitintegerOptional: The maximum number of rows to return. Default is 50No50

list_schemas

Lists all schemas in the database ordered by schema name and excluding system and temporary schemas. It returns the schema name, schema owner, grants, number of functions, number of tables and number of views within each schema.

Parameters
NameTypeDescriptionRequiredDefault
schema_namestringOptional: A specific schema name pattern to search for.No``
ownerstringOptional: A specific schema owner name pattern to search for.No``
limitintegerOptional: The maximum number of schemas to return.No10

list_sequences

Lists sequences in the database. Returns sequence name, schema name, sequence owner, data type of the sequence, starting value, minimum value, maximum value of the sequence, the value by which the sequence is incremented, and the last value generated by the sequence in the current session

Parameters
NameTypeDescriptionRequiredDefault
schema_namestringOptional: A specific schema name pattern to search for.No``
sequence_namestringOptional: A specific sequence name pattern to search for.No``
limitintegerOptional: The maximum number of rows to return. Default is 50No50

list_stored_procedure

Retrieves stored procedure metadata returning schema name, procedure name, procedure owner, language, definition, and description, filtered by optional role name (procedure owner), schema name, and limit (default 20).

Parameters
NameTypeDescriptionRequiredDefault
role_namestringOptional: The owner name to filter the stored procedures by. Defaults to NULL.No
schema_namestringOptional: The schema name to filter the stored procedures by. Defaults to NULL.No
limitintegerOptional: The maximum number of stored procedures to return. Defaults to 20.No20

list_tables

Lists detailed schema information (object type, columns, constraints, indexes, triggers, owner, comment) as JSON for user-created tables (ordinary or partitioned). Filters by a comma-separated list of names. If names are omitted, lists all tables in user schemas.

Parameters
NameTypeDescriptionRequiredDefault
table_namesstringOptional: A comma-separated list of table names. If empty, details for all tables will be listed.No``
output_formatstringOptional: Use 'simple' for names only or 'detailed' for full info.Nodetailed

list_triggers

Lists all non-internal triggers in a database. Returns trigger name, schema name, table name, whether its enabled or disabled, timing (e.g BEFORE/AFTER of the event), the events that cause the trigger to fire such as INSERT, UPDATE, or DELETE, whether the trigger activates per ROW or per STATEMENT, the handler function executed by the trigger and full definition.

Parameters
NameTypeDescriptionRequiredDefault
trigger_namestringOptional: A specific trigger name pattern to search for.No``
schema_namestringOptional: A specific schema name pattern to search for.No``
table_namestringOptional: A specific table name pattern to search for.No``
limitintegerOptional: The maximum number of rows to return.No50

list_views

Lists views in the database from pg_views with a default limit of 50 rows. Returns schemaname, viewname, ownername and the definition.

Parameters
NameTypeDescriptionRequiredDefault
view_namestringOptional: A specific view name to search for.No``
schema_namestringOptional: A specific schema name to search for.No``
limitintegerOptional: The maximum number of rows to return.No50

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tmolavi/mcp-agent-skills-hub/alloydb-postgres-data/badge)](https://verified-skill.com/skills/tmolavi/mcp-agent-skills-hub/alloydb-postgres-data)

Something wrong with this skill or its page? Tell us.