Dispatcher skill for ClickHouse system-table operational queries. Use table-specific references for concrete SQL patterns.
61
53%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./resources/skills/clickhouse-system-queries/SKILL.mdUse this skill when the user asks for operational inspection on ClickHouse system.* tables.
Current table coverage:
system.query_log via references/system-query-log.mdRelationship to sql-expert:
sql-expert handles general SQL generation and user/business tables.explore_schema call MUST pass that identifier in the columns list instead of loading the full table schema.ProfileEvent_DistributedConnectionFailTry as candidate columns unless the schema shows the table stores them in a map instead.ProfileEvents is a Map, access entries as ProfileEvents['Name'].ProfileEvent_Name.Resolve target system table and intent.
system.query_log) or other system tables.Load the matching reference and follow it strictly.
system.query_log, you MUST call skill_resource to load references/system-query-log.md before writing, validating, or executing any SQL against system.query_log.sql-expert for safe fallback SQL generation.Execute with execute_sql.
system.query_log, use search_query_log only for standard ranked searches and filtered lookups that return raw executions or grouped patterns.search_query_log; generate SQL from references/system-query-log.md instead.execute_sql only when the request cannot be expressed by search_query_log, or when the task explicitly needs SQL output for visualization/chart rendering.LIMIT 50 unless the user specifies otherwise.Summarize with concise findings and next actions.
system.query_log SQL until references/system-query-log.md is loaded in the current turn.search_query_log for chart-oriented system.query_log requests.LIMIT in exploratory queries.68a8440
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.