# Fabriciq Ontology CLI

Manages Fabric IQ Ontology items, including entity and relationship types, data...

- Repository: https://github.com/microsoft/skills-for-fabric (1306 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add microsoft/skills-for-fabric --skill fabriciq-ontology-cli -g -a claude-code -y`
Codex: `npx skills add microsoft/skills-for-fabric --skill fabriciq-ontology-cli -g -a codex -y`
Cursor: `npx skills add microsoft/skills-for-fabric --skill fabriciq-ontology-cli -g -a cursor -y`
Gemini CLI: `npx skills add microsoft/skills-for-fabric --skill fabriciq-ontology-cli -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add microsoft/skills-for-fabric`

## Description

Manages Fabric IQ Ontology items, including entity and relationship types, data bindings, and definition updates, plus schema, lineage, grounding, and graph-walk exploration. Use for ontology modelling and traversal. For natural-language questions over a Power BI report use fabriciq.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

> **Telemetry, MANDATORY.** Every `api.fabric.microsoft.com` call must carry
> `x-ms-fabric-skill: fabriciq-ontology-cli` (`az rest`: `--headers "x-ms-fabric-skill=fabriciq-ontology-cli"`),
> 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. **Skill disambiguation**: use `fabriciq-ontology-cli` for the Ontology item itself. Natural-language questions over Power BI reports and dashboards are `fabriciq`; DAX against a semantic model is `semantic-model-cli`.

# Fabric IQ Ontology -- CLI Skill

This one skill owns Fabric IQ Ontology items: entity and relationship types, bindings, definitions, lineage, grounding and graph walks.

It is a **mode dispatcher** and contains NO procedures. Pick the mode that matches the request from the table below, then **read the matching `references/<mode>.md` file end to end with your file-reading tool BEFORE issuing a single command**. That file holds the endpoints, payload shapes, templates and gotchas; acting without it produces wrong payloads and wrong results.

## Mode selection

The rest: https://github.com/microsoft/skills-for-fabric/blob/HEAD/plugins/fabric-skills/skills/fabriciq-ontology-cli/SKILL.md
