Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

fabric-cli-corefabric CLI core 搜索

Agent Skill

fabric-cli-core 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,212

周安装

51

GitHub Stars

117

下载量

424
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fabric-cli-core(fabric CLI core 搜索)
来源仓库:https://github.com/microsoft/fabric-cli
仓库路径:skills/fabric-cli-core
安装命令:
npx skills add https://github.com/microsoft/fabric-cli --skill fabric-cli-core
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/microsoft/fabric-cli --skill fabric-cli-core

简介

fabric-cli-core 提供 Microsoft Fabric CLI 的安全一致默认配置,适用于通过 fab 命令操作 Fabric 的各类场景。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中执行自动化脚本、健康检查及路径实体管理任务。
  • 需先安装 fabric-cli-core,再结合具体脚本使用;建议确认权限与维护状态后再运行命令。
  • 涉及联网或文件操作时,应评估安全风险并限制最小必要权限范围。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Fabric CLI Core

This skill defines safe, consistent defaults for an AI agent helping users operate Microsoft Fabric via the Fabric CLI (fab).

1 - Fabric CLI mental model (paths and entities)

Automation Scripts

Ready-to-use Python scripts for core CLI tasks. Run any script with --help for full options.

ScriptPurposeUsage
health_check.pyVerify CLI installation, auth status, and connectivitypython scripts/health_check.py [--workspace WS]

Scripts are located in the scripts/ folder of this skill.

Paths and Entities

  • Treat Fabric as a filesystem-like hierarchy with consistent dot (.) entity suffixes in paths (e.g., .Workspace, .Folder, .SemanticModel).
  • The hierarchy structure is:

- Tenant: The top-level container for everything. - Workspace: Personal or team workspace holding folders, items, and workspace-level elements. - Folder: Container for organizing items within a workspace (supports ~10 levels of nesting). - Item: Individual resource within a workspace or folder (e.g., Notebook, SemanticModel, Lakehouse). - OneLakeItem: OneLake storage item residing within a Lakehouse (tables, files, etc.).

  • Prefer and generate paths like:

- /Workspace1.Workspace/Notebook1.Notebook - /Workspace1.Workspace/FolderA.Folder/SemanticModel1.SemanticModel - /Workspace1.Workspace/FolderA.Folder/lh1.Lakehouse/Tables (OneLakeItem)

  • When a user provides an ambiguous identifier, ask for the full path (or infer with stated assumptions).

2 - Modes (interactive vs command line)

  • Be explicit about which mode a user is in:

- Interactive mode behaves like a REPL and runs commands without the fab prefix. - Command line mode runs one command per invocation and is best for scripts/automation.

  • The selected mode is preserved between sessions. If a user exits and logs back in, the CLI resumes in the same mode last used.
  • When you provide instructions, show commands in command line mode unless the user says they're in interactive mode.

3 - Authentication (public-safe guidance)

  • Prefer these auth patterns and do not invent new flows:

1. Interactive user: fab auth login (browser/WAM where supported). 2. Service principal (secret/cert): use environment variables / secure mechanisms; avoid embedding secrets in files. 3. Service principal (federated credential): use the federated token environment variable (FAB_SPN_FEDERATED_TOKEN) and do not persist the raw token. 4. Managed identity: supported for Azure-hosted workloads; no credentials required.

  • Never ask users to paste secrets into chat or print them back.

4 - Sensitive data handling (strict)

  • Never log or output tokens, passwords, client secrets, or raw federated tokens.
  • Validate all user inputs that could affect security:

- Paths: Sanitize file paths and API parameters. - GUIDs: Validate resource identifiers before use. - JSON: Validate JSON inputs for proper format.

  • If a user shares sensitive strings, advise rotating/regenerating them and moving to secure storage.

5 - Hidden entities and discovery

  • Hidden entities are special resources not normally visible, following a dot-prefixed naming convention (similar to UNIX hidden files).
  • Tenant-level hidden entities (accessed from root):

