te2-cli — Claude Code skill for Tabular Editor 2 CLI
The te2-cli skill helps Claude Code work with Tabular Editor 2 from the command line, from running scripts to checking and deploying models. Use it when automating Power BI model tasks.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install tabular-editor@power-bi-agentic-developmentWhat te2-cli does
te2-cli provides command syntax for TabularEditor.exe. It covers opening models from model.bim or a TMDL directory, connecting to XMLA, and passing CLI options. The reference includes C# script execution, deployment, BPA checks, and saving output as .bim or TMDL.
For deployment, -D sets the server and database; additional flags control what gets deployed, or -X can generate an XMLA/TMSL script instead. BPA rules are supplied with -A, with separate logging options for Azure DevOps and GitHub Actions. Schema validation and process exit codes are covered too.
TabularEditor.exe runs on Windows only, so Mac and Linux users need a Windows VM or container. This reference is for TE2; Tabular Editor 3 has a separate CLI, so its commands should not be assumed to match.
What it helps with
- deploy a
Model.bimfile to an XMLA server - run a C# script and save the result as TMDL
- check a model against BPA rules from the command line
- generate an XMLA/TMSL script without deploying the model
Example prompts for the agent
- Deploy
Model.bimto the XMLA serverserverand databasedatabase, overwriting the existing model. - Run
script.csxonModel.bimand save the output as TMDL inoutput/. - Check
Model.bimagainst the rules inrules.jsonand enable Azure DevOps logging.
How to install te2-cli
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install tabular-editor@power-bi-agentic-developmentThis installs the whole tabular-editor plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill te2-cli -a claude-code3Manually: put the files in place
~/.claude/skills/te2-cli/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/te2-cli/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill te2-cli -a codex2Manually: put the files in place
.agents/skills/te2-cli/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill te2-cli -a cursor2Manually: put the files in place
.cursor/skills/te2-cli/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/tabular-editor/skills/te2-cli2Manually: put the files in place
.github/skills/te2-cli/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill te2-cli -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/tabular-editor/skills/te2-cliManually: put the files in place
.devin/skills/te2-cli/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about te2-cli
How do I install te2-cli in Claude Code?
Run these commands in order: /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install tabular-editor@power-bi-agentic-development.
What does te2-cli do?
It gives Claude Code command syntax for TabularEditor.exe, including scripts, BPA analysis, model output, and deployment.
Can Tabular Editor 2 CLI run on macOS or Linux?
TabularEditor.exe is Windows-only. A Windows VM or container is needed on Mac or Linux.