databasehub-cli
Skill1.4k starsChanged 4 days agoMITView on GitHub
Analyzes Database Hub inventory, health, and security posture through Entra-authenticated Fabric APIs. Use for estate counts; SQL/PostgreSQL CPU, storage, and memory; Cosmos DB availability/RU; authentication/auditing/CMK warnings; and Fabric SQL inventory. Fabric SQL tuning routes to sqldb-cli; Warehouse/Lakehouse/Mirrored Database SQL to sqldw-cli. Triggers: data estate performance, database estate health, database security posture.
1 other project uses a version of this, 1 of them edited.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- microsoft/microsoft-sqledited, first seen Oct 13, 2026
Who's talking about microsoft/skills-for-fabric
- bmad-code-org/BMAD-METHOD“BMAD as a Data Engineer”GitHub · Jun 19, 2026 · 1 reactions
- sql-bi/docs“chore: bump skills-for-fabric marketplace footer to 0.3.21”GitHub · Nov 7, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21”GitHub · Nov 6, 2026
- sudosubin/agents.nix“agent-skills.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21”GitHub · Nov 6, 2026
- sudosubin/agents.nix“claude-code-plugins.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21”GitHub · Nov 5, 2026
The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 37
Talked about on GitHub (37 times).
On GitHub · 37
- Jun 19, 2026BMAD as a Data Engineer — bmad-code-org/BMAD-METHOD1 reaction · 2 comments
- Nov 7, 2026chore: bump skills-for-fabric marketplace footer to 0.3.21 — sql-bi/docs0 reactions
- Nov 6, 2026claude-code-marketplaces.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-skills.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-plugins.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21 — sudosubin/agents.nix0 reactions
32 more on GitHub
- Nov 5, 2026copilot-plugins.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21 — sudosubin/agents.nix0 reactions
- Nov 5, 2026copilot-marketplaces.github.microsoft.skills-for-fabric: 0.3.20 → 0.3.21 — sudosubin/agents.nix0 reactions
- Oct 31, 2026AI guides: skills-for-fabric marketplace is now 0.3.20 — sql-bi/docs0 reactions
- Oct 29, 2026copilot-marketplaces.github.microsoft.skills-for-fabric: 0.3.19 → 0.3.20 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-marketplaces.github.microsoft.skills-for-fabric: 0.3.19 → 0.3.20 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.microsoft.skills-for-fabric: 0.3.19 → 0.3.20 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.microsoft.skills-for-fabric: 0.3.19 → 0.3.20 — sudosubin/agents.nix0 reactions
- Oct 29, 2026FS-03: Databricks import report names the Fabric migration gotchas — KratosDataGod/KratosForge0 reactions
- Oct 29, 2026claude-code-plugins.github.microsoft.skills-for-fabric: 0.3.19 → 0.3.20 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.microsoft.skills-for-fabric: init at 0.3.19 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.microsoft.skills-for-fabric: init at 0.3.19 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.microsoft.skills-for-fabric: 0.3.18 → 0.3.19 — sudosubin/agents.nix0 reactions
- Oct 21, 2026copilot-plugins.github.microsoft.skills-for-fabric: 0.3.18 → 0.3.19 — sudosubin/agents.nix0 reactions
- Oct 21, 2026copilot-marketplaces.github.microsoft.skills-for-fabric: 0.3.18 → 0.3.19 — sudosubin/agents.nix0 reactions
- Oct 18, 2026build: bump @microsoft/powerbi-report-authoring-cli from 0.4.0 to 0.5.0 in /apps/australian-accounting-power-bi — ryanduguid/accounting-review-pipeline0 reactions
- Oct 17, 2026AI tools guides: the plugin's own MCP server definition has no --accepteula — sql-bi/docs0 reactions
- Oct 17, 2026AI tools guides: the powerbi-authoring plugin now has two skills, not five — sql-bi/docs0 reactions
- Oct 16, 2026[Candidate] microsoft/skills-for-fabric - large collection (51 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026Bump @microsoft/powerbi-report-authoring-cli from 0.4.0 to 0.5.0 in /mcp — Antnioo/DataArcus0 reactions · 1 comment
- Oct 9, 2026Bump @microsoft/powerbi-report-authoring-cli from 0.1.4 to 0.5.0 — quantameridian/powerbi-kpi-semantic-model0 reactions
- Oct 4, 2026copilot-plugins.github.microsoft.skills-for-fabric: init at 0.3.18 — sudosubin/agents.nix0 reactions
- Oct 4, 2026copilot-marketplaces.github.microsoft.skills-for-fabric: init at 0.3.18 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.microsoft.skills-for-fabric: 0.3.17 → 0.3.18 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.microsoft.skills-for-fabric: init at 0.3.17 — sudosubin/agents.nix0 reactions
- Sep 25, 2026Bump @microsoft/powerbi-report-authoring-cli from 0.1.4 to 0.4.0 — quantameridian/powerbi-kpi-semantic-model0 reactions · 1 comment
- Aug 20, 2026fix: remove deprecated fabric-authoring, fabric-consumption, fabric-operations — github/copilot-plugins0 reactions
- Aug 17, 2026[BUG] Marketplace catalog outdated: `fabric-authoring`, `fabric-consumption` and `fabric-operations` — github/copilot-plugins0 reactions
- Aug 16, 2026Add Skills for Fabric to the catalog — gronnerup/fabricstack0 reactions
- Jul 2, 2026library: skills-for-fabric — gronnerup/fabricstack0 reactions
- Jul 2, 2026feat(plugin): ship a plugin marketplace so skills install in one command (GitHub Copilot CLI + Claude Code) — sdebruyn/fabric-dw-mcp-cli0 reactions · 1 comment
- Jun 29, 2026frabic skills — lagimik/PartnerCrucible0 reactions
- Apr 12, 2026[QUESTION] How to install the Skills for fabric-cli and keep them updated? — microsoft/fabric-cli0 reactions · 5 comments
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- microsoft/microsoft-sql★ 2257% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- activator-cliSkill
- azmon-mirroredcatalogs-operations-cliSkill
- databasehub-cliSkill
- databricks-migrationSkill
- dataflows-cliSkill
- deployment-pipelines-authoring-cliSkill
- e2e-fabric-cost-estimationSkill
- e2e-medallion-architectureSkill
- eventhouse-cliSkill
- eventschemaset-cliSkill
- eventstream-cliSkill
- fabriciqSkill
- fabric-policies-cliSkill
- git-integration-operations-cliSkill
- hdinsight-migrationSkill
- onelake-catalog-cliSkill
- ontology-cliSkill
- pipeline-migrationSkill
- project-osmosSkill
- search-consumption-cliSkill
- semantic-model-authoringSkill
- spark-cliSkill
- sqldb-cliSkill
- sqldw-cliSkill
- synapse-migrationSkill
- variable-library-cliSkill
- powerbi-report-cliSkill
- semantic-model-authoringSkill
- activator-cliSkill
- azmon-mirroredcatalogs-operations-cliSkill
- databricks-migrationSkill
- dataflows-cliSkill
- deployment-pipelines-authoring-cliSkill
- e2e-fabric-cost-estimationSkill
- e2e-medallion-architectureSkill
- eventhouse-cliSkill
- eventschemaset-cliSkill
- eventstream-cliSkill
- fabriciqSkill
- fabric-policies-cliSkill
- git-integration-operations-cliSkill
- hdinsight-migrationSkill
- onelake-catalog-cliSkill
- ontology-cliSkill
- pipeline-migrationSkill
- powerbi-report-cliSkill
- project-osmosSkill
- search-consumption-cliSkill
- semantic-model-authoringSkill
- spark-cliSkill
- sqldb-cliSkill
- sqldw-cliSkill
- synapse-migrationSkill
- variable-library-cliSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Read-only analysis of the database estate exposed through Database Hub.
- Distinctive: line 64
Before the first Database Hub call, read references/private-over-public-api.md and the selected mode reference.
- Very specific: line 69
Run the documented live calls through https://api.fabric.microsoft.com.
- Distinctive: line 70
Follow every continuation token needed for the requested scope.
- Distinctive: line 79
If a route or permission is unavailable, state the exact missing coverage.
- Very specific: line 88
Use a delegated Entra user token for the Fabric API and include x-ms-fabric-skill: databasehub-cli on every request.
- Very specific: line 113
Treat HTTP 200 with non-empty errors, incomplete coverage, or remaining continuation tokens as partial, not complete success.
- Distinctive: line 131
Start with summary/count routes, then drill into only the affected population.
- Distinctive: line 132
Use server-provided finding summaries and high/low usage classifications instead of inventing thresholds.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Telemetry — MANDATORY. Every
api.fabric.microsoft.comcall must carryx-ms-fabric-skill: databasehub-cli(az rest:--headers "x-ms-fabric-skill=databasehub-cli"), including every LRO poll,fabric_lroand retry. Snippets omit it — add it anyway.
CRITICAL NOTES
- To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
- 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
- Database Hub estate routes are tenant-scoped and usually need neither a workspace nor an item ID. Apply notes 1-2 only when resolving a Fabric SQL catalog item or handing off to an item-specific skill.
Database Hub CLI
Read-only analysis of the database estate exposed through Database Hub. This skill executes live API calls; it does not answer estate questions from generic best practices or from files in the current directory.
Prerequisite knowledge
- Private-over-public API contract — required authentication, transport, pagination, partial-result, error, and route-safety rules.
- Health drill-downs and filtered snapshots — required for named SQL/PostgreSQL resources, per-resource SQL metrics, and filtered health comparisons.
- Fabric authentication and CLI patterns
- Fabric REST API concepts
- Databases in Fabric documentation
Select one mode
| Mode | Use when the request asks for | Read next |
consumption | estate counts, subscriptions, resource hierarchy, mixed or engine-specific inventory, saved-view membership, or Fabric SQL catalog entries | references/consumption.md |
operations | cross-engine performance, CPU/storage/memory, Cosmos DB availability/RU use, critical or monitored resources, issues/suggestions, or authentication/auditing/CMK posture | references/operations.md |
For a request spanning both modes, establish inventory scope first, then run operations against that scope. Read each reference before issuing its calls.
Scope and routing boundaries
| Request | Route to |
| Cross-engine estate inventory, health, findings, or security posture | databasehub-cli |
| Query Store, DMVs, blocking, plans, indexes, T-SQL, or tuning for one Fabric SQL Database | sqldb-cli |
Warehouse, Lakehouse SQL endpoint, or Mirrored Database SQL queries and queryinsights | sqldw-cli |
| OneLake domains, labels, workspace/capacity governance, descriptions, endorsement, or tags | onelake-catalog-cli |
| Fabric workspace item search by name, description, workspace, or type | search-consumption-cli |
| Eventhouse or KQL Database queries | eventhouse-cli |
| Azure Monitor mirrored-catalog onboarding and business-impact correlation | azmon-mirroredcatalogs-operations-cli |
Fabric SQL support here is catalog inventory only. Do not claim Database Hub health or posture coverage for Fabric SQL items. Do not substitute a single-database diagnostic skill for a cross-engine estate request.
Execution contract
- Confirm the active Entra identity and requested scope. Portal-provided subscriptions, resource filters, or time range are query hints, never authorization.
- Before the first Database Hub call, read
references/private-over-public-api.md
and the selected mode reference. For named-resource or filtered health
drill-downs, read references/health-drilldowns.md
in addition to
operations.md, not instead of it. - Run the documented live calls through
https://api.fabric.microsoft.com. - Follow every continuation token needed for the requested scope.
- Report timeframe, aggregation, engine coverage, pagination completeness,
coverage, and sanitizederrors. - For prompts containing "all", "across", or "estate", complete every required summary/posture call in the selected workflow before answering. Attempt independent required calls even when another route fails; collect each route's error instead of short-circuiting the workflow. Only a page that depends on a failed prior page/token may be skipped. Do not defer required calls as an optional follow-up.
- If a route or permission is unavailable, state the exact missing coverage; never invent data, switch to a workload host, or query ADX directly.
Must / Prefer / Avoid
MUST
- Remain read-only. Decline create, deploy, enable, disable, update, delete, or remediation requests and route them to the owning product flow or skill.
- Use a delegated Entra user token for the Fabric API and include
x-ms-fabric-skill: databasehub-clion every request. - Emit SQL and PostgreSQL health summaries only through the compact
Select-Objectprojection inoperations.md; never print raw summaries with theirseriesarrays. A populated estate's raw summaries exceed the tool-output limit, and answering from partial file reads misattributes metrics. - For general cross-engine health/performance that includes Cosmos availability or RU, query Microsoft SQL, PostgreSQL, and Cosmos DB separately; preserve their different metric contracts in the answer. For a CPU-only request, query SQL and PostgreSQL and state that Cosmos CPU is not exposed by this contract.
- For general cross-engine health/performance requests that include Cosmos
availability/RU, and for all-findings requests, page Cosmos health with the
filtered POST form until
continuationTokenis absent. A first-page Cosmos result is incomplete. Do not call Cosmos health for inventory-only or CPU-only requests. - In every Cosmos health answer, label
processedAccountsandtotalAccountsseparately even when they are equal; do not compress them into one unlabeled account count. When they differ, literally label coveragepartialorinconsistent. WhentotalAccountsis0, reporttotalAccounts: 0, say there are no Cosmos DB accounts in scope and therefore no availability or normalized RU data, and do not call Cosmos healthy. - For CPU-only requests, report CPU evidence only. Do not add storage or memory counts merely because the summary response also contains them.
- Treat HTTP 200 with non-empty
errors, incompletecoverage, or remaining continuation tokens as partial, not complete success. - Label posture denominators exactly: authentication counts cover Azure SQL databases plus Arc SQL Server, while auditing and CMK counts cover Azure SQL databases only. Repeat the literal scope on each posture line: "Azure SQL + Arc SQL Server" for authentication and "Azure SQL only" for both auditing and CMK.
- For "all issues and suggestions" output, report both
totalFindingCountandtotalAffectedResourceCountfor every returned database family. Do not substitute affected-resource counts for finding totals. - State that Cosmos DB exposes availability and normalized RU consumption here, not CPU, memory, storage, latency, or throttled-request diagnostics.
- State normalized RU saturation and explicitly say it does not prove throttled requests because this contract exposes no throttling metric. Do not rephrase saturation as a confirmed, likely, or potential throttling risk.
PREFER
- Start with summary/count routes, then drill into only the affected population.
- Use server-provided finding summaries and high/low usage classifications instead of inventing thresholds.
- Project compact typed summaries from API responses. Do not dump full metric
series or finding
targetSummariesunless the user asks for them; oversized tool output is harder to ground reliably. - Group results by database family and priority, with affected counts and named examples only when the user asks for detail.
- Reuse an immutable filter snapshot across pages and related filtered calls.
AVOID
- Direct calls to ADX, Kusto,
arcdataservices.com, workload regional hosts, or any MWC-token flow. - Agent-authored KQL, schema discovery, or arbitrary telemetry queries.
- Claiming IO support; the current health contract exposes CPU, storage, and memory for Microsoft SQL/PostgreSQL.
- Inferring throttled requests or throttling from normalized RU consumption alone. This contract reports RU saturation, not throttling events.
- Treating an empty response as healthy when authorization, coverage, paging, or partial errors are unresolved.
Examples
User: Are there any performance issues I should know about in my data estate?
Mode: operations
Action: Query all three health families, report performance findings and partial coverage, then drill into high-usage SQL/PostgreSQL resources when needed.User: What should I fix first to improve security across my databases?
Mode: operations
Action: Compare security issues with authentication, auditing, and CMK posture; prioritize affected resources without changing them.User: Show my database estate by engine and subscription.
Mode: consumption
Action: Read counts, page the requested inventory, and group returned resources by type and subscription.User: How is my CPU consumption looking across my databases recently?
Mode: operations
Action: Query Microsoft SQL and PostgreSQL CPU coverage and explicitly note that this Database Hub Cosmos contract has no CPU metric.User: Give me a breakdown of all issues and suggestions across my data estate.
Mode: operations
Action: Combine health finding summaries with security issue/suggestion summaries and list affected resources through read-only drill-down routes.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

