What problem does it solve?
Analysts and agents often guess table names, misread column encodings, or write SQL that runs but returns silently wrong numbers. This Skill provides a disciplined workflow for answering data questions against ktx-connected databases, using governed metric definitions and validated SQL instead of guesswork.
Core Features & Use Cases
- Guided discovery workflow: Calls
discover_data first to locate wiki pages, semantic-layer sources, metrics, tables, and columns before writing any SQL.
- Semantic-layer-first querying: Prefers
sl_query over raw SQL so approved measures remain the source of truth, falling back to read-only sql_execution only when needed.
- SQL correctness rules: Enforces schema sampling, grain verification, fan-out join prevention, deterministic window ordering, full-precision math, and answer-completeness checks.
- Use Case: A user asks "what's the breakdown of revenue by region last quarter?" The Skill discovers the relevant metric, resolves filter values with
dictionary_search, queries the semantic layer, validates the result, and captures durable learnings via memory_ingest.
Quick Start
Ask a data question such as "show me monthly active users by plan tier for the last six months" against your configured ktx connection.