Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fabric-cli

Skill by microsoft

Teaches an AI assistant to use the fabric-app-data CLI to manage Microsoft Fabric data source connections. Suited to developers who wire Fabric semantic models into TypeScript apps.

  • Score 71
  • 36 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install fabric-cli

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/ConsumptionCentral-for-Microsoft-Copilot /tmp/ConsumptionCentral-for-Microsoft-Copilot && mkdir -p ~/.claude/skills && cp -r /tmp/ConsumptionCentral-for-Microsoft-Copilot/fabric-app/.agents/skills/fabric-cli ~/.claude/skills/fabric-cli

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install fabric-cli in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

fabric-cli is an agent skill that teaches an assistant how to use the fabric-app-data CLI. The CLI manages Microsoft Fabric data source connections in a fabric.yaml file, organized into profiles such as dev, staging and production. Connections can be added from a Fabric portal URL or by workspace and item IDs, and a search command finds semantic models by display name.

The CLI can generate a TypeScript config file, fabric.generated.ts, that the @microsoft/fabric-app-data package uses at runtime. It can also run DAX queries against a semantic model using the same SDK pipeline as the running app. The skill is aimed at developers building apps on Fabric semantic models who want an assistant to handle config and queries.

Written from the project's SKILL.md and checked against it.

What it can do

  • initCreates a new fabric.yaml in the current directory, with an optional profile name.
  • addAdds a connection to a profile from a Fabric portal URL or from workspace and item IDs.
  • searchFinds a semantic model by display name using the Fabric Catalog Search endpoint.
  • removeRemoves a connection from a profile by alias.
  • listLists all connections in a profile.
  • useSwitches the active profile and regenerates the config file.
  • generateGenerates fabric.generated.ts from the active profile.
  • queryRuns a DAX query against a semantic model using the same SDK pipeline as the app.

What you need

  • npx to run the fabric-app-data CLI
  • Access to the Microsoft Fabric workspaces and items to connect

Try asking

  • Add the sales semantic model from this Fabric portal link as a connection
  • Search Fabric for a semantic model named Revenue and show the matching workspaces
  • Run this DAX query against the sales connection and return 50 rows

Good to know

  • Query results are capped at 1000 rows in the CLI output.
  • Search returns results for any query, so matches should be checked before adding a connection.
  • Search returns at most 50 hits, with a default of 10.
  • fabric.generated.ts is auto-generated and should not be edited.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: fabric-app/.agents/skills/fabric-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to fabric-cli

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

fabric-cli: common questions

How do I add a Fabric semantic model connection?

Use add with a portal URL, or pass the workspace ID with -w and the item ID with -i. The source recommends running search first when only the model name is known.

Can it work with items in My workspace?

Yes. Items in My workspace use the workspace ID me, and the source says to pass -w me to add and query for them.

Should the generated config file be committed?

The source says to add fabric.generated.ts to .gitignore and regenerate it from fabric.yaml as needed.

How do I install fabric-cli?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is fabric-cli free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is fabric-cli safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to fabric-cli?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

fabric-cli Install

Add to stack

Loading.