Individual skill
metabase_ingest
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.
packages/cli/src/skills/metabase_ingest/SKILL.md
Source commit 49a4ae6f5b28c904da921afc0ee72da6db7ac202
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 1,629
- Repository last updated
- Oct 22, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agents Repository topic
- analytics Repository topic
- analytics-engineering Repository topic
- context-layer Repository topic
- data-engineering Repository topic
- semantic-layer Repository topic
- business-intelligence Repository topic
- data-analysis Repository topic
- agent Repository topic
- ai-agent Repository topic
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytesSKILL.mdcore · 19,834 bytes
Read excerpt
# Metabase to ktx Semantic Layer
Each WorkUnit represents one Metabase collection's cards for one Metabase database (mapped to exactly one ktx connection). Every `cards/<id>.json` file carries the resolved SQL, result_metadata, card type, collection path, and referenced-card ids. The WU's `sync-config.json` tells you which sync mode is active and which selections apply. `databases/<id>.json` tells you the target ktx connection.
## Context format
Each card JSON looks like:
```json
{
"metabaseId": 7,
"name": "Daily orders",
"description": "Orders by day",
"type": "model",
"databaseId": 42,