feishu-send-file
Installation
SKILL.md
飞书发送文件
飞书机器人发送普通文件(非图片/视频)需要两步:先上传文件获取 file_key,再用 file_key 发消息。
快速流程
方式一:用脚本(推荐)
python3 scripts/send_file.py <file_path> <open_id> <app_id> <app_secret> [file_name]
app_id 和 app_secret 从 openclaw.json 的 channels.feishu 字段读取。
open_id 从 inbound_meta 的 chat_id 字段获取(格式为 user:ou_xxx,取 ou_xxx 部分)。