postgres-query
OfficialQuery PostgreSQL safely on demand.
Authorcivitai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ad-hoc PostgreSQL querying for testing, debugging, and performance analysis without risking unintended writes.
Core Features & Use Cases
- Read-only by default against a replica to prevent write operations
- EXPLAIN ANALYZE support for performance insight
- Flexible query input via direct SQL or --file queries with optional JSON output
- Optional --writable mode for approved write operations with explicit user permission
- Safe defaults and timeouts to guard long-running queries
Quick Start
Run a simple ad-hoc query against the read-only replica to verify connectivity and basic results.
Dependency Matrix
Required Modules
pg
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: postgres-query Download link: https://github.com/civitai/civitai/archive/main.zip#postgres-query Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.