powerbi数据模型关键信息提取

SKILL研究检索
研究检索 未标注权限 许可证不明确
安装这个技能

Extract Power BI / Fabric semantic model definitions (TMDL) from the Power BI Service and compress them into AI-friendly Markdown summaries. Use when the user wants to download, dump, export, or analyze Power BI semantic models / datasets / TMDL, understand a Power BI report's tables / measures / relationships / DAX / Power Query (M) logic, batch-extract every model in a workspace, list Power BI workspaces, or check which datasets have scheduled refresh. Triggers on mentions of Power BI, Fabric, semantic model, TMDL, PBIP, .SemanticModel, DAX measures, or "extract/analyze a Power BI model".

一句话选型结论

按资料字段整理

powerbi数据模型关键信息提取是研究检索类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_1f020d8e/powerbimodelextract
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_1f020d8e仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791737512
正文体量4.7 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
powerbi数据模型关键信息提取当前 未标注权限 未标注 未标注 未标注 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

SKILL.md 全文

4.7 KB
模型实际读到的说明书原文,来自技能仓库

Power BI Model Extract

Overview

Two-stage workflow: (1) extract TMDL definitions of semantic models from the Power BI Service via REST API, then (2) compress the verbose TMDL into a compact Markdown summary (~95% smaller) that preserves the business logic — measures, columns, relationships, DAX, and Power Query/SQL source — while stripping metadata noise. batch_extract.py does both stages in one run; compress_tmdl.py can also run standalone on any local .SemanticModel folder (e.g. a PBIP project).

All scripts live in scripts/. On Windows, always set PYTHONIOENCODING=utf-8 PYTHONUTF8=1 — the scripts print emoji/Chinese and will crash under the default GBK codec otherwise.

Common tasks

Run from the skill's scripts/ directory (or reference scripts by absolute path).

Extract all models in a workspace (download + compress):

python batch_extract.py <workspace_id>

Output goes to extracted_models/ next to the script: one <name>.SemanticModel/ folder (raw TMDL) plus one <name>_summary.md (compressed) per model.

Useful flags (see the docstring at the top of batch_extract.py for the full list):
- --filter "<name>" — only models whose name contains the string
- --scheduled-only — only models with a Scheduled refresh configured (i.e. live production models)
- --no-compress — download raw TMDL only, skip the Markdown step
- --output-dir <path> — change the output location
- --token "<bearer>" — supply a Fabric bearer token explicitly

Compress a local model that's already on disk (e.g. a PBIP .SemanticModel folder, no API/auth needed):

python compress_tmdl.py "<path>/Something.SemanticModel" output_summary.md

List all accessible workspaces (to find a workspace_id):

python list_all.py

Check which datasets in a workspace have refresh history / scheduled refresh:

python check_refresh.py <workspace_id>

Authentication

batch_extract.py (and the helpers that import it) acquire a Fabric/Power BI token in this priority order — the first that works wins:

  1. FABRIC_TOKEN env var or --token — a raw bearer token. Fastest ad-hoc method: in a browser on app.powerbi.com, open DevTools → Network → click any request → copy the Authorization: Bearer … value.
  2. Azure CLI — if az is installed and az login has been run, the token is fetched automatically.
  3. MSAL device-code flow — requires pip install msal. Prints a code + URL to log in via browser; caches a refresh token to ~/.pbip_token_cache.json so subsequent runs are silent for ~90 days.

If all fail, the script prints instructions and exits.

How compression works (when adjusting output)

compress_tmdl.py reduces TMDL ~95% by:
- Dropping noise lines — lineageTag, annotation PBI_*, formatString, displayFolder, queryGroup, etc. (see NOISE_PATTERNS).
- Skipping auto-generated boilerplate — parameter queries and "Combine Files from Folder" helper queries (is_trivial_helper), and empty/LocalDateTable cruft.
- Restructuring into Markdown — a relationships table, a Data Sources/ETL section (Power Query M), then per-table sections with Measures (DAX in fenced blocks), Columns (a type table), and the partition source. Tables are ordered 01Measures_ → dim_* → fact_* → other.
- Expanding Power Query escapes (#(lf), #(tab)) into real newlines for readability.

To tune what's kept vs. dropped, edit NOISE_PATTERNS, HELPER_FILE_OPS/COMPLEX_OPS, or the section builders in compress_tmdl.py. batch_extract.py imports these functions directly, so changes apply to both paths.

Notes

  • If the user doesn't provide a workspace_id, run list_all.py to enumerate accessible workspaces and let them pick.
  • Fabric API workspace/model listing can be blocked by tenant DLP policy (HTTP 403); the scripts automatically fall back to the classic Power BI REST API, so this is handled transparently.
  • getDefinition is a long-running operation; batch_extract.py polls the operation until it succeeds — extraction of a large model can take tens of seconds.

常见问题

5 问
答案由本站依据条目字段整理
powerbi数据模型关键信息提取怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_1f020d8e/powerbimodelextract。安装方式为未标注。装完刷新技能列表或重开客户端。

powerbi数据模型关键信息提取支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

powerbi数据模型关键信息提取权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

powerbi数据模型关键信息提取收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

powerbi数据模型关键信息提取用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。