By cskwork
PostgreSQL for LLM agents: inspect schemas, run safe SQL, translate natural language to queries. Use when connecting to a database.
npx claudepluginhub cskwork/postgres-intelligencePostgreSQL for LLM agents: inspect schemas, run safe SQL, translate natural language to queries. Use when connecting to a database.

PostgreSQL intelligence skill for LLM coding agents.
Use it with Claude Code, Codex, Cursor, Windsurf, or any local agent that needs to safely connect to PostgreSQL, inspect schemas, run read-first SQL, and reason about query performance without exposing credentials.
LLM agents are useful for database exploration, but they should not read or print secrets. postgres-intelligence keeps the contract clear:
.envDB1_...DB10_...information_schema and pg_catalogSELECT, WITH, SHOW, EXPLAIN--allow-write and --allow-ddlEXPLAIN, indexes, JSONB, and maintenancegit clone https://github.com/cskwork/postgres-intelligence.git
cd postgres-intelligence
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
cp .env.example .env
Edit .env with your PostgreSQL connection details.
# Validate config without printing secrets
python scripts/config.py
# Test all configured connections
python scripts/db_connector.py
# Extract schema metadata
python scripts/schema_extractor.py
# Run read-only SQL
python scripts/query_executor.py --json-only "SELECT current_database(), current_schema();"
Do not open or print .env directly. Let scripts load credentials.
SKILL.md
.env.example
requirements.txt
scripts/
config.py
db_connector.py
query_executor.py
schema_extractor.py
setup.py
references/
postgres_best_practices.md
MIT
7-day visitors to each marketplace page
UI/UX design intelligence skill with 80 styles, 194 palettes, 74 font pairings, 25 charts, and 22 stack guidelines
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.