semantic-model-authoring

semantic-model-authoring is a skill for Claude Code from microsoft/skills-for-fabric. It costs 92 tokens per session (8,873 once invoked), scanned A, original, MIT.

A guide for creating and managing Power BI semantic models, the data structures that define tables, fields, calculations, relationships, sources, and permissions behind reports.

In plain words
What is it for?
Use it to create or update tables, columns, measures, relationships, DAX calculations, data sources, permissions, refresh settings, or deployment plans.
Why use it?
It provides a structured way to inspect model metadata and make changes while considering storage mode, refresh, connections, security, and deployment.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Scope note** — examples use `az rest` for discovery to resolve ID's and discover Fabric metadata (see [COMMON-CLI.md § Finding Workspaces and Items](../../com.

Part of the fabric-skills plugin — 25 skills shipped together

Good fit Use it to create or update tables, columns, measures, relationships, DAX calculations, data sources, permissions, refresh settings, or deployment plans.

Compare 6 skills from other repositories ↓
About the project

Microsoft Fabric Skills is a collection of reusable instructions and MCP systems that help AI assistants work with Microsoft Fabric workloads, APIs, queries, and operations. It is intended for users of GitHub Copilot CLI and compatible coding tools; the catalogue entries are the skills, agents, instructions, MCP systems, plugins, and rules distributed by the project.

microsoft/skills-for-fabric · 1,321 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/microsoft/skills-for-fabric
agentmods
npx agentmods add skills/microsoft/skills-for-fabric/semantic-model-authoring

Made for: Claude Code.

Or install fabric-skills, the plugin that ships this one along with the rest of its 25 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for semantic-model-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/semantic-model-authoring/github.svg)](https://agentmods.dev/skills/microsoft/skills-for-fabric/semantic-model-authoring)
Your own site
<a href="https://agentmods.dev/skills/microsoft/skills-for-fabric/semantic-model-authoring"><img src="https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/semantic-model-authoring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for semantic-model-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/skills-for-fabric/semantic-model-authoring"><img src="https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/semantic-model-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 40
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Data Exfiltration · line 386
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Prompt Injection · line 400
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 406
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.08873
Opus 5.5 $0.00037 $0.03549
Sonnet 5.5 $0.00018 $0.01775
Haiku 4.5 $0.00009 $0.00887

Measured 1mo ago against content hash 69196e96a5a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

semantic-model-authoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/fabric-skills/skills/semantic-model-authoring/SKILL.md · 431 lines

How it starts

The opening of the file, as written. The whole thing — 431 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Telemetry — MANDATORY. Every api.fabric.microsoft.com call must carry x-ms-fabric-skill: semantic-model-authoring (az rest: --headers "x-ms-fabric-skill=semantic-model-authoring"), including every LRO poll, fabric_lro and retry. Snippets omit it — add it anyway.

CRITICAL NOTES

  1. To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
  2. 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
  3. Always consider the Tool selection priority when choosing which tool to use for each operation. Do not default to TMDL edits or az rest if MCP is available and connected to the target model.

Power BI Semantic Model Authoring — CLI Skill

Workflow Selector

Use this decision tree to route to the correct workflow based on user intent:

User wants to... Workflow
Create a semantic model from scratch Create new semantic model
Inspect or discover model metadata (tables, columns, measures, relationships) Discover Semantic Model Metadata
Add/edit semantic model objects (e.g. measures, tables, columns, relationships) Modify an Existing Model
Write or refactor DAX code Modify an Existing Model
Create/edit a field parameter Author a Field Parameter
Improve DAX query or measure performance Optimize DAX Performance
Analyze semantic model against best practices Analyze Best Practices
Prepare a semantic model for AI consumption (Copilot / Data Agents) Semantic Model AI Readiness
Deploy a model to a Fabric workspace Deploy to Fabric
Refresh a semantic model Refresh Semantic Model
Configure data sources, parameters, or permissions Manage Semantic Model in Fabric
Bind a semantic model to a Fabric connection (or unbind) Bind Semantic Model to a Connection
Export / Get semantic model definition as PBIP Export to PBIP

Read the full file on GitHub · 431 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +19 lines · -2 tokens per session 69196e96a5a2
  2. 2mo ago Changed · -8 lines 90d8242dfc06
  3. 2mo ago First seen · 420 lines · 94 tokens per session scan A b3aa133cedf0

Subscribe to this mod's changes

semantic-model-authoring is a skill published in the GitHub repository microsoft/skills-for-fabric (1,321 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 8,873 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

semantic-model-authoring compared with skills from other repositories

semantic-model-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
semantic-model-authoringmicrosoft/skills-for-fabricSkill1.3kyesterdayMITA92Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code