Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/clickhouse-hello-world

@0d57af8
Run it yourself

Create your first ClickHouse table, insert data, and run analytical queries. Use when starting a new ClickHouse project, learning MergeTree basics, or testing your ClickHouse connection with real operations. Trigger with "clickhouse hello world", "first clickhouse table", "clickhouse quick start", "create clickhouse table", "clickhouse example".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/clickhouse-hello-world

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencessystem-tables.md

≈397 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Exploring System Tables

Once your table has data, ClickHouse's system.* tables let you inspect disk usage, part counts, and merge behavior. This is the fastest way to confirm your PARTITION BY and ORDER BY choices are producing sane on-disk layout.

Check table size and row count

// Check table size and row count
const stats = await client.query({
  query: `
    SELECT
      table,
      formatReadableSize(sum(bytes_on_disk)) AS disk_size,
      sum(rows) AS row_count,
      count() AS part_count
    FROM system.parts
    WHERE active AND database = currentDatabase() AND table = 'events'
    GROUP BY table
  `,
  format: 'JSONEachRow',
});
console.log('Table stats:', await stats.json());

What the columns mean:

  • disk_size — compressed bytes on disk (ClickHouse compresses aggressively; a few rows may report a tiny size).
  • row_count — total active rows across all parts.
  • part_count — number of active parts. A freshly inserted table often has one part per insert batch; background merges collapse them over time. A high part count relative to rows means merges have not caught up yet.

Useful follow-up system tables

Table What it tells you
system.parts Per-part disk size, row count, partition, active flag
system.columns Per-column compressed/uncompressed size
system.merges In-progress background merges
system.mutations Status of ALTER ... UPDATE/DELETE operations
system.query_log History of executed queries + timing (if enabled)

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a standard technical tutorial for ClickHouse database operations. It follows security best practices for credential management and uses official libraries.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Edits files Runs commands
version
1.7.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "database",
  "analytics",
  "clickhouse",
  "olap"
]
All 5 allowed tools
ReadWriteEditBash(npm:*)Bash(node:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/clickhouse-hello-world