Skip to main content
skill CX Codex

tmdl — Claude Code skill: what it does, how to install

Guides direct TMDL file editing and BIM conversions for PBIP semantic models when Tabular Editor CLI or Power BI MCP are unavailable.

GPL-3.0 ★ 1,104 updated 2026-10-28

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install pbip@power-bi-agentic-development
Open on GitHub

What tmdl does

This skill assists with raw TMDL markup inside PBIP project repositories. It explains how to declare measures, tables, and relationships without opening Power BI Desktop. Indentation dictates hierarchy in TMDL; PBIP files use a single tab per level, and mixing tabs with spaces breaks model parsing.

Raw text editing skips DAX syntax checking and referential integrity tests. Syntax mistakes stay hidden until Power BI Desktop parses the files or an XMLA deployment runs. For safer edits, the author suggests checking changes through the pbip-validator agent.

What it helps with

  • Modify measure and calculated column declarations directly in .tmdl files
  • Update metadata attributes such as formatString and summarizeBy
  • Document fields using triple-slash /// descriptions above object headers
  • Resolve naming collisions between shared M expressions and table definitions
  • Fix whitespace indentation depth according to PBIP tab formatting rules

Example prompts for the agent

  • Add a new measure with tab indentation to tables/Product.tmdl.
  • Update summarizeBy: none on column 'Product Name' and add a triple-slash description.
  • Convert an existing BIM structure to TMDL definitions and check expression names.

How to install tmdl

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install pbip@power-bi-agentic-development

This installs the whole pbip plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill tmdl -a claude-code

3Manually: put the files in place

~/.claude/skills/tmdl/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/tmdl/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about tmdl

How do I install tmdl in Claude Code?

Run /plugin marketplace add data-goblin/power-bi-agentic-development first, then run /plugin install pbip@power-bi-agentic-development.

When should I edit TMDL files directly?

Use direct edits for text-level changes like descriptions or display folders in Git repos when Tabular Editor CLI or MCP tooling is absent.

How do comments and descriptions differ in TMDL?

Lines starting with /// directly set the Description attribute of the immediate next object, whereas standard // lines serve as ignored remarks.

Similar skills

All skills for Data and databases →

From the same set59

The whole set →
improve-my-agent-setup improve-my-agent-setup is a Claude Code skill that reviews an agent-assisted development setup and suggests changes. Run it for a setup check or a workflow assessment. CX Codex +1 ★ 1,104repo stars bpa-rules bpa-rules is a Claude Code skill for authoring Best Practice Analyzer rules for Power BI and Tabular Editor semantic models through guided discovery and model inspection. CX Codex +1 ★ 1,104repo stars audit-tenant-settings The audit-tenant-settings skill compares Fabric and Power BI tenant settings with a curated baseline, then surfaces drift and delegated overrides. Use it to examine governance changes and related security groups. CX Codex +1 ★ 1,104repo stars pbi-report-design pbi-report-design is a Claude Code skill that defines Power BI report design rules and is loaded by other skills before layout or theme decisions. CX Codex +1 ★ 1,104repo stars te-cli te-cli is a Claude Code skill for working with the Tabular Editor CLI and Power BI or Analysis Services semantic models. It activates when a request mentions the te command or uses it in a terminal. CX Codex +1 ★ 1,104repo stars pbir-cli pbir-cli — a skill for creating, editing, and publishing Power BI reports through command-line tools. Modify report structure, formatting, and data; take screenshots and verify results in Power BI Desktop or Fabric. CX Codex +1 ★ 1,104repo stars fabric-cli Guides Fabric CLI interactions, controls Power BI workspaces, and calculates capacity unit usage before triggers run. CX Codex +1 ★ 1,104repo stars connect-pbid connect-pbid is a Claude Code skill that connects to a local Power BI Desktop model for DAX queries and metadata work while the model is open on the same machine. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open