powerbi-fabric-apps

powerbi-fabric-apps is a skill for Claude Code, Codex from santoshkanthety/powerbi-agent. It costs 151 tokens per session (3,754 once invoked), scanned A, original, MIT.

A guide to building Microsoft Fabric Apps with the Rayfin software kit and command-line tool. It covers TypeScript data models, sign-in, data APIs, storage, server functions, hosting, and connecting an app to a Power BI semantic model.

In plain words
What is it for?
Use it to create, run, and deploy custom analytical front ends, data models, APIs, hosted pages, and apps that query existing Power BI semantic models.
Why use it?
It provides a documented route for building a custom application around governed Fabric data instead of writing the integration from memory. It also explains how the app can run DAX, the language used to query Power BI models, as the signed-in user.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is npx rayfin connector inspect --name salesModel --query ./queries/top-products.dax.

Good fit Use it to create, run, and deploy custom analytical front ends, data models, APIs, hosted pages, and apps that query existing Power BI semantic models.

Compare 6 skills from other repositories ↓
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/santoshkanthety/powerbi-agent
agentmods
npx agentmods add skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps

Made for: Claude Code, Codex.

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 powerbi-fabric-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps/github.svg)](https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps)
Your own site
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps/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 powerbi-fabric-apps

Your own site · 80×15
<a href="https://agentmods.dev/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps"><img src="https://agentmods.dev/badge/skills/santoshkanthety/powerbi-agent/powerbi-fabric-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,754 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.
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.00151 $0.03754
Opus 5.5 $0.00060 $0.01502
Sonnet 5.5 $0.00030 $0.00751
Haiku 4.5 $0.00015 $0.00375

Measured 16d ago against content hash cfcd24ab5841, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

powerbi-fabric-apps 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 16d 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.

skills/powerbi-fabric-apps/SKILL.md · 342 lines

How it starts

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

Fabric Apps with the Rayfin SDK

Fabric Apps (preview) is a managed backend-as-a-service inside Microsoft Fabric. You declare the data model as TypeScript classes with decorators; Rayfin provisions the SQL database, Entra SSO, a GraphQL data API, file storage, Functions and static hosting, and deploys all of it as one Fabric item with npx rayfin up.

For powerbi-agent the headline use is the fabric-semanticmodel connector: an app that executes DAX against an existing Power BI semantic model with delegated user identity, so you can ship a bespoke analytical front end on a model you already govern — without embedding, without a service principal, and without the Execute Queries REST API in your own code.

Rule zero: route, don't improvise

Never write Rayfin API code from memory. The decorator set, the client generics, the connector packages and the deployment surface are version-locked per project, and they move fast in preview. Remembered signatures are routinely wrong against the installed version.

Order of authority, highest first:

  1. .agents/skills/rayfin/SKILL.md in the project — the version-matched skill the CLI installs. If it exists, it wins over this file for every in-project specific.
  2. rayfin docs CLI and the package READMEs under node_modules/@microsoft/rayfin-*.
  3. AGENTS.md at the project root, when the template ships a capability router.
  4. Microsoft Learn: Fabric Apps overview, CLI reference.

This skill owns getting there and the Power BI bridge. Once you are inside a project, load .agents/skills/rayfin/SKILL.md and follow it.

If you can reach none of those sources, say so and stop. Do not offer a "general approach" or placeholder code — fabricated Rayfin APIs are the specific failure this discipline exists to prevent.

Prerequisites

Requirement Check
Node.js 20+ node --version
Rayfin CLI npx rayfin --version (installs on demand; or npm i @microsoft/rayfin-cli)
Fabric capacity on the target workspace fab ls then check the workspace capacity, or the portal
Tenant setting Fabric Apps (preview) enabled Fabric admin portal → Tenant settings
Tenant setting Semantic Model Execute Queries REST API enabled only for the fabric-semanticmodel connector
Contributor / Member / Admin on the workspace fab acl ls or the portal
Build + Read on the semantic model only for the fabric-semanticmodel connector
Supported region region availability — Fabric Apps is not in every region

Read the full file on GitHub · 342 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. 16d ago First seen · 342 lines · 0 tokens per session scan A cfcd24ab5841

Subscribe to this mod's changes

powerbi-fabric-apps is a skill published in the GitHub repository santoshkanthety/powerbi-agent (3 stars, last pushed 17d ago), licensed MIT. It adds 151 tokens to every session and 3,754 once invoked, about $0.0006 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-10-07.

Related

Other skills, from other repositories

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

nanocoai/nanoclaw · 19 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

websocket-engineer

Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.

Jeffallan/claude-skills · 36 tokens

cognito

AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools, implementing OAuth flows, managing user attributes, or integrating with social identity providers.

itsmostafa/aws-agent-skills · 38 tokens

sns

AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.

itsmostafa/aws-agent-skills · 32 tokens