← 返回 Skills 市场
ganguagua

飞书周报合并一体化流程

作者 ganguagua · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-bitable-weekly-report-merge
功能描述
飞书多维表格周报权限检查与合并一体化工具。用户输入一个飞书多维表格 URL,自动完成:提取「链接地址」列 → 批量检查飞书文档阅读权限 → 将有权限的文档按章节合并为新文档。输出有权限列表、无权限列表,以及合并后的新飞书文档链接。触发词:多维表格周报合并、批量合并周报、多维表格文档合并。
使用说明 (SKILL.md)

Feishu Bitable Weekly Report Merge

输入多维表格 URL,一键完成权限检查 + 文档合并全流程。

工作流程

Step 1:解析多维表格 URL

支持格式:

  • 完整 URL:https://asiainfo.feishu.cn/base/FDo4bVmnVaYRJlslJttcPwgwnfh?table=tblRjin7OM9XvEDL&view=vew3qPDrS3
  • 仅 app_token:需同时提供 table_id

从 URL 提取:

  • app_token:第一个路径段
  • table_idtable= 参数值

Step 2:查找「链接地址」列字段 ID

调用 feishu_bitable_app_table_field 获取表结构,找到字段名「链接地址」的 field_id

Step 3:提取所有记录

调用 feishu_bitable_app_table_record,返回 员工姓名 + 链接地址 两列。

Step 4:批量检查文档权限

对每个链接调用 feishu_fetch_doc

  • 成功 → 有权限
  • forBidden → 无权限
  • frequency limit → 等 3 秒重试,再失败视为无权限

Step 5:输出结果

向用户汇报:

  • ✅ 有权限文档(数量 + 列表)
  • ❌ 无权限文档(数量 + 列表)

Step 6:合并有权限文档

注意:需先向用户确认是否继续合并操作,避免自动合并大量文档产生不预期结果。

合并规则(详见 references/merge_rules.md):

  • 按文档提供顺序拼接
  • 每位员工前加 ## 【姓名】 子标题
  • Part1~Part5 依次排列
  • 原文不修改不总结,lark-table 等格式保留

调用 feishu_create_doc 创建合并文档,标题: [AIO]-[姓名1/姓名2/...]-周报合并-YYYY-MM

关键约束

  1. 确认后再合并:权限检查完成后,输出有/无权限列表后,先问用户"是否将以上有权限的文档合并?",用户确认后再执行合并
  2. 权限隔离:只向 owner 报告结果
  3. 限流处理:每个文档最多重试 2 次,每次间隔 3 秒
  4. 空表处理:如果所有文档均无权限,告知用户并结束

工具依赖链

feishu_bitable_app_table_field  → 查字段
feishu_bitable_app_table_record → 读记录
feishu_fetch_doc                → 验权限
feishu_create_doc               → 建合并文档

详细权限判断逻辑见 references/permission_rules.md

安全使用建议
This skill appears to do what it says (batch-check Feishu/Bitable links and merge accessible docs). Before installing: 1) Confirm how Feishu authentication is provided — the skill doesn't list required credentials, so verify whether the agent platform supplies a Feishu connector/token or you'll need to provide one. 2) Review and limit the Feishu scopes granted (read many docs vs read-only specific tables, plus permission to create docs). 3) Test on a small sample to confirm the 'confirm before merge' step is enforced and merged documents appear where you expect. 4) Ask the platform vendor how owner-reporting is enforced (the SKILL.md promises results are only reported to the owner). If you cannot verify the auth/connector behavior, treat the skill cautiously.
功能分析
Type: OpenClaw Skill Name: feishu-bitable-weekly-report-merge Version: 1.0.0 The skill bundle is a legitimate automation tool for merging Feishu Bitable weekly reports. It follows a clear workflow of parsing URLs, checking document permissions, and merging content into a new Feishu document using standard Feishu API tools (feishu_fetch_doc, feishu_create_doc). The Python snippets in the reference files (merge_rules.md, permission_rules.md) perform safe string manipulation and URL parsing without any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md only calls Feishu/Bitable-related operations (table field/record reads, document fetch, and create). The tools referenced (feishu_bitable_app_table_field, feishu_bitable_app_table_record, feishu_fetch_doc, feishu_create_doc) are exactly what a Feishu document-merge workflow would need.
Instruction Scope
Runtime instructions are narrowly scoped to: parse a Bitable URL, extract the link column, check read permissions for each linked doc, present accessible/forbidden lists, ask user confirmation, then create a merged document. The doc explicitly requires user confirmation before merge and does not instruct the agent to read arbitrary files, system paths, or send data to external endpoints other than Feishu APIs (implied by the tool names).
Install Mechanism
This is an instruction-only skill with no install spec or code files to write to disk — minimal install risk.
Credentials
The SKILL.md references Feishu API/tool calls but the skill declares no required environment variables or credentials. This can be benign if the platform supplies a Feishu connector/token, but you should confirm where the Feishu auth comes from (agent platform-level connector vs. user-provided credentials). Also note the skill will read many documents (potentially sensitive) when checking permissions — ensure the agent has only the minimum necessary read/create scopes and that results are only reported to the intended owner as promised.
Persistence & Privilege
always is false and there is no indication the skill modifies other skills or system-wide settings. It does not request persistent presence or elevated privileges beyond standard API calls.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-bitable-weekly-report-merge
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-bitable-weekly-report-merge 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首发版本:串联权限检查+文档合并,一键完成多维表格周报合并
元数据
Slug feishu-bitable-weekly-report-merge
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

飞书周报合并一体化流程 是什么?

飞书多维表格周报权限检查与合并一体化工具。用户输入一个飞书多维表格 URL,自动完成:提取「链接地址」列 → 批量检查飞书文档阅读权限 → 将有权限的文档按章节合并为新文档。输出有权限列表、无权限列表,以及合并后的新飞书文档链接。触发词:多维表格周报合并、批量合并周报、多维表格文档合并。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 飞书周报合并一体化流程?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-bitable-weekly-report-merge」即可一键安装,无需额外配置。

飞书周报合并一体化流程 是免费的吗?

是的,飞书周报合并一体化流程 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

飞书周报合并一体化流程 支持哪些平台?

飞书周报合并一体化流程 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 飞书周报合并一体化流程?

由 ganguagua(@ganguagua)开发并维护,当前版本 v1.0.0。

💬 留言讨论