infra-postgres
Sets up and manages Postgres using the clickhousectl CLI — runs a local Docker-backed Postgres for development, and creates and operates managed ClickHouse…
Skill by ClickHouse IncOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clickhouse-infra-postgres
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, database-access, cloud-management
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/infra-postgres
What's inside
- Skill name
infra-postgres- Description
- Sets up and manages Postgres using the clickhousectl CLI — runs a local Docker-backed Postgres for development, and creates and operates managed ClickHouse Cloud Postgres services (connections, TLS, runtime config, read replicas, failover, point-in-time restore). Use when the user wants a Postgres or PostgreSQL database for their application, a local Postgres dev environment, psql access, or a managed/production Postgres in ClickHouse Cloud, or mentions moving a local Postgres to production. Also use when migrating an existing Postgres database (Neon, Supabase, RDS, Aurora, Cloud SQL, self-hosted) into ClickHouse Cloud Postgres.
- License
- Apache-2.0
- Metadata
- author: ClickHouse Inc · version: 0.2.0
- Instructions
- 45 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (6)
- README.md
- SKILL.md
- metadata.json
- cloud.md · ref/
- local.md · ref/
- migrate.md · ref/
SKILL.md (first lines)
# Postgres with clickhousectl `clickhousectl` manages Postgres in two environments: - **Local** — named, Docker-backed Postgres instances on the user's machine, for development. - **Cloud** — managed Postgres services in ClickHouse Cloud (beta), for production: HA, read replicas, point-in-time restore. This file routes to the right reference. The step-by-step workflows live in `ref/local.md`, `ref/cloud.md`, and `ref/migrate.md` — read the one that matches the user's situation before running commands. ## Which reference to use | The user wants to... | Read | |----------------------|------| | Develop or prototype locally, run tests/CI against Postgres, no cloud account needed | [ref/local.md](ref/local.md) | | Go to production, host a managed Postgres, or use ClickHouse Cloud explicitly | [ref/cloud.md](ref/cloud.md) | | Operate an existing cloud service (passwords, TLS, config, replicas, failover, restore) | [ref/cloud.md](ref/cloud.md) | | Migrate an existing Postgres (Neon, Supabase, RDS, ...) into ClickHouse Cloud Postgres | [ref/migrate.md](ref/migrate.md) | | Develop locally now, ship to production later | Start with [ref/local.md](ref/local.md); it points to [ref/cloud.md](ref/cloud.md) when it's time to go to prod | If it's genuinely ambiguous (e.g. "set up Postgres for my app"), default to local for development tasks and ask before creating anything in the cloud — cloud services cost money. ## Prerequisites (both workflows) Check that `clickhousectl` is installed: ```bash which clickhousectl ``` If not found, install it: ```bash curl -fsSL https://clickhouse.com/cli | sh ``` This installs to `~/.local/bin/clickhousectl` (with a `chctl` alias). If the command is still not found, suggest `export PATH="$HOME/.local/bin:$PATH"` or a new terminal. All commands accept `--json` for machine-readable output. Exit codes follow `gh` conventions: 0 success, 1 error, 2 cancelled, 4 auth required. ## Related - To replicate Postgres data into ClickHouse for analytics, see ClickPipes (`clickhousectl cloud clickpipe --help`). ClickPipes cannot target a Postgres service — for Postgres-to-Postgres migration use [ref/migrate.md](ref/migrate.md). - For ClickHouse itself (local development or ClickHouse Cloud services), use the `infra-clickhouse` skill.
From ClickHouse/agent-skills, Apache-2.0.
More from ClickHouse/agent-skills
- 0.806score
clickhouse-js-node-rowbinary
ClickHouseOfficial
Generate TypeScript/JavaScript code that reads/decodes AND writes/encodes ClickHouse RowBinary streams for the ClickHouse HTTP server.
SkillAFreshness: A★ 560Claude Code +9 - 0.763score
infra-clickhouse
ClickHouse IncOfficial
Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud…
SkillBFreshness: B★ 560Claude Code +9 - 0.712score
chdb-sql
chdb-ioOfficial
Use when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL…
SkillCFreshness: C★ 560Claude Code +9 - 0.712score
chdb-datastore
chdb-ioOfficial
Use when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas.
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-managed-postgres-rca
ClickHouse IncOfficial
MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance.
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-architecture-advisor
ClickHouse IncOfficial
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific…
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-js-node-coding
ClickHouseOfficial
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`).
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-best-practices
ClickHouse IncOfficial
MUST USE when reviewing ClickHouse schemas, queries, or configurations.
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-js-node-troubleshooting
ClickHouseOfficial
Troubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client).
SkillCFreshness: C★ 560Claude Code +9 - 0.696score
clickstack-otel-collector
ClickHouse IncOfficial
Use when a user wants to wire an OpenTelemetry collector into a Managed ClickStack service on ClickHouse Cloud, either by deploying a new local collector…
SkillCFreshness: C★ 560Claude Code +9 - 0.410score
AGENTS.md · ClickHouse/agent-skills
ClickHouse
AGENTS.md from ClickHouse/agent-skills: 212 lines covering Repository Overview, Repository Structure, Creating a New Skill, Contributing Guidelines and more.
TemplateDFreshness: D★ 560Codex +5
Compare and alternatives
Featured in
Signals
- Stars
- 560
- Forks
- 38
- Open issues
- 1
- Last commit (this folder)
- Sep 29, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.2.0
- License
- Apache-2.0
- Repository
- github.com/ClickHouse/agent-skills
- Website
- clickhouse.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ClickHouse Inc
- 0.763score
infra-clickhouse
ClickHouse IncOfficial
Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud…
SkillBFreshness: B★ 560Claude Code +9 - 0.706score
clickhouse-architecture-advisor
ClickHouse IncOfficial
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific…
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-best-practices
ClickHouse IncOfficial
MUST USE when reviewing ClickHouse schemas, queries, or configurations.
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-managed-postgres-rca
ClickHouse IncOfficial
MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance.
SkillCFreshness: C★ 560Claude Code +9 - 0.696score
clickstack-otel-collector
ClickHouse IncOfficial
Use when a user wants to wire an OpenTelemetry collector into a Managed ClickStack service on ClickHouse Cloud, either by deploying a new local collector…
SkillCFreshness: C★ 560Claude Code +9
Cite this page
infra-postgres skill. Agent Mart. https://agentmart.dev/skills/clickhouse-infra-postgres (last updated 2026-10-24)