Install
openclaw skills install finebi-skill一个用于 OpenClaw 的 FineBI 技能,支持 npx 直接运行和插件体系,提供数据分析和可视化功能
openclaw skills install finebi-skill该技能集成了 FineBI,能够通过自然语言实现数据分析、生成报告以及查询数据集等功能。
get-dataset-info通过名称查询 FineBI 数据集信息。
参数:
dataset (string, 必填): 要查询的数据集名称filters (object, 选填): 用于过滤的键值对preview-dataset-data获取数据集的数据预览(限制最大不超过 10w 条数据)。
参数:
dataset (string, 必填): 数据表的原始名称page (number, 选填): 页码,默认为 1size (number, 选填): 每页数据量,最大支持 100000,默认为 100search-datasets根据关键字分⻚搜索 FineBI 数据集。
参数:
keyword (string, 必填): 要搜索的关键字page (number, 选填): 页码,默认为 1export-dashboard-excel将仪表板导出为 Excel 格式。
参数:
reportId (string, 必填): 仪表板 IDwidgetId (string, 选填): 组件 ID,用于导出特定的组件export-dashboard-pdf将仪表板导出为 PDF 格式。响应中会返回文件路径,和文件名。
参数:
reportId (string, 必填): 仪表板 IDexport-dashboard-image将仪表板导出为 PNG 格式的图片。
参数:
reportId (string, 必填): 仪表板 IDget-dashboard-user-info获取当前用户信息及其创建的仪表板。
参数: 无
get-dashboards-by-subject获取特定主题下的仪表板列表。
参数:
subjectId (string, 必填): 主题 ID本技能目录下包含 4 个紧密关联的子技能,提供高级自动化场景支持。
⚠️ 重要:子技能不会自动触发,需要在使用时手动读取对应 SKILL.md 文件。
| 子技能 | 功能描述 | 触发场景 | 文件路径 |
|---|---|---|---|
| bi-report-to-doc | 将 FineBI 仪表盘数据自动生成飞书云文档分析报告 | 经营周报/月报/异常分析报告自动生成 | bi-report-to-doc/SKILL.md |
| skill-bi-briefing | 将 FineBI 核心指标压缩成飞书群播报卡片,支持定时任务 | 日报/周报/月报/异常播报定时群同步 | skill-bi-briefing/SKILL.md |
| skill-bi-skill-alert-to-task | 监控 FineBI 指标阈值,自动创建飞书任务并通知负责人 | 库存/销售额/订单金额等阈值告警 | skill-bi-skill-alert-to-task/SKILL.md |
| skill-bi-to-bitable | 将 FineBI 数据集同步到飞书多维表格,支持追加/覆盖/增量模式 | 数据归档/定时同步/二次协作 | skill-bi-to-bitable/SKILL.md |
使用时通过 read 工具读取对应子技能的 SKILL.md:
{
"action": "read",
"path": "~/.openclaw/workspace/skills/finebi-skill/bi-report-to-doc/SKILL.md"
}
或在主技能中根据用户意图自动推荐:
检测到您需要生成经营分析报告,推荐加载
bi-report-to-doc子技能。
典型场景:
核心动作链:
search-dashboards → get-dashboard-detail → export-dashboard-pdf/image
→ 结构化提取 → create-doc → write-content
典型场景:
核心动作链:
search-dashboards → get-dashboard-detail → preview-dataset-data
→ 结构化播报对象 → send-message-card / create-cron-job
典型场景:
核心动作链:
search-datasets → get-dataset-info → preview-dataset-data
→ 阈值判定 → create-task → send-private-message
典型场景:
核心动作链:
search-datasets → get-dataset-info → preview-dataset-data
→ get-bitable-meta → 字段映射 → append/overwrite/upsert
如果需要提取某个表的数据,标准的工作流程是:
search-datasets 命令,根据表名查到表信息,在返回结果中获取对应表的 ID(通常为 name 字段,即表的原始名称)。preview-dataset-data 命令,传入查到的 ID,从而获取该数据集的具体数据记录。⚠️ 重要警告:分析 PDF 时必须且只能使用 OpenClaw 内置的 pdf 工具!禁止使用任何其他方式读取 PDF 内容!
工作流程:
export-dashboard-pdf 命令,传入 reportId 参数,获取导出的 PDF 文件路径。/tmp/ 或 AppData/Local/Temp/),必须先复制到工作空间目录(通常是 workspace)。
Copy-Item <源路径> -Destination "C:\Users\dailer\.openclaw\workspace\"cp <源路径> ~/workspace/pdf 工具读取 PDF 文件(传入本地文件路径),提取图表和数据内容。report-listMigrated tool: reportList
参数:
subjectId: 必填report-infoMigrated tool: reportInfo
参数:
reportIds: 必填report-consanguinityMigrated tool: reportConsanguinity
参数:
reportId: 必填report-checkMigrated tool: reportCheck
参数:
package-listMigrated tool: packageList
参数:
package-structureMigrated tool: packageStructure
参数:
packId: 必填withTables: 必填data-foldersMigrated tool: dataFolders
参数:
data-folder-treeMigrated tool: dataFolderTree
参数:
folderId: 必填data-table-previewMigrated tool: dataTablePreview
参数:
tableName: 必填data-table-structureMigrated tool: dataTableStructure
参数:
tableName: 必填data-modelMigrated tool: dataModel
参数:
modelId: 必填data-queryMigrated tool: dataQuery
参数:
body: 必填data-previewMigrated tool: dataPreview
参数:
body: 必填data-search-tablesMigrated tool: dataSearchTables
参数:
body: 必填data-search-fieldsMigrated tool: dataSearchFields
参数:
body: 必填data-field-dataMigrated tool: dataFieldData
参数:
body: 必填data-field-rangeMigrated tool: dataFieldRange
参数:
body: 必填spider-statusMigrated tool: spiderStatus
参数:
taskInstanceId: 必填subject-foldersMigrated tool: subjectFolders
参数:
subject-tree-rootMigrated tool: subjectTreeRoot
参数:
subject-folderMigrated tool: subjectFolder
参数:
folderId: 必填subject-treeMigrated tool: subjectTree
参数:
folderId: 必填subject-crumbMigrated tool: subjectCrumb
参数:
folderId: 必填subject-contentMigrated tool: subjectContent
参数:
subjectId: 必填subject-reportsMigrated tool: subjectReports
参数:
subjectId: 必填subject-getMigrated tool: subjectGet
参数:
subjectIds: 必填subject-searchMigrated tool: subjectSearch
参数:
body: 必填subject-groups-searchMigrated tool: subjectGroupsSearch
参数:
body: 必填subject-consanguinityMigrated tool: subjectConsanguinity
参数:
subjectId: 必填