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.
npx skills add alivirgo/Major-AI-Skills --skill clickhousegit clone --depth 1 https://github.com/alivirgo/Major-AI-SkillsWrote 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.
[](https://agentmods.dev/skills/alivirgo/major-ai-skills/clickhouse)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/clickhouse"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/clickhouse/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.
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/clickhouse"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/clickhouse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01289 |
| Opus 5.5 | $0.00015 | $0.00516 |
| Sonnet 5.5 | $0.00007 | $0.00258 |
| Haiku 4.5 | $0.00004 | $0.00129 |
Grade A, and why
clickhouse 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ClickHouse OLAP AI Skill Guide
Overview & Engine Architecture
ClickHouse is a columnar OLAP DBMS: data lives in parts merged in the background; ORDER BY (primary key order) enables sparse indexing—not a traditional PK uniqueness guarantee. PARTITION BY prunes scans; tiny inserts create too many parts (merge storms). Replication uses ZooKeeper/ClickHouse Keeper; Kafka engine tables buffer ingest.
Batch inserts / Kafka engine / S3 insert
-> MergeTree parts on disk
-> background merges
-> SELECT with partition + primary-key pruning
-> optional projections / materialized views
When to use / when not to
Use when
- High-volume event/analytics, append-heavy facts, sub-second aggregations over billions of rows
- Denormalized wide tables and pre-aggregated rollups (MVs)
Do not use when
- Frequent row-level updates/deletes are core (
@postgresql) - You need multi-row transactional OLTP
- Someone wants single-row INSERT loops from app servers—redesign to batches
Operational Capabilities & Agent Directives
- Schema:
ORDER BYmatches filter + group keys; partition by time (month/week), never high-cardinality IDs alone. - Ingest backpressure: Insert batches (thousands–millions of rows); async_insert/buffer tables where appropriate; monitor
parts_to_mergeandToo many parts. - Indexes: Data skipping indexes and projections for alternate sort paths—measure with
EXPLAIN indexes = 1. - Mutations:
ALTER UPDATE/DELETEare heavy—prefer append-only +ReplacingMergeTree/CollapsingMergeTreepatterns; useFINALsparingly. - Auth/TLS: RBAC users with row policies in multi-tenant setups; TLS between clients and cluster.
- Backup/restore:
BACKUP/RESTORE(version-dependent) or freeze + object storage; restore to new tables/clusters first; verify parts on all replicas. - Exactly-once myth: Kafka engine + MV pipelines are at-least-once; dedupe with version columns or downstream idempotent sinks.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +46 lines · +14 tokens per session ce39e8d23f76
- 2mo ago Changed · -1 tokens per session 6121bc45f4ca
- 2mo ago First seen · 101 lines · 24 tokens per session scan A 226a4e6eb7bf
clickhouse is a skill published in the GitHub repository alivirgo/Major-AI-Skills (6 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 1,289 once invoked, about $0.0001 per session on Opus 5.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-09-05.
clickhouse compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clickhousealivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 37 | Claude Code |
| clickhouse-analyticsericrisco/rsc-harness | Skill | 701 | yesterday | MIT | A | 86 | Claude Code, Codex |
| analytical-databases-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 100 | Claude Code |
| accounting-software-selectionsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 37 | Claude Code |
| access-matrixsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 41 | Claude Code |
| admin-access-registersickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 49 | Claude Code |
| accounting-audit-system-buildersickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 41 | Claude Code |