‹ 首页

feishu-bitable-attachment-uploader

@qianleigood · 收录于 昨天 · 上游提交 1 个月前

通过飞书 OpenAPI 向多维表格附件字段上传本地文件,并支持大文件分片、批量追加、按 record_id 直接更新,或按字段搜索后更新/补建记录。适合把本地图片、视频、文档回填到 Bitable 附件列。

适合你,如果需要频繁将本地图片、视频、文档回填到飞书多维表格的附件列

/ 通过 npx 安装 校验哈希
npx oh-my-skill add qianleigood/crawclaw/feishu-bitable-attachment-uploader
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- qianleigood/crawclaw/feishu-bitable-attachment-uploader
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify qianleigood/crawclaw/feishu-bitable-attachment-uploader
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
30GitHub stars
~374最小装载
~902含声明引用
~4.3K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 f27e175 · 表述以原文为准
它做什么

装上后,Claude 能通过飞书 OpenAPI 将本地文件上传到多维表格附件字段,支持大文件分片、批量追加、按记录 ID 更新或搜索后更新/补建记录。

什么时候触发

当需要把本地文件写入飞书多维表格附件列时触发,特别是文件超过 20MB、需追加多个附件或先查记录再写附件时。

装好后可以这样说
自动识别附件列并上传。
若不指定,默认追加。
需有稳定查找字段。
技能原文 SKILL.md作者撰写 · MIT · f27e175

Feishu Bitable Attachment Uploader

Use this skill when the real problem is writing local files into a Bitable attachment field.

Use this skill for
  • 把本地文件写入 Bitable 附件列
  • 大于 20MB 的文件自动分片上传
  • 追加很多附件到同一条记录
  • 先查记录,再写附件

Do not use this skill for ordinary text/number fields or for sending files into Feishu chat.

Default workflow
  1. Confirm app_token, table_id, and the attachment field name.
  2. Prefer record_id if known.
  3. If record_id is unknown, use a stable lookup field first.
  4. Default to append; only replace attachments when the user explicitly wants replacement.
  5. For many files, lower append batch size and slow down if needed.
Working rules
  • Keep FEISHU_APP_ID and FEISHU_APP_SECRET in env, never in code.
  • Treat append as the safe default.
  • Use stable lookup keys such as URL, external id, or unique title.
  • If only normal fields are being changed, use the base Feishu Bitable tools instead of this attachment-specific workflow.
Read references as needed
  • references/feishu-bitable-attachment-api.md For API details, payload shape, and upload/update semantics.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。