/install feishu-file
Feishu File Sender
A skill to send local files to Feishu users or groups.
Setup
Requires Feishu App credentials. Ensure these are set in your environment or openclaw.json:
export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"
export FEISHU_RECEIVER="ou_xxx" # Default receiver (optional)
Usage
Basic Usage
Send a file to the default receiver (configured in FEISHU_RECEIVER):
bash scripts/send_file.sh "/path/to/your/file.pdf"
Specific Receiver
Send to a specific OpenID:
bash scripts/send_file.sh "/path/to/report.xlsx" "ou_abcdef123456"
Different Receiver Types
Send to a Group (chat_id):
bash scripts/send_file.sh "/path/to/archive.zip" "oc_abcdef123456" "chat_id"
Supported types: open_id, user_id, chat_id, email.
Script Details
scripts/send_file.sh
The main script that handles the 3-step process:
- Auth: Obtains a
tenant_access_token. - Upload: Uploads the file to Feishu's internal storage using
POST /im/v1/files. - Send: Sends the file message using
POST /im/v1/messages.
Permissions Required
The Feishu App must have the following permissions:
im:message(Send and receive messages)im:message:send_as_bot(Send messages as bot)im:resource(Access and upload resources)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-file - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-file触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feishu File Sender 是什么?
Send local files to Feishu chats. Supports uploading and sending any file type as a Feishu file message. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 799 次。
如何安装 Feishu File Sender?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-file」即可一键安装,无需额外配置。
Feishu File Sender 是免费的吗?
是的,Feishu File Sender 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feishu File Sender 支持哪些平台?
Feishu File Sender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu File Sender?
由 xiaofei(@franklu0819-lang)开发并维护,当前版本 v1.0.1。