semantic-model — Claude Code skill: what it does, how to install
semantic-model guides tabular data modeling for Power BI and Analysis Services from the terminal across design, refresh, and review tasks.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install semantic-models@power-bi-agentic-developmentWhat semantic-model does
The skill manages tabular datasets by routing changes through a tiered tool cascade. It relies on the te CLI first for staging edits in memory: adding columns, relationships, measures, calculation items, and running Best Practice Analyzer checks. When certain properties cannot be updated via CLI flags, it escalates tasks to TOM scripts or a dedicated modeling MCP server, leaving raw TMDL modifications for structural bulk edits.
Formatting rules are strictly enforced: column references require single quotes and table names like 'Table'[Column], whereas measures must remain unqualified as [Measure]. Adding cross-table measures before the underlying relationship exists will cause the save validation gate to reject changes with DAX0002.
This setup focuses on data modeling, VertiPaq optimization, and AI preparation. Tasks regarding report canvas layout or visual formatting belong in pbir-cli instead.
What it helps with
- Construct star schema relationships and calculation items
- Audit model quality against Best Practice Analyzer rules
- Configure incremental refresh and row-level security roles
- Shrink VertiPaq memory footprint for bloated tables
- Prepare model metadata and linguistic schemas for Copilot
Example prompts for the agent
- Audit this tabular model against BPA rules and report issues
- Create a relationship from Sales to DimDate and define a standard measure
- Configure incremental refresh settings for the transactions table
How to install semantic-model
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install semantic-models@power-bi-agentic-developmentThis installs the whole semantic-models plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill semantic-model -a claude-code3Manually: put the files in place
~/.claude/skills/semantic-model/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/semantic-model/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill semantic-model -a codex2Manually: put the files in place
.agents/skills/semantic-model/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill semantic-model -a cursor2Manually: put the files in place
.cursor/skills/semantic-model/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/semantic-models/skills/semantic-model2Manually: put the files in place
.github/skills/semantic-model/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill semantic-model -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/semantic-models/skills/semantic-modelManually: put the files in place
.devin/skills/semantic-model/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 semantic-model
How to install semantic-model in Claude Code?
Add the marketplace source and install the package using /plugin marketplace add data-goblin/power-bi-agentic-development followed by /plugin install semantic-models@power-bi-agentic-development.
What does semantic-model do?
It orchestrates the tabular model lifecycle in Power BI, prioritizing command-line operations via te before falling back to TOM or TMDL.
Can it edit Power BI report pages and visuals?
No, it targets only semantic dataset definitions. For modifying visuals or report canvas structures, use the pbir-cli skill.