.ai-assets/skills/fabric-cli-core/SKILL.md
Use Microsoft Fabric CLI (fab) to manage workspaces, semantic models, reports, notebooks, and Fabric resources. Activate when users mention fab, Fabric CLI, or need to automate Fabric operations.
npx skillsauth add microsoft/fabric-cli fabric-cli-coreInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill defines safe, consistent defaults for an AI agent helping users operate Microsoft Fabric via the Fabric CLI (fab).
Ready-to-use Python scripts for core CLI tasks. Run any script with --help for full options.
| Script | Purpose | Usage |
|--------|---------|-------|
| health_check.py | Verify CLI installation, auth status, and connectivity | python scripts/health_check.py [--workspace WS] |
Scripts are located in the scripts/ folder of this skill.
.Workspace, .Folder, .SemanticModel)./Workspace1.Workspace/Notebook1.Notebook/Workspace1.Workspace/FolderA.Folder/SemanticModel1.SemanticModel/Workspace1.Workspace/FolderA.Folder/lh1.Lakehouse/Tables (OneLakeItem)fab prefix.fab auth login (browser/WAM where supported).FAB_SPN_FEDERATED_TOKEN) and do not persist the raw token..capacities — fab ls .capacities / fab get .capacities/<name>.Capacity.gateways — fab ls .gateways / fab get .gateways/<name>.Gateway.connections — fab ls .connections / fab get .connections/<name>.Connection.domains — fab ls .domains / fab get .domains/<name>.Domain.managedidentities — fab ls ws1.Workspace/.managedidentities.managedprivateendpoints — fab ls ws1.Workspace/.managedprivateendpoints.externaldatashares — fab ls ws1.Workspace/.externaldatashares.sparkpools — fab ls ws1.Workspace/.sparkpoolsls -a / ls --all.fab ls / fab get)~/.config/fab/:
cache.bin — encrypted auth token cacheconfig.json — non-sensitive CLI settingsauth.json — non-sensitive auth infocontext-<session_id> — path context for command-line mode sessions%AppData%/fabcli_debug.log~/Library/Logs/fabcli_debug.log~/.local/state/fabcli_debug.logfab auth status to verify authentication before executing commands. If not authenticated, ask the user to run fab auth login.fab --help and fab <command> --help the first time you use a command to understand its syntax.fab command alone first before piping or chaining.fab in command-line mode when working with coding agents. Interactive mode doesn't work with automation.-f when executing commands if the flag is available to run non-interactively (skips confirmation prompts).fab ls or fab exists before proceeding.| Extension | Description |
|-----------|-------------|
| .Workspace | Workspace container |
| .Folder | Folder within workspace |
| .SemanticModel | Power BI dataset/semantic model |
| .Report | Power BI report |
| .Dashboard | Power BI dashboard |
| .Notebook | Fabric notebook |
| .Lakehouse | Lakehouse |
| .Warehouse | Data warehouse |
| .DataPipeline | Data pipeline |
| .SparkJobDefinition | Spark job definition |
| .Eventstream | Real-time event stream |
| .KQLDatabase | KQL database |
| .MLModel | ML model |
| .MLExperiment | ML experiment |
| .Capacity | Fabric capacity (hidden) |
| .Gateway | Data gateway (hidden) |
| .Connection | Connection (hidden) |
Use fab desc .<ItemType> to explore any item type.
For detailed command syntax and working examples, see:
tools
Use Fabric CLI for Power BI operations — semantic models, reports, DAX queries, refresh, gateways. Activate when users work with Power BI items, need to refresh datasets, execute DAX, manage reports, or troubleshoot refresh failures.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------