fabric-app-lakehouse-live

fabric-app-lakehouse-live is a skill for Claude Code, Codex from gusbavia/fabric-apps-skills. It costs 150 tokens per session (1,501 once invoked), scanned A, original, MIT.

A setup guide for browser apps that read existing Microsoft Fabric Lakehouse data directly through a GraphQL API. Microsoft Fabric is a cloud data platform, and a Lakehouse stores data for analysis and applications.

In plain words
What is it for?
Use it to connect a Vite or React single-page app to live Lakehouse data, configure Microsoft sign-in, check browser access rules, and troubleshoot permission errors.
Why use it?
It explains how to use the signed-in user's permissions without running a separate backend server or placing secrets in browser code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to connect a Vite or React single-page app to live Lakehouse data, configure Microsoft sign-in, check browser access rules, and troubleshoot permission errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gusbavia/fabric-apps-skills/fabric-app-lakehouse-live
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gusbavia/fabric-apps-skills --skill fabric-app-lakehouse-live
Clone the repo
git clone --depth 1 https://github.com/gusbavia/fabric-apps-skills

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 fabric-app-lakehouse-live

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gusbavia/fabric-apps-skills/fabric-app-lakehouse-live"><img src="https://agentmods.dev/badge/skills/gusbavia/fabric-apps-skills/fabric-app-lakehouse-live.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00150 $0.01501
Opus 5.5 $0.00060 $0.00600
Sonnet 5.5 $0.00030 $0.00300
Haiku 4.5 $0.00015 $0.00150

Measured 1mo ago against content hash 96b87039d877, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fabric-app-lakehouse-live scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X OPTIONS <graphql-endpoint> -H "Origin: https://<your-app-url>" \
skills/fabric-app-lakehouse-live/SKILL.md · 116 lines

How it starts

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

Fabric App · Lakehouse Live Bridge

The browser acquires a delegated Fabric token (the signed-in user's own identity) and POSTs straight to a Lakehouse "API for GraphQL" endpoint. Live data, per-user permissions and RLS, zero infrastructure, no secrets in the bundle.

browser → MSAL (Entra SSO, delegated) → POST → GraphQL API over the Lakehouse

A working reference implementation exists in the fabric-apps-starter repo, template-lakehouse-live/ (Vite + React + MSAL, query console + token inspector).

The recipe — order matters, each step gates the next

1. Validate CORS before writing code. Preflight the GraphQL endpoint with the app origin:

curl -X OPTIONS <graphql-endpoint> -H "Origin: https://<your-app-url>" \
  -H "Access-Control-Request-Method: POST" -i
# want: 200 + Access-Control-Allow-Origin echoing your origin

Fabric allows Fabric Apps origins by default. If this fails, nothing downstream can work.

2. MSAL singleton, initialized BEFORE render. When the browser returns from login.microsoftonline.com, the SPA boots again and MSAL must parse the auth response on that load:

// lib/msal.ts
export const msal = new PublicClientApplication({
  auth: { clientId, authority: `https://login.microsoftonline.com/${tenantId}`,
          redirectUri: window.location.origin },
  cache: { cacheLocation: "sessionStorage" },
});
export async function bootstrapMsal() {
  await msal.initialize();
  await msal.handleRedirectPromise();   // skip this → sign-in silently never lands
}
// main.tsx: bootstrapMsal() runs before createRoot(...).render(...)

Prefer loginRedirect over popups for SPAs: no blocked windows, no blank popup pages, works embedded and standalone.

3. App registration (Entra portal):

  • Authentication → add platform → Single-page application → redirect URI = the app URL (plus http://localhost:5173 for dev). Authorization Code + PKCE; leave both implicit-grant checkboxes UNchecked.
  • API permissions → Power BI Service → Delegated → GraphQLApi.Execute.All → grant admin consent. This is THE permission that gates query execution; Tenant/Workspace/Dataset/Item.Read.All all return 403 without it.

Read the full file on GitHub · 116 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 116 lines · 150 tokens per session scan A 96b87039d877

Subscribe to this mod's changes

fabric-app-lakehouse-live is a skill published in the GitHub repository gusbavia/fabric-apps-skills (3 stars, last pushed 4mo ago), licensed MIT. It adds 150 tokens to every session and 1,501 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

graphjin-env

Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.

dosco/graphjin · 61 tokens

nornicdb-rag-procedures

Build RAG pipelines in NornicDB using Cypher procedures — db.retrieve (hybrid vector + BM25 + RRF), db.rretrieve (retrieve + rerank), db.rerank (cross-encoder), db.infer (LLM call). Use when assembling end-to-end retrieval, reranking, or RAG flows from Cypher rather than hand-rolling vector and full-text procedures…

orneryd/NornicDB · 93 tokens

nornicdb-managed-embeddings

Use NornicDB managed embeddings via Cypher — server-side embedding generation with WITH EMBEDDING, db.index.vector.embed, embedding providers (Ollama / OpenAI / OrcaRouter / local GGUF), property include/exclude, and the managed ChunkEmbeddings storage model. Use when the API surface is Cypher and you want NornicDB to…

orneryd/NornicDB · 94 tokens

nornicdb-vector-search

Run vector and full-text indexes from Cypher in NornicDB — CREATE/DROP VECTOR INDEX, CREATE/DROP FULLTEXT INDEX, db.index.vector.queryNodes / queryRelationships, db.index.fulltext.queryNodes, similarity functions, dimensions. Use when building semantic search, kNN, or BM25 lookups in NornicDB; the API is…

orneryd/NornicDB · 92 tokens

nornicdb-qdrant-migration

Migrate from Qdrant to NornicDB end-to-end through NornicDB's Qdrant-compatible gRPC surface. Covers connection setup, collection→database mapping, point→node mapping, the vector-config and named-vector replication, point upsert in batches, count verification, and what (deliberately) does not transfer (snapshots, HNSW…

orneryd/NornicDB · 101 tokens

webiny-api-cms-content-models

Creating Headless CMS content models via code using the ModelFactory pattern. Use this skill when the developer wants to create, modify, or understand content model definitions, define fields and validators, set up reference fields between models, configure field layouts (including nested layouts inside object or…

webiny/webiny-js · 313 tokens