
Sigma Ingest
Extract durable ktx wiki knowledge from staged Sigma data model specs and workbook...
Install
npx skills add Kaelio/ktx --skill sigma_ingest -g -a claude-code -y- Repository
- Kaelio/ktx1.6k
- Category
- Engineering
- Updated
- 13d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 2,732 tokens
- Runs scripts
- No, instructions only
What it does
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.
Sigma Ingest
Sigma ingest turns staged data model specs and workbook summaries into durable ktx wiki knowledge. The deterministic project() step has already written semantic-layer YAML for all warehouse-table data model elements before this skill runs, do not re-write those SL sources.
Work unit structure
Sigma produces at minimum two work units per ingest run:
sigma-data-modelsorsigma-data-models-NrawFiles:data-models/<id>.jsonfiles (one per data model in this batch)peerFileIndex:workbooks/<id>.jsonfiles +sigma-manifest.json+sigma-projection-config.json- When the workspace has more than 50 data models, split into batches:
sigma-data-models-0,sigma-data-models-1, … withdisplayLabellike"Sigma: data models (1/8)". When ≤50 data models, the unitKey is simplysigma-data-modelswith no suffix.
sigma-workbooksorsigma-workbooks-NrawFiles:workbooks/<id>.jsonfiles (one per workbook in this batch)peerFileIndex:data-models/<id>.jsonfiles +sigma-manifest.json+sigma-projection-config.json- When the workspace has more than 2000 workbooks, split into batches:
sigma-workbooks-0,sigma-workbooks-1, … withdisplayLabellike"Sigma: workbooks (1/4)". When ≤2000 workbooks, the unitKey is simplysigma-workbookswith no suffix.
sigma-manifest.json and sigma-projection-config.json are never in rawFiles. They live at the staged dir root and always appear in peerFileIndex.
