Back to Skills

bsl-model-builder

Build BSL semantic models with dimensions, measures, joins, and YAML config. Use for creating/modifying data models.

398stars31forksUpdated 2/18/2026

Security Assessment

Safe(100/100)
Security Score100/100

About bsl-model-builder

The bsl-model-builder skill is designed to help users create and modify semantic models for data analysis using the Boring Semantic Layer (BSL). It provides a framework for transforming raw data into reusable and structured semantic tables, facilitating the building of data models that include dimensions and measures. This tool simplifies the process of defining groupable attributes (dimensions) and aggregations (measures) on datasets, which is essential for effective data analysis and reporting. By leveraging this skill, users can streamline their data modeling process and ensure that data is represented in a way that is both understandable and actionable.

FAQ

How do I define dimensions and measures in bsl-model-builder?

Dimensions can be defined using lambda functions, unbound syntax, or the Dimension class, while measures can be defined using lambda functions or the Measure class. You can also create composed measures by referencing other measures.

Can I join multiple tables using this skill?

Yes, the bsl-model-builder skill supports different types of joins including one-to-many (LEFT JOIN), one-to-one (INNER JOIN), and Cartesian product (CROSS JOIN). You can also define custom joins using the `join()` method.

How does the YAML configuration work for model definition?

YAML configuration allows you to define your semantic models in a more organized manner. You can specify the tables, dimensions, and measures in YAML format, making it easier to manage and read the configurations. This is especially useful for large datasets and models.

Install bsl-model-builder

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill