pgcli is an interactive PostgreSQL CLI with context-aware autocompletion, syntax highlighting, and multi-line query editing. Part of the dbcli project with 13k+ GitHub stars, it makes database exploration and query writing dramatically more productive.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "pgcli Interactive PostgreSQL Client with Autocompletion"
slug: "pgcli-interactive-postgresql-client"
description: "pgcli is an interactive PostgreSQL CLI with context-aware autocompletion, syntax highlighting, and multi-line query editing. Part of the dbcli project with 13k+ GitHub stars, it makes database exploration and query writing dramatically more productive."
github_stars: 13092
verification: "security_reviewed"
source: "https://github.com/dbcli/pgcli"
category: "Developer Tools"
framework: "OpenClaw"
tool_ecosystem:
github_repo: "dbcli/pgcli"
github_stars: 13092
---
# pgcli Interactive PostgreSQL Client with Autocompletion
pgcli is an interactive PostgreSQL CLI with context-aware autocompletion, syntax highlighting, and multi-line query editing. Part of the dbcli project with 13k+ GitHub stars, it makes database exploration and query writing dramatically more productive.
## Installation
Use the upstream install or setup path that matches your environment:
- $ pip install -U pgcli
- $ brew install pgcli # Only on macOS
- $ brew install pgcli
- $ pip install pgcli
Requirements and caveats from upstream:
- If you already know how to install python packages, then you can simply do:
- If you don't know how to install python packages, please check the
- .. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit
Basic usage or getting-started notes:
- -----------
- ::
- or
- Source: https://github.com/dbcli/pgcli
- Extracted from upstream docs: https://raw.githubusercontent.com/dbcli/pgcli/HEAD/README.rst
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/pgcli-interactive-postgresql-client/)
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.