Clickhouse Schema Design

🌐Community
by obsessiondb · vlatest · Repository

Helps with schema design, design as part of working with databases and data persistence workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add clickhouse-schema-design npx -- -y @trustedskills/clickhouse-schema-design
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "clickhouse-schema-design": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/clickhouse-schema-design"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill assists in designing ClickHouse schemas. It can generate schema definitions based on provided data structures or descriptions, ensuring efficient storage and querying within a ClickHouse database. The skill aims to optimize for performance and resource utilization when defining tables and their associated columns.

When to use it

  • You need to create a new ClickHouse table but are unsure of the optimal column types and structure.
  • You're migrating data from another system and require assistance translating the schema into ClickHouse format.
  • You want to refactor an existing ClickHouse schema for improved query performance or reduced storage costs.
  • You’re building a new data pipeline that requires defining ClickHouse tables to store processed information.

Key capabilities

  • Schema generation from descriptions
  • Optimization for ClickHouse performance
  • Column type selection guidance
  • Table structure design

Example prompts

  • "Create a ClickHouse schema for storing website clickstream data, including timestamp, URL, and user agent."
  • "Design a table to store product catalog information with columns for ID, name, description, price, and category."
  • "Suggest an efficient ClickHouse schema for time series data with sensor readings every minute."

Tips & gotchas

The quality of the generated schema depends heavily on the clarity and completeness of your input descriptions. Be as specific as possible about the data you intend to store and any performance requirements.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
obsessiondb
Installs
13

🌐 Community

Passed automated security scans.