Psql Query

Use when running ad-hoc read-only SQL against Azure Database for PostgreSQL — exploring tables, sampling rows, checking key uniqueness/overlap across tables, inspecting pg_stat_* / pg_catalog, or producing JSON/CSV for a pipeline. Read-only by construction (server-enforced read-only transaction + client-side guard, always rolled back; no INSERT/UPDATE/DELETE/DDL/COPY/dblink). Returns TOON by default for token-efficient consumption by Claude; --format=json|table|csv for other consumers. This is the PostgreSQL counterpart to sql-query (which targets Azure SQL only).

darthmolen Updated

File contents

darthmolen/ai-plugins-and-skills/tree/main/skills/psql-query commit 4017953113

Frequently asked questions

npx skillmds@latest add darthmolen/psql-query