← Back to Skills Marketplace
ganguagua

飞书周报合并一体化流程

by ganguagua · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
74
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-bitable-weekly-report-merge
Description
飞书多维表格周报权限检查与合并一体化工具。用户输入一个飞书多维表格 URL,自动完成:提取「链接地址」列 → 批量检查飞书文档阅读权限 → 将有权限的文档按章节合并为新文档。输出有权限列表、无权限列表,以及合并后的新飞书文档链接。触发词:多维表格周报合并、批量合并周报、多维表格文档合并。
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-bitable-weekly-report-merge
  3. After installation, invoke the skill by name or use /feishu-bitable-weekly-report-merge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首发版本:串联权限检查+文档合并,一键完成多维表格周报合并
Metadata
Slug feishu-bitable-weekly-report-merge
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 飞书周报合并一体化流程?

飞书多维表格周报权限检查与合并一体化工具。用户输入一个飞书多维表格 URL,自动完成:提取「链接地址」列 → 批量检查飞书文档阅读权限 → 将有权限的文档按章节合并为新文档。输出有权限列表、无权限列表,以及合并后的新飞书文档链接。触发词:多维表格周报合并、批量合并周报、多维表格文档合并。 It is an AI Agent Skill for Claude Code / OpenClaw, with 74 downloads so far.

How do I install 飞书周报合并一体化流程?

Run "/install feishu-bitable-weekly-report-merge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 飞书周报合并一体化流程 free?

Yes, 飞书周报合并一体化流程 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 飞书周报合并一体化流程 support?

飞书周报合并一体化流程 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 飞书周报合并一体化流程?

It is built and maintained by ganguagua (@ganguagua); the current version is v1.0.0.

💬 Comments