Install
openclaw skills install feishu-fileSend local files to Feishu chats. Supports uploading and sending any file type as a Feishu file message.
openclaw skills install feishu-fileA skill to send local files to Feishu users or groups.
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)
Send a file to the default receiver (configured in FEISHU_RECEIVER):
bash scripts/send_file.sh "/path/to/your/file.pdf"
Send to a specific OpenID:
bash scripts/send_file.sh "/path/to/report.xlsx" "ou_abcdef123456"
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.
The main script that handles the 3-step process:
tenant_access_token.POST /im/v1/files.POST /im/v1/messages.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)