Tooluck logoTooluck
SKILL.md

databasehub-cli

Agent skill frommicrosoft/skills-for-fabric

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.

How to install databasehub-cli

install databasehub-cli
# install the skills-for-fabric pack with the skills CLI
npx skills add microsoft/skills-for-fabric

# or add only this skill to Claude Code: copy the folder

skills/databasehub-cli/

# into

~/.claude/skills/databasehub-cli/ (all projects)

.claude/skills/databasehub-cli/ (one project)

skills/databasehub-cli/SKILL.md

MITFull file
1> **Telemetry — MANDATORY.** Every `api.fabric.microsoft.com` call must carry
2> `x-ms-fabric-skill: databasehub-cli` (`az rest`: `--headers "x-ms-fabric-skill=databasehub-cli"`),
3> including every LRO poll, `fabric_lro` and retry. Snippets omit it — add it anyway.
4
5> **CRITICAL NOTES**
6> 1. To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
7> 2. 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
8> 3. 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.
9
10# Database Hub CLI
11
12Read-only analysis of the database estate exposed through Database Hub. This
13skill executes live API calls; it does not answer estate questions from generic
14best practices or from files in the current directory.
15
16## Prerequisite knowledge
17
18- [Private-over-public API contract](references/private-over-public-api.md) —
19 required authentication, transport, pagination, partial-result, error, and
20 route-safety rules.
21- [Health drill-downs and filtered snapshots](references/health-drilldowns.md)
22 — required for named SQL/PostgreSQL resources, per-resource SQL metrics, and
23 filtered health comparisons.
24- [Fabric authentication and CLI patterns](../../common/COMMON-CLI.md)
25…

Excerpt shown under the repository's MIT license.

More skills in skills-for-fabric

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates