All skills
Data & Analytics

Postgres Query Skill

Executes safe, read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-depth security.

Platform
Claude Code
View source ↗

This skill executes safe, read-only SQL queries against PostgreSQL databases, with multi-connection support and defense-in-depth safeguards against destructive statements.

Why a skill for this

Letting a model run arbitrary SQL against a real database is risky without hard guardrails. Restricting the skill to read-only queries with explicit safeguards makes database exploration usable without risking accidental writes.

Good for

Ad hoc data exploration or debugging against a live Postgres database, without exposing write access.