What problem does it solve?
Provisioning and operating Postgres for development and production involves many manual steps—installing servers, managing ports and passwords, configuring TLS, and handling replicas or restores. This Skill gives an AI agent the exact clickhousectl workflows to run local Docker-backed Postgres instances and managed ClickHouse Cloud Postgres services without guesswork.
Core Features & Use Cases
- Local Development Instances: Start named, Docker-backed Postgres instances with auto-assigned ports and generated passwords, run SQL via a psql wrapper, and wire connection variables into .env files.
- Managed Cloud Postgres: Authenticate with API keys, create ClickHouse Cloud Postgres services with chosen region, size, HA mode, and Postgres version, then connect securely with TLS CA bundles.
- Day-2 Operations: Handle password resets, runtime config patches, read replicas, failover and switchover, point-in-time restore, restarts, and deletions with appropriate safety confirmations.
- Use Case: A developer asks the agent to set up Postgres for a new app; the agent starts a local instance, applies schema.sql, writes POSTGRES_* vars to .env, and later migrates the same schema to a production ClickHouse Cloud service.
Quick Start
Ask the agent to set up a local Postgres database for development using clickhousectl and connect it to your application.