- .capacitiesfab ls.capacities / fab get.capacities/<name>.Capacity - .gatewaysfab ls.gateways / fab get.gateways/<name>.Gateway - .connectionsfab ls.connections / fab get.connections/<name>.Connection - .domainsfab ls.domains / fab get.domains/<name>.Domain

  • Workspace-level hidden entities (accessed within a workspace):

- .managedidentitiesfab ls ws1.Workspace/.managedidentities - .managedprivateendpointsfab ls ws1.Workspace/.managedprivateendpoints - .externaldatasharesfab ls ws1.Workspace/.externaldatashares - .sparkpoolsfab ls ws1.Workspace/.sparkpools

  • To show hidden resources, recommend ls -a / ls --all.

6 - Errors and troubleshooting guidance

  • When describing failures, include:

- What the command was trying to do - The likely cause - The next actionable step

  • If the CLI surfaces an error code/message, keep it intact and do not paraphrase away the key identifiers. (Fabric CLI emphasizes stable error codes/messages.)
  • Include request IDs for API errors to aid debugging when available.

7 - Output conventions for the agent

  • Default to concise, runnable steps.
  • When recommending commands, include:

- Preconditions (auth, correct workspace/path) - Expected result - How to verify (e.g., follow-up fab ls / fab get)

8 - Safety defaults

  • Ask before suggesting commands that delete, overwrite, or change access/permissions.
  • If the user explicitly confirms, proceed with a clear rollback note when possible.

9 - Platform and troubleshooting reference

  • Supported platforms: Windows, Linux, macOS.
  • Supported shells: zsh, bash, PowerShell, cmd (Windows command prompt).
  • Python versions: 3.10, 3.11, 3.12, 3.13.
  • CLI file storage (useful for troubleshooting):

- Config files are stored in ~/.config/fab/: - cache.bin — encrypted auth token cache - config.json — non-sensitive CLI settings - auth.json — non-sensitive auth info - context-<session_id> — path context for command-line mode sessions - Debug logs are written to: - Windows: %AppData%/fabcli_debug.log - macOS: ~/Library/Logs/fabcli_debug.log - Linux: ~/.local/state/fabcli_debug.log

10 - Critical operational rules

  • First run: Always run fab auth status to verify authentication before executing commands. If not authenticated, ask the user to run fab auth login.
  • Learn before executing: Always use fab --help and fab <command> --help the first time you use a command to understand its syntax.
  • Start simple: Try the basic fab command alone first before piping or chaining.
  • Non-interactive mode: Use fab in command-line mode when working with coding agents. Interactive mode doesn't work with automation.
  • Force flag: Use -f when executing commands if the flag is available to run non-interactively (skips confirmation prompts).
  • Verify before acting: If workspace or item name is unclear, ask the user first, then verify with fab ls or fab exists before proceeding.
  • Permission errors: If a command is blocked by permissions, stop and ask the user for clarification; never try to circumvent it.

11 - Common item types

ExtensionDescription
.WorkspaceWorkspace container
.FolderFolder within workspace
.SemanticModelPower BI dataset/semantic model
.ReportPower BI report
.DashboardPower BI dashboard
.NotebookFabric notebook
.LakehouseLakehouse
.WarehouseData warehouse
.DataPipelineData pipeline
.SparkJobDefinitionSpark job definition
.EventstreamReal-time event stream
.KQLDatabaseKQL database
.MLModelML model
.MLExperimentML experiment
.CapacityFabric capacity (hidden)
.GatewayData gateway (hidden)
.ConnectionConnection (hidden)

Use fab desc.<ItemType> to explore any item type.

12 - Command references

For detailed command syntax and working examples, see:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.16%
按下载量换算166

Claude

28.96%
按下载量换算123

Cursor

19.15%
按下载量换算81

Gemini CLI

9.56%
按下载量换算41

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills