What it does
This is a read-only PostgreSQL querying skill. You keep a local connections file describing each database, host and password; then ask something like 'show me the last ten rows of the orders table' and the script picks the right database from those descriptions and runs the query. Everything happens inside a read-only session with a statement allowlist, single-statement enforcement, a thirty second timeout and a row cap, so inserts, updates and drops are refused before they can run.
Works with
Needs Python 3 plus psycopg2, and database credentials configured in a local connections file.
Source and safety
Listing-time security review 2026-11-05: the script connects to the PostgreSQL hosts you configure and runs read-only queries under a session read-only flag plus a statement allowlist, and results are echoed into the session, flagged as justified. (This review was conducted when the skill was listed, not as ongoing monitoring. Sources are beyond our control — evaluate skills before using them.)
广告

