materialize-clickhouse-create

materialize-clickhouse-create is a skill for Claude Code from estuary/agent-skills. It costs 64 tokens per session (3,249 once invoked), scanned A, original, Apache-2.0.

An Estuary setup workflow that sends captured collections into ClickHouse, a database designed for fast analytical queries. It creates a ClickHouse materialization, meaning a configured copy of the incoming data in ClickHouse tables.

In plain words
What is it for?
Use it when sending Estuary collections to self-hosted ClickHouse or ClickHouse Cloud. It helps create the connection with flowctl and troubleshoot common configuration problems.
Why use it?
It removes the need to manually move and configure captured data for analysis. It also guides setup details such as permissions, security, table engines, updates, and deletions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the estuary-materializations plugin — 7 skills shipped together

Good fit Use it when sending Estuary collections to self-hosted ClickHouse or ClickHouse Cloud. It helps create the connection with flowctl and troubleshoot common configuration problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/estuary/agent-skills/materialize-clickhouse-create
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add estuary/agent-skills --skill materialize-clickhouse-create
Clone the repo
git clone --depth 1 https://github.com/estuary/agent-skills

Made for: Claude Code.

Or install estuary-materializations, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for materialize-clickhouse-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/estuary/agent-skills/materialize-clickhouse-create/github.svg)](https://agentmods.dev/skills/estuary/agent-skills/materialize-clickhouse-create)
Your own site
<a href="https://agentmods.dev/skills/estuary/agent-skills/materialize-clickhouse-create"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/materialize-clickhouse-create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for materialize-clickhouse-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/estuary/agent-skills/materialize-clickhouse-create"><img src="https://agentmods.dev/badge/skills/estuary/agent-skills/materialize-clickhouse-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.03249
Opus 5 $0.00032 $0.01625
Sonnet 5 $0.00013 $0.00650
Haiku 4.5 $0.00006 $0.00325

Measured 8d ago against content hash ebaf8560eff1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

materialize-clickhouse-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/materialize-clickhouse-create/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create ClickHouse Materialization

Create a ClickHouse materialization using flowctl to stream data from Estuary collections into ClickHouse tables.

Applies to: materialize-clickhouse (self-hosted and ClickHouse Cloud)

Step 0: Load Connector Documentation

Before proceeding, fetch the official connector docs for prerequisites, config reference, and setup instructions.

Load the docs page: https://docs.estuary.dev/reference/Connectors/materialization-connectors/ClickHouse/

Use WebFetch to load this page. It covers:

  • Prerequisites (user creation, database and system table permissions)
  • Full config property reference
  • SSL configuration (sslmode: disable, require, verify-full)
  • ReplacingMergeTree engine details and FINAL directive usage
  • Advanced options (delta updates, hard deletes)

Search Kapa for tribal knowledge (if the Estuary MCP is configured):

Search kapa ai knowledge sources for "materialize clickhouse common issues"

If Kapa MCP is not configured, the user can set it up: https://docs.estuary.dev/features/mcp-integration/

This skill provides the flowctl workflow and troubleshooting that docs don't cover.

Step 1: Gather Requirements

Before writing any YAML, ask the user:

  1. ClickHouse deployment? — Self-hosted or ClickHouse Cloud
  2. Address?host[:port]. Default port is 9440 with TLS enabled (default) or 9000 with TLS disabled. The connector uses the Native protocol — not the HTTP interface on port 8123.
  3. Target database? — Name of the ClickHouse database to materialize to
  4. Username and password? — Auth type is user_password (the only supported auth method)
  5. SSL mode? — Defaults to verify-full. Options: disable, require, verify-full
  6. Non-default data plane? — Most users use the default. Ask if they need a non-default data plane.
  7. Source collections? — Which Estuary collections to materialize
  8. Hard deletes? — Off by default (soft-delete via _meta/op column). Enable to insert tombstone rows (_is_deleted = 1) that ClickHouse uses to exclude rows from FINAL queries and eventually remove from storage.
  9. Delta updates? — Off by default. When enabled per-binding, the table uses the MergeTree engine instead of ReplacingMergeTree. Every store is appended as-is with no deduplication. Use for event logs or history tables.

Read the full file on GitHub · 304 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 304 lines · 64 tokens per session scan A ebaf8560eff1

Subscribe to this mod's changes

materialize-clickhouse-create is a skill published in the GitHub repository estuary/agent-skills (7 stars, last pushed 18d ago), licensed Apache-2.0. It adds 64 tokens to every session and 3,249 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cocoindex

This skill should be used when building data processing pipelines with CocoIndex, a Python library for incremental data transformation. Use when the task involves processing files/data into databases, creating vector embeddings, building knowledge graphs, ETL workflows, or any data pipeline requiring automatic change…

cocoindex-io/cocoindex · 88 tokens

change-data-capture-admin

Use when enabling, configuring, or monitoring Change Data Capture (CDC) entity selection, channel enrichment, and delivery usage limits from an admin perspective. NOT for CDC Apex trigger implementation (use change-data-capture-integration).

BanibrataChatterjee/AwesomeSalesforceSkills · 50 tokens

stream-processing-designer

Design a stream processing system for unbounded, continuously arriving data. Use when choosing a message broker (Kafka vs RabbitMQ), implementing change data capture (CDC) from PostgreSQL, MySQL, or MongoDB via Debezium or Maxwell, selecting window types for aggregation (tumbling, hopping, sliding, session), joining…

bookforge-ai/bookforge-skills · 240 tokens

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

graphjin-env

Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.

dosco/graphjin · 61 tokens