kaelio avatar

Metricflow Ingest

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.

GitHub stars
1.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add kaelio/ktx --skill metricflow_ingest --agent claude-code

Installs into .claude/skills of the current project.

Files

MetricFlow to ktx Semantic Layer

A MetricFlow semantic_model maps to an SL source; MetricFlow measures map to ktx measures; MetricFlow entities map to ktx joins; MetricFlow metrics (top-level) map to ktx measures OR to cross-model derived measures. Files in one WorkUnit are ALWAYS part of the same logical entity (a connected component, possibly spanning extends: + cross-model metric refs). Flatten inheritance and cross-file references at write time.

Mapping table

Sponsors

Details

Repository
github.com/kaelio/ktx
Category
Marketing & SEO
License
Apache-2.0
First seen
Jun 11, 2026

More from kaelio/ktx

All 15
1kostard avatarforgecad-image-replicatorkostard/forgecad-public-kitBuild real ForgeCAD geometry from one or more reference images by treating images as evidence, inferring the object, then validating against both reference-matc0skills.sh installs
2kubesphere avatarfrontend-integration-yamlkubesphere/kubesphereGenerate canonical FrontendIntegration YAML from a simplified single-menu authoring model for frontend-forge.0skills.sh installs
3langfuse avataradd-yourself-to-team-langfuselangfuse/langfuse-docsAdd a new team member to Langfuse's canonical team data and shared team table. Use when onboarding a new employee who needs to appear on the website team, press0skills.sh installs
4microsoft avatarazure-cloud-migratemicrosoft/github-copilot-for-azureAssess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/0skills.sh installs
5nicepkg avatarpresentation-generatornicepkg/ai-workflowGenerate interactive HTML presentations with neobrutalism styling, ASCII art decorations, and Agency brand colors. Outputs HTML (interactive with navigation), P0skills.sh installs
6nicepkg avatarmedia-processingnicepkg/ai-workflowVideo/audio/image processing with FFmpeg and ImageMagick. Tools: FFmpeg (video/audio), ImageMagick (images). Capabilities: format conversion, encoding (H.264/H.0skills.sh installs