fabric-warehouse

fabric-warehouse is a skill for Claude Code from wardawgmalvicious/agent-config. It costs 265 tokens per session (3,153 once invoked), scanned A, original, MIT.

A practical reference for writing T-SQL queries for Microsoft Fabric Warehouse, a distributed data warehouse. It lists unsupported data types and database features and gives alternatives where available.

In plain words
What is it for?
Use it when writing or adapting Fabric Warehouse queries, choosing replacement data types, handling schema changes, or replacing unsupported features such as triggers, cursors, and recursive common table expressions.
Why use it?
SQL that works in another SQL Server product may fail in Fabric Warehouse. The guide helps identify those differences before they cause errors.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when writing or adapting Fabric Warehouse queries, choosing replacement data types, handling schema changes, or replacing unsupported features such as triggers, cursors, and recursive common table expressions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wardawgmalvicious/agent-config/fabric-warehouse
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 wardawgmalvicious/agent-config --skill fabric-warehouse
Clone the repo
git clone --depth 1 https://github.com/wardawgmalvicious/agent-config

Made for: Claude Code.

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-warehouse

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/fabric-warehouse"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/fabric-warehouse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 265 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,153 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.00265 $0.03153
Opus 5 $0.00133 $0.01577
Sonnet 5 $0.00053 $0.00631
Haiku 4.5 $0.00026 $0.00315

Measured 2d ago against content hash 7ea367d4d158, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fabric-warehouse 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 2d 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/fabric/fabric-warehouse/SKILL.md · 227 lines

How it starts

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

Fabric Warehouse T-SQL surface area

Note: This skill applies to Fabric Warehouse only — the distributed Synapse-engine warehouse. Fabric SQL Database uses the full Azure SQL Database engine and does NOT have these restrictions. See the fabric-database skill.

Unsupported Data Types — Use These Alternatives

Unsupported Type Use Instead Notes
nvarchar / nchar varchar / char UTF-8 collation handles Unicode
money / smallmoney decimal(19,4)
datetime / smalldatetime datetime2(6)
datetimeoffset datetime2(6) Timezone offset is lost
xml varchar(max) XML functions lost
ntext / text varchar(max)
image varbinary(max)
tinyint smallint
geometry / geography varbinary (WKB) or varchar (WKT) Cast as needed
sql_variant No equivalent
hierarchyid No equivalent

Unsupported T-SQL Features

  • FOR XML — use FOR JSON instead (and only as last operator, not in subqueries)
  • Recursive CTEs
  • SET ROWCOUNT / SET TRANSACTION ISOLATION LEVEL
  • Materialized views
  • Triggers
  • Cursors — replace with WHILE + ROW_NUMBER(). Row-by-row is slow on a distributed engine; prefer set-based whenever possible.
  • CREATE USER — users auto-created on GRANT/DENY
  • Multi-column manual statistics
  • PREDICT
  • Schema/table names with / or \
  • MARS (Multiple Active Result Sets) — remove from connection strings

Table Constraints and Limits

  • 8,060-byte row limit (error 511 / 611 on violation)
  • 128-char limit on table/column names
  • 1,024-column max per table
  • No default value constraints; no computed columns (use views)
  • PK / UNIQUE / FK supported only as NONCLUSTERED + NOT ENFORCED — metadata-only; the engine does not enforce them at DML time. They serve as optimizer hints, and Power BI uses FK relationships for automatic relationship detection.
  • DEFAULT / CHECK not supported
  • NOT NULL only via CREATE TABLE (cannot be added via ALTER TABLE)

Read the full file on GitHub · 227 lines

Files

What ships with it

6 files 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. 2d ago Changed 7ea367d4d158
  2. 8d ago Changed · -115 lines a29d4c586f4a
  3. 12d ago First seen · 342 lines · 265 tokens per session scan A e4246488ca9b

Subscribe to this mod's changes

fabric-warehouse is a skill published in the GitHub repository wardawgmalvicious/agent-config (1 stars, last pushed today), licensed MIT. It adds 265 tokens to every session and 3,153 once invoked, about $0.0013 per session on Opus 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-08-31.

Related

Other skills, from other repositories

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

azure-resource-manager-redis-dotnet

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …

microsoft/skills · 114 tokens

azure-resource-manager-sql-dotnet

Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL…

microsoft/skills · 109 tokens

azure-cosmos-db-py

Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers…

microsoft/skills · 96 tokens