/fabric-skills:semantic-model-authoringfrom fabric-skills
Create, inspect and modify Power BI semantic models in Fabric, Power BI Desktop or PBIP/TMDL. Covers DAX, metadata discovery, AI readiness, best-practice reviews, connection binding, refresh, permissions and deployment. Load before semantic-model operations, including read-only requests.
Ships in fabric-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Telemetry — MANDATORY. Every
api.fabric.microsoft.comcall must carryx-ms-fabric-skill: semantic-model-authoring(az rest:--headers "x-ms-fabric-skill=semantic-model-authoring"), including every LRO poll,fabric_lroand retry. Snippets omit it — add it anyway.
CRITICAL NOTES
- To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
- To find the item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace and, then, use JMESPath filtering
- Always consider the Tool selection priority when choosing which tool to use for each operation. Do not default to TMDL edits or direct REST API calls if MCP supports the requested operation and is connected to the target model.
- For operations not exposed by the modeling tools, call the REST API using available tools (see Service API calls). Verify the authenticated identity and target access before proceeding.
- For Power BI Report edits in the same task: use
powerbi-report-clifor report authoring, PBIP reload and rendered-page review. If TMDL also changed, follow its model-aware reload workflow. This skill still owns model edits, processing and DAX verification. For model-only work, follow the reload steps below; PBIP alone is not a reason to invoke the report skill.
Deliver the requested model change, leave everything outside its scope untouched, and prove the result works. A successful save, deployment or query is one piece of evidence, not proof that the model meets the business need.
| User wants to... | Workflow |
|---|---|
| Build a new model, or add a new subject area (fact and its dimensions) | create-model |
| Add, change, rename or remove model objects; apply naming conventions | modify-model |
| Discover/list model metadata only | review-model |
| Review, audit or explain a model | review-model |
| Prepare a model for AI consumption, Copilot or data agents, including descriptions-only work | optimize-for-ai |
| Check that a model or a change returns correct results | test-model |
| Make a measure, query or visual faster | optimize-performance |
| Deploy, refresh, inspect refresh history, list permissions, export to PBIP, bind existing Fabric connections, change data sources or access | manage-model |
Workflows are step-by-step procedures in references/; follow their checklist, scoped to the requested outcome and affected objects. Load only applicable knowledge sections, reuse evidence already collected, and perform the checks relevant to the change. A narrow request does not require a full-model audit. Let dependencies and risk determine depth, not just the number of objects.
These apply on top of any workflow:
grep/Select-String) with enough context to read the applicable section. Do not use filename-only results as guidance. If output is truncated, retrieve only the missing relevant range rather than repeating whole-file reads.Knowledge files in references/kb/ hold the standards and best practices. Each workflow's Uses: line says which of these files and sections to load.
| File | Covers |
|---|---|
| modeling-standards | Shape, storage mode, columns and data types, relationships, date table, measures, reusable logic, security, naming, data source parameters |
| dax | DAX standards, evaluation context, performance patterns, DAX queries and functions |
| tmdl | TMDL syntax, rules that break loading, safe edits, validation |
| pbip | Project structure, editing a project open in Desktop, empty report for a model, deploy |
| service-apis | Fabric model creation with a definition, OneLake sources or empty; connection discovery and binding; definition APIs; Power BI refresh, parameters, permissions and query fallback |
Choose one authoring mode at the start of the session and keep it.
Find the modeling tools. The Power BI authoring MCP server can be registered under any name. Recognize it by its capabilities: operations on tables, columns, measures and relationships, DAX queries, traces, deploy. If you can't see it, search the available tools (for example "semantic model", "Power BI modeling", "DAX query") before you conclude it's missing. Check which targets it supports: a hosted Fabric-only server cannot open Desktop instances or local project folders.
Service-only operations: For operations the modeling MCP doesn't expose, such as Fabric connection binding, check Service API calls for available APIs and prerequisites. These operations don't require switching authoring mode or accessing TMDL files.
Choose the authoring mode. Prefer modeling MCP tools that support the target and operation. An existing PBIP/TMDL project remains the source of truth, even when open in Desktop.
| Situation | Mode | How to work |
|---|---|---|
| Desktop or Fabric-hosted model; MCP available | Live (MCP) | Connect and edit the running model. Changes are immediately visible; |
| PBIP/TMDL files; MCP available with ability to load local files | Offline (MCP) | Deserialize, edit and serialize through MCP. No running database, queries or refreshes. |
| MCP unavailable; TMDL available locally or retrievable from Fabric | File | Edit TMDL directly. Service APIs can retrieve, create or update Fabric definitions. |
| MCP unavailable and no way to access the model TMDL | Stop | Ask the user to enable modeling MCP, provide PBIP/TMDL files, or enable API access for a Fabric target. |
After offline or file-mode development, follow the load/deploy and verification steps; saving files alone does not update a running model.
Keep the mode for the session. The tools hold the model in memory, so a hand edit to a file while connected is either ignored or overwritten on the next save. Never mix modes in one change. Connecting to a live instance after a reload or deploy to run tests is part of the flow, not a switch: use that connection read-only and keep making changes in the folder. If you must switch (the tools disappear, an operation is unsupported, or the user asks), say so, save or discard pending work first, and reload from the source of truth before continuing. Switch only to a mode that supports the same target and meets its prerequisites.
In MCP mode (live or offline):
Prerequisite: Only consider this fallback when an API-capable tool, such as Azure CLI or Fabric CLI, is available and authenticated as the intended principal in the correct tenant, with access to the target Fabric workspace and permission for the requested operation. If these prerequisites are not met, report the limitation and the required setup or manual action instead of attempting API calls.
For service operations or source discovery not exposed by the modeling tools, call the appropriate REST API using an available tool. Read the applicable section of service-apis for the API, audience and constraints.
az rest): reuse the existing Azure CLI authentication and the REST patterns in COMMON-CLI.
--resource with the API's token audience from service-apis.fab): use fab api for REST operations, with -A fabric or -A powerbi for the target API. It also supports importing a semantic model folder for deployment. Check its current help rather than guessing commands or options.Before calling an API, read the authentication, control-plane, pagination and applicable LRO sections of COMMON-CLI. Do not change CLI saved login without approval. REST supports service operations not exposed by modeling tools, definition inspection/export, and creating or updating Fabric models from prepared definitions. Follow the mode and source-of-truth rules above. REST cannot edit a local Desktop model.
sourceColumn that matches the source exactly. For Import and DirectQuery, that's the output of the Power Query query, so infer the columns and types from its final step. For Direct Lake, it's the Delta table's column name in the lakehouse. The separate OneLake-source creation API does infer tables and columns; inspect those instead of recreating them. A missing or misspelled column only fails at refresh or query time.Value or Order subproperties. Keep measure references valid after table renames; refresh rather than recreating an unprocessed parameter.Report each check as passed, failed, not run or not applicable, with evidence. Never report a skipped check as passed.
End every task with this report; each workflow's Report step says what to add.
**Changed:** <objects and what changed, or "nothing (read-only)">
**Where it lives:** <for example: saved to PBIP, reloaded in Desktop, not deployed>
| Check | Result | Evidence |-
| --- | --- | --- |
| Scope | passed / failed / not run / n/a | <how you know?> |
| Valid | ... | ... |
| Correct | ... | ... |
| Persisted | ... | ... |
**Not tested:** <what and why>
**Noticed, not changed:** <side findings>
**Assumptions and open questions:** <list>
references/create-model.md (opens in a new tab)references/kb/dax.md (opens in a new tab)references/kb/modeling-standards.md (opens in a new tab)references/kb/pbip.md (opens in a new tab)references/kb/service-apis.md (opens in a new tab)references/kb/tmdl.md (opens in a new tab)references/manage-model.md (opens in a new tab)references/modify-model.md (opens in a new tab)references/optimize-for-ai.md (opens in a new tab)references/optimize-performance.md (opens in a new tab)references/review-model.md (opens in a new tab)references/test-model.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 skills in this plugin
/activator-cliCreates and inspects Fabric Activator (Reflex) alerts: rules, their data sources, conditions, and the Teams or email action they fire, plus decoding an existing ReflexEntities definition and reporting when rules fired (activation history). Choose it whenever someone wants to be told, or something done, when values cross a threshold. The pipeline delivering those values is eventstream-cli./azmon-mirroredcatalogs-operations-cliBrings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it./npx claudepluginhub microsoft/skills-for-fabric --plugin fabric-skills2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job