If you're migrating a dbt MetricFlow semantic layer to ktx, this skill does the heavy lifting. It reads your semantic_models and metrics YAMLs, flattens extends inheritance chains, maps MetricFlow measure types (simple, derived, ratio, cumulative, conversion) to ktx primitives, and resolves ref() calls to actual tables. The mapping table alone is worth loading this for. It handles the tricky bits like foreign key entities becoming joins, filtered metrics becoming new measures, and cumulative metrics degrading gracefully to standalone SQL sources when ktx has no native equivalent. Four worked examples walk through real conversions. Load it whenever you drop MetricFlow YAML into the conversation and need ktx sources out the other end.
npx -y skills add kaelio/ktx --skill metricflow_ingest --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.