databasehub-cli

databasehub-cli is a skill for Claude Code from microsoft/skills-for-fabric. It costs 98 tokens per session (2,262 once invoked), scanned A, original, MIT.

A read-only command-line tool for examining a database estate through Microsoft Fabric APIs. It reports inventories, health, resource use, availability, and selected security settings across database services.

In plain words
What is it for?
It helps count databases, inspect SQL and PostgreSQL CPU, storage and memory, review Cosmos DB availability and request use, and find authentication, auditing, or encryption warnings.
Why use it?
It replaces manual inspection of many database systems with consistent live queries and highlights operational or security issues that need attention.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fabric-skills plugin — 25 skills shipped together

Good fit It helps count databases, inspect SQL and PostgreSQL CPU, storage and memory, review Cosmos DB availability and request use, and find authentication, auditing, or encryption warnings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/skills-for-fabric/databasehub-cli
About the project

Microsoft Fabric Skills is a collection of reusable instructions and MCP systems that help AI assistants work with Microsoft Fabric workloads, APIs, queries, and operations. It is intended for users of GitHub Copilot CLI and compatible coding tools; the catalogue entries are the skills, agents, instructions, MCP systems, plugins, and rules distributed by the project.

microsoft/skills-for-fabric · 1,321 stars · on GitHub

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 microsoft/skills-for-fabric --skill databasehub-cli
Clone the repo
git clone --depth 1 https://github.com/microsoft/skills-for-fabric

Made for: Claude Code.

Or install fabric-skills, the plugin that ships this one along with the rest of its 25 skills.

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 databasehub-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/skills-for-fabric/databasehub-cli"><img src="https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/databasehub-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,262 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.00098 $0.02262
Opus 5.5 $0.00039 $0.00905
Sonnet 5.5 $0.00020 $0.00452
Haiku 4.5 $0.00010 $0.00226

Measured yesterday against content hash 996ae5f27f29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

databasehub-cli 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 yesterday.

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.

plugins/fabric-skills/skills/databasehub-cli/SKILL.md · 184 lines

How it starts

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

Telemetry — MANDATORY. Every api.fabric.microsoft.com call must carry x-ms-fabric-skill: databasehub-cli (az rest: --headers "x-ms-fabric-skill=databasehub-cli"), including every LRO poll, fabric_lro and retry. Snippets omit it — add it anyway.

CRITICAL NOTES

  1. To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
  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
  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.

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

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

Read the full file on GitHub · 184 lines

Files

What ships with it

4 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. yesterday First seen · 184 lines · 98 tokens per session scan A 996ae5f27f29

Subscribe to this mod's changes

databasehub-cli is a skill published in the GitHub repository microsoft/skills-for-fabric (1,321 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 2,262 once invoked, about $0.0004 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-11-06.

Related

databasehub-cli compared with skills from other repositories

databasehub-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databasehub-climicrosoft/skills-for-fabricSkill1.3kyesterdayMITA98Claude Code
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.8kyesterdayApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill923yesterdayMITA79Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex