schema-query
Installation
SKILL.md
Grounding semantic-model work
Prerequisite: register the task's semantic model as a Rayfin connector first (AGENTS.md
"Connector setup"):
npx rayfin connector add --type fabric-semanticmodel --name <name> --workspace-id <workspaceId> --item-id <itemId>.
Until then query-schema has no model to catalog and exits with that command.
The semantic model's own catalog is cached as a local SQLite database and queried with SQL:
npx fabric-app-semantic-model-tools query-schema "SELECT [Name], [Expression] FROM info_view_measures WHERE [Table] = 'Sales'"