SkillsReviewed · Kaelio

ktx LookML ingestion skill

lookml_ingest is a ktx assistant skill for analytics engineers translating LookML into reusable data definitions, but it requires ktx-specific tools and warehouse access. It describes overlays, standalone SQL sources, physical-column verification and safeguards for connection mismatches and mandatory filters.

Researched 16 Nov 2026

In short.

lookml_ingest is an assistant skill for ktx users importing LookML business definitions, but it depends on a configured ktx environment and warehouse access. It explains how to represent measures, columns, joins and filters, with particular attention to physical column names and enforced SQL conditions. The supplied file provides detailed instructions and examples; runtime enforcement, conversion correctness and compatibility are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is packages/cli/src/skills/lookml_ingest in Kaelio/ktx. Its supplied complete folder contents consist of SKILL.md, accompanied by the repository-level LICENSE outside that folder, at commit 49a4ae6f5b28c904da921afc0ee72da6db7ac202. Coverage includes the instructions, mappings, safeguards and examples in that file. The wider ktx codebase, tool implementations, runner enforcement and external dependencies are outside scope. Installation, execution, warehouse query outcomes and migration equivalence are unassessed.

The overview

Identity

lookml_ingest is the skill in packages/cli/src/skills/lookml_ingest within Kaelio/ktx. Its declared caller is memory_agent, and its description identifies .lkml content as the loading trigger. The original folder is available at [https://github.com/Kaelio/ktx/tree/main/packages/cli/src/skills/lookml_ingest].

It guides an assistant in translating LookML into ktx semantic-layer sources: shared definitions of columns, calculations, measures and table relationships. The selected folder contains an instruction file with examples; implementations of the tools it calls are outside this scope.

Assessment

The skill offers a concrete starting point for teams already using ktx and migrating LookML definitions. Its useful detail lies in choosing the appropriate source structure, checking warehouse identifiers and preserving filters that must apply to every query.

Adoption still requires review of the resulting data model. The file does not establish that the surrounding runtime implements every stated safeguard, or that generated measures and joins produce equivalent business results.

Users

The best fit is an analytics engineer, data engineer or developer who understands the source LookML and can inspect the destination warehouse. Beginners will need familiarity with SQL, YAML, measures, joins and grain, meaning the level of detail represented by each row.

It is less immediately useful for someone without ktx access or someone seeking a general introduction to LookML. The instructions assume access to existing semantic sources, warehouse metadata and a configured ingestion context.

Capabilities

The skill covers manifest-backed overlays, standalone sources built from derived-table SQL, measures, computed columns, column overrides, joins and named segments. It maps basic LookML types to ktx time, boolean, number and string types, and excludes drill_fields as presentation-only information.

It also specifies exact rawPaths provenance on semantic-source writes, discovery before creating documentation, identifier verification and provenance markers when wiki content mixes LookML material with discovered schema information. These are documented behaviors, not demonstrated execution results.

Using it

Requirements

The intended host needs the memory_agent integration and tools including discover_data, entity_details, sl_discover, sql_execution, sl_write_source, sl_edit_source and sl_validate. The workflow also relies on WorkUnit notes, imported schema manifests and access to the relevant warehouse connection.

The documented connection check compares the LookML model's declared connection with expectedLookerConnectionName on the configured warehouse connection. Minimum ktx versions, supported models, authentication setup and a warehouse compatibility matrix are not specified.

Mechanism

A thin view over a manifest table becomes an overlay that inherits base columns and grain. Derived-table SQL and the documented sql_always_where case become standalone sources with SQL, explicit columns and declared grain. Explore joins become relationship entries in the join graph.

The skill treats conditionally_filter and always_filter as named segments that callers reference, while embedding sql_always_where predicates directly in source SQL. It maps a time dimension_group to its physical warehouse column rather than creating columns for Looker-rendered timeframe names such as date_week.

Setup

No standalone installation command is supplied. The documented integration assumes the skill is available to memory_agent inside ktx, with the LookML adapter configured on the run's warehouse connection. Writes target that connection directly.

Before writing, the described sequence checks WorkUnit notes for a connection-mismatch block, discovers existing sources, verifies tables and columns, and probes unresolved identifiers where necessary. After each sl_write_source call, it requires sl_validate. A mismatch allows wiki extraction and context candidates to continue while blocking semantic-source writes.

Example

One worked example maps rpt_daily_braze_email over analytics.fct_email_sends into a standalone source. Its SQL includes channel = 'braze' and status = 'delivered', its declared grain is send_id, and its delivered_count measure counts send_id.

The example illustrates why an enforced filter belongs in source SQL: queries using that source retain the restriction without requiring callers to select a segment. The table and columns are illustrative; their existence, send_id uniqueness and non-nullness are not established for a reader's warehouse.

Assessment & evidence

Limitations

sl_validate is described as issuing a zero-row query against the source SQL. That can expose invalid column references, but it cannot by itself establish correct measures, unique grain, join cardinality or equivalent filtering behavior.

The mapping of always_filter and conditionally_filter to caller-selected segments needs particular review: automatic application of those segments is not established. Coverage of LookML constructs beyond the documented mappings is unknown. The runtime's claimed removal of write tools during connection mismatches is also unassessed.

Reasoning

The overlay-versus-standalone distinction serves a practical purpose. Overlays avoid duplicating imported table definitions, while standalone SQL can represent derived data and conditions that must remain enforced.

Physical-column verification addresses a specific failure described in the source: a prior replay used rendered timeframe names such as date_date as warehouse columns and received unrecognized-name errors. This is a source-reported incident without accompanying logs. The preventive guidance is concrete, but its effectiveness has not been measured.

Alternatives

For a small set of views, manually authoring and reviewing equivalent ktx YAML is a plausible alternative suggested by the worked examples. Comparative effort and correctness are unknown.

The file mentions Looker runtime ingestion to distinguish its connection routing from this LookML adapter. It does not provide enough information to compare the two approaches or identify a competing converter with equivalent coverage.

Evidence

The technical basis is the captured SKILL.md at [https://raw.githubusercontent.com/Kaelio/ktx/49a4ae6f5b28c904da921afc0ee72da6db7ac202/packages/cli/src/skills/lookml_ingest/SKILL.md]. It contains the mapping rules, connection gate, identifier-verification procedure, provenance conventions and three worked examples.

The accompanying repository LICENSE supplies the redistribution terms. The supplied material contains no execution receipts, successful migration results, compatibility tests or performance benchmarks.

Access & freshness

Costs

The accompanying Apache-2.0 license grants royalty-free rights subject to its terms. It does not establish the total cost of using this skill.

No ktx pricing, model-provider pricing, warehouse query estimate or usage quota is supplied. The workflow calls for metadata inspection, SQL probes and validation queries, so operating costs depend on the surrounding services and their billing. Amounts are unknown.

Rights

The supplied repository-level LICENSE is Apache License 2.0. It permits use, modification and redistribution subject to its conditions. Redistributors must provide the license, mark modified files, retain relevant notices and reproduce applicable NOTICE attributions if such a file accompanies the work.

The license includes a conditional contributor patent grant, provides no general trademark permission and disclaims warranties. The captured notice is available at [https://raw.githubusercontent.com/Kaelio/ktx/49a4ae6f5b28c904da921afc0ee72da6db7ac202/LICENSE].

Freshness

The supplied snapshot is pinned to commit 49a4ae6f5b28c904da921afc0ee72da6db7ac202 and was captured on 2026-11-16 at 11:00:01.152 UTC. The original folder URL follows main, which may contain different content.

The files do not establish a release version, minimum compatible ktx version or author update date. Compatibility with another revision and changes after this snapshot are unknown.

Actions

Before adopting it, confirm that the target ktx environment exposes the named tools and that its warehouse connection matches the LookML model. Begin with a representative view whose physical columns, row grain and expected measures are understood.

Review generated SQL, joins and filter behavior, especially named segments and enforced conditions. Use the documented validation after writes, then compare actual query results and aggregates separately; a successful zero-row validation does not establish semantic correctness. Preserve the raw LookML paths supporting each change.

Evidence for this report

LICENSEnotice · checked 2026-11-16