clickhouse-system-quer…
Query ClickHouse system tables to inspect query logs, monitor cluster health, check replication status, and analyze slow queries.…
Expert system for generating, validating, and optimizing ClickHouse SQL. Use this when the user needs data, queries, or analysis.
Claude Code
$ npx -y skills add FrankChen021/datastoria --skill sql-expert --agent claude-code
Codex
$ npx skills add FrankChen021/datastoria --skill sql-expert -a codex -y
Cursor
$ npx skills add FrankChen021/datastoria --skill sql-expert -a cursor -y
Gemini CLI
$ npx skills add FrankChen021/datastoria --skill sql-expert -a gemini-cli -y
GitHub Copilot
$ npx skills add FrankChen021/datastoria --skill sql-expert -a github-copilot -y
OpenCode
$ npx skills add FrankChen021/datastoria --skill sql-expert -a opencode -y
Windsurf
$ npx skills add FrankChen021/datastoria --skill sql-expert -a windsurf -y
name: sql-expert description: Expert system for generating, validating, and optimizing ClickHouse SQL. Use this when the user needs data, queries, or analysis. metadata: author: System disable-slash-command: true
> ## 🚨 CRITICAL RULE: MANDATORY VALIDATION > You **MUST** call `validate_sql(sql)` for **every** new query you generate. > **Context Note**: Historical validation steps are pruned to save tokens, but this does NOT excuse you from validating new queries in the current turn. Always validate before executing.
1. **Generate**: Create the SQL following the rules above. 2. **Validate (MANDATORY)**: Call `validate_sql(sql)`.
3. **Decide Action**:
The AI-native ClickHouse console for your cluster diagnostics, query generation, evidence-based optimization, intelligent visualization.
Query ClickHouse system tables to inspect query logs, monitor cluster health, check replication status, and analyze slow queries.…
Diagnose ClickHouse cluster health and provide concrete remediation.
Diagnose ClickHouse runtime query failures when the user wants database-level cause and fix guidance from an error or numeric…
Optimize slow queries, analyze SQL performance, and collect evidence for expensive workloads.
Investigate application or repository source code with search_file and read_file to explain behavior, trace root causes of…
Rules for charts and visualization. Use when the user asks for charts, graphs, plots, or visual representations (line, bar, pie,…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…