舆情数据智能同步与AI标注
简介
小爱数据同步飞书多维表并智能标注,支持情感分析、竞品识别、品牌与内容安全检测,实现舆情数据自动化处理
原始描述
Incrementally sync data from XiaoAi API to Feishu Bitable and optionally auto-label records with machine-based type and sentiment annotations.
通过你的 Agent 添加
安装目录:yuqing-bitable-and-label/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: xiaoai_sync_and_label version: "2.1.0" description: > 先从小爱数据接口增量拉取数据写入飞书多维表,再对多维表做增量标注: 类型(机器)、评价情感(机器)、是否提及竞品(机器)、端(机器)、品牌安全(AI)、内容安全(AI)。 可选开启标注:设置 run_labeling=true,标注由 OpenClaw 内置大模型提供(通过 stdin 或内置模型调用传入模型输出)。
entrypoint: command: "python" args: - "sync_and_label_skill.py"
inputs:
-
name: minutes type: integer required: false default: 60 description: 同步时间窗口,往前补偿的分钟数(基于当前时间)
-
name: folder_id type: integer required: false default: 763579 description: 小爱接口 folder_id
-
name: customer_id type: string required: false default: "xmxa" description: 小爱接口 customer_id
-
name: app_id type: string required: true description: 飞书开放平台应用 APP_ID
-
name: app_secret type: string required: true description: 飞书开放平台应用 APP_SECRET
-
name: xiaoai_token type: string required: true description: 小爱接口 token(Bearer 后面的部分)
-
name: bitable_url type: string required: true description: 目标飞书多维表视图链接(包含 base/app_token 和 table 参数)
-
name: xiaoai_base_url type: string required: false default: "http://wisers-data-service.wisersone.com.cn" description: 小爱 API 基础域名
-
name: run_labeling type: boolean required: false default: false description: 同步完成后是否执行多维表增量标注(类型(机器)、评价情感(机器)、是否提及竞品(机器)、端(机器)、品牌安全(AI)、内容安全(AI))
-
name: labeling_limit type: integer required: false default: 100 description: 本次标注最多处理的记录数
outputs:
-
name: inserted_count type: integer description: 本次同步写入多维表的记录数
-
name: labeling_updated_count type: integer description: 本次标注写回的记录数(未开启标注时为 0)
permissions: network: - "https://open.feishu.cn" - "http://wisers-data-service.wisersone.com.cn"
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。