/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)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install feishu-file - After installation, invoke the skill by name or use
/feishu-file - Provide required inputs per the skill's parameter spec and get structured output
What is Feishu File Sender?
Send local files to Feishu chats. Supports uploading and sending any file type as a Feishu file message. It is an AI Agent Skill for Claude Code / OpenClaw, with 799 downloads so far.
How do I install Feishu File Sender?
Run "/install feishu-file" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Feishu File Sender free?
Yes, Feishu File Sender is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Feishu File Sender support?
Feishu File Sender is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Feishu File Sender?
It is built and maintained by xiaofei (@franklu0819-lang); the current version is v1.0.1.