CtrlK
BlogDocsLog inGet started
Tessl Logo

ktx

github.com/Kaelio/ktx

Skill

Added

Review

ktx

skills/ktx/SKILL.md

Installs and configures ktx, the open-source context layer for data agents — runs ktx setup non-interactively with hidden CLI flags, configures database connections and embeddings, installs agent integration, and verifies readiness. Use when the user asks an agent to add ktx to a project, connect data sources, install agent rules, ingest schema, or troubleshoot a local ktx install.

72

wiki_capture

packages/cli/src/skills/wiki_capture/SKILL.md

ktx's knowledge base - wiki pages for durable, reusable business knowledge. Covers capture workflow for user preferences, metric definitions, organizational conventions, and cross-references between wiki pages and semantic-layer sources. Loaded by the post-turn memory-agent only. The research agent reads wiki via `wiki_read`/`wiki_search` but does not write it.

sl_capture

packages/cli/src/skills/sl_capture/SKILL.md

How to capture new reusable patterns into ktx's semantic layer - when a measure, segment, or join belongs in the catalog and how to write it generically so it stays small and useful over time. Loaded by the post-turn memory-agent only. The research agent does not write to the SL.

sl

packages/cli/src/skills/sl/SKILL.md

ktx's semantic layer - a structured catalog of sources (tables/views), measures, joins, and segments expressed as YAML. Covers the schema and how to query it via `sl_query`. Use when the task involves querying pre-defined metrics (ARR, churn, retention, LTV, MAU) or reading SL source YAML to understand the catalog. Capture is handled by the `sl_capture` skill (memory-agent only).

70

sigma_ingest

packages/cli/src/skills/sigma_ingest/SKILL.md

Extract durable ktx wiki knowledge from staged Sigma data model specs and workbook summaries. Load for WorkUnits with unitKey sigma-data-models or sigma-workbooks.

notion_synthesize

packages/cli/src/skills/notion_synthesize/SKILL.md

Synthesize durable ktx wiki pages and semantic-layer sources from staged Notion pages, databases, data-source rows, and clustered Notion evidence. Load when a WorkUnit contains Notion raw files or Notion evidence chunks.

metabase_ingest

packages/cli/src/skills/metabase_ingest/SKILL.md

Convert Metabase questions, models, and metrics into ktx Semantic Layer source definitions. Covers result-metadata to KSL column type mapping, FK/PK detection, near-duplicate deduplication, pre-aggregation decomposition, join-graph connectivity, and how to react to priorProvenance from earlier ingest syncs. Load when the WorkUnit contains `cards/<id>.json` files under a Metabase bundle.

lookml_ingest

packages/cli/src/skills/lookml_ingest/SKILL.md

Map a LookML view/model/explore into ktx semantic layer sources. Covers the LookML to ktx primitive table, provenance tagging, and three worked examples (overlay, standalone from derived_table, standalone with sql_always_where). Load when the turn contains `.lkml` content.

looker_ingest

packages/cli/src/skills/looker_ingest/SKILL.md

Extract durable ktx knowledge and semantic-layer contribution proposals from staged Looker runtime dashboard, Look, and explore JSON. Load for WorkUnits whose raw files are under explores/, dashboards/, or looks/.

live_database_ingest

packages/cli/src/skills/live_database_ingest/SKILL.md

Capture semantic-layer and knowledge updates from a live database schema snapshot.

ingest_triage

packages/cli/src/skills/ingest_triage/SKILL.md

Classify and resolve conflicts detected during bundle ingest (structural duplicates, definitional contradictions, near-duplicate clusters, re-ingest changes, evictions).

historic_sql_table_digest

packages/cli/src/skills/historic_sql_table_digest/SKILL.md

Convert one changed historic-SQL table usage bucket into typed table usage evidence for deterministic _schema projection.

historic_sql_patterns

packages/cli/src/skills/historic_sql_patterns/SKILL.md

Identify recurring cross-table historic-SQL analytical intents from a bounded pattern shard and emit typed pattern evidence for deterministic wiki projection.

gdrive_synthesize

packages/cli/src/skills/gdrive_synthesize/SKILL.md

Synthesize durable KTX wiki pages from staged Google Drive document pulls. Load when a WorkUnit contains Google Doc raw files from `docs/**`.

dbt_ingest

packages/cli/src/skills/dbt_ingest/SKILL.md

Map dbt `schema.yml` / `properties.yml` models and sources into ktx semantic-layer overlays and column notes. Covers `sources:` vs `models:`, column `data_tests` (not_null, unique, accepted_values, relationships), and how bundle-time writes complement manifest backfill from git sync. Load when the WorkUnit's `skillNames` includes `dbt_ingest` or when raw files are dbt YAML under `models/` / `sources/`.

ktx-analytics

packages/cli/src/skills/analytics/SKILL.md

Use when answering a question that needs data from a ktx-connected database - investigating, analyzing, "how many", "show me", "what's the breakdown of", finding records by value, exploring tables, comparing periods, explaining metrics, or any data-analysis request. Triggers even when the user does not say "analytics"; if the answer requires querying a configured ktx connection, this skill applies.

68