Auth0's official agent skill: a router that detects your framework and intent, then loads the right Auth0 guidance for login, MFA, Organizations, tenant audits, debugging or provider migration.
ClickHouse Best Practices
Summary
ClickHouse's official agent skill: 31 rules for primary keys, data types, JOINs, batching and partitioning that an agent must check and cite before advising on a schema or query.
Features
- 31 impact-prioritised rules the agent must check before answering
- Requires the agent to cite the rule it applied
- Critical rules for primary keys, data types, JOINs, batching and mutations
- Partitioning, skipping indices, materialized views and async inserts
- Applies to open-source ClickHouse and ClickHouse Cloud
- Ships with an architecture advisor and chDB skills in the same repo
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Review this events table DDL and the slow aggregation query against it, citing the ClickHouse rules that apply.
Description
ClickHouse punishes schema mistakes at a scale other databases do not. A poorly ordered primary key or a Nullable(String) where a LowCardinality(String) belonged does not cost you a few milliseconds — it costs you an order of magnitude once the table is large, and it is expensive to undo. This official skill from ClickHouse Inc encodes the fixes as a rule set the agent is required to consult.
The structure is what makes it work. Rather than prose the model can skim, the skill is 31 numbered rules in a rules/ directory, prioritised by impact, and the instructions tell the agent to check applicable rules first, apply them, and cite them by name in its answer ("Per primary-key-ordering…"). If no rule covers the question, it is told to say so and fall back to general knowledge or documentation. That makes recommendations auditable rather than plausible.
Rules are grouped by where the damage happens:
- Critical — primary key selection (4 rules), data type selection (5), JOIN optimisation (5), insert batching (1) and mutation avoidance (2). These are the ones that decide whether a table performs at all.
- High — partitioning strategy (4), skipping indices (1), materialized views (2), async inserts (2) and avoiding
OPTIMIZE(1). - Medium — JSON column usage.
Later versions add rules for agent connectivity, covering how an agent should query a ClickHouse instance in the first place.
The guidance applies equally to open-source ClickHouse and to ClickHouse Cloud. It is one of several official skills in the same repository, alongside an architecture advisor for real-time deployment decisions, clickhousectl skills for cloud deploy and local development, and chDB skills for in-process analytics in Python.
Install: npx skills add clickhouse/agent-skills, or clickhousectl skills if you already have the ClickHouse CLI. Apache-2.0, version 0.4.0, and it follows the open Agent Skills specification at agentskills.io.
Related Skills
Redis' own guidance for FT.CREATE schema design, FT.SEARCH / FT.AGGREGATE / FT.HYBRID, HNSW vector similarity and RAG retrieval pipelines.
Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.
GreenSock's official ScrollTrigger skill — scroll-linked animation, pinning, scrub and trigger positioning, with the exact start/end syntax agents get wrong.