/install feishu-bot-send-image
Feishu Send Image
Send local image files as native Feishu image messages via the Feishu Bot API.
Why This Skill Exists
OpenClaw's message tool with filePath, media, or buffer parameters only sends file attachments in Feishu, not inline images. This skill calls the Feishu API directly to send proper image messages.
Quick Usage
Run the script:
bash scripts/feishu_send_image.sh \x3Cimage_path> \x3Creceive_id> \x3Capp_id> \x3Capp_secret> [receive_id_type]
Arguments
| Arg | Description |
|---|---|
image_path |
Local path to image (png/jpg/gif/webp) |
receive_id |
Feishu open_id (user) or chat_id (group) |
app_id |
Feishu app ID from ~/.openclaw/openclaw.json → feishu.accounts.default.appId |
app_secret |
Feishu app secret from ~/.openclaw/openclaw.json → feishu.accounts.default.appSecret |
receive_id_type |
open_id (default) or chat_id |
Example
bash scripts/feishu_send_image.sh /tmp/chart.png \
ou_38470740452f6083ce189b7ddec722f8 \
cli_a92c368412f9dcb1 \
7uM7aLqeqYqm0Fsy0IP5QhOyTBSwxlfT
Getting Credentials
Read ~/.openclaw/openclaw.json and extract:
channels.feishu.accounts.default.appIdchannels.feishu.accounts.default.appSecret
The receiver's open_id comes from inbound message metadata (sender_id).
How It Works
- Get token —
POST /auth/v3/tenant_access_token/internalwith appId/appSecret - Upload image —
POST /im/v1/imageswithimage_type=message, returnsimage_key - Send message —
POST /im/v1/messageswithmsg_type=imageand theimage_key
Output
On success: OK: image_key=\x3Ckey> message_id=\x3Cid>
On failure: prints error and exits with code 1.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-bot-send-image - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-bot-send-image触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feishu Send Image 是什么?
Send images directly in Feishu chat as native image messages (not file attachments). Use when: need to send a generated image, chart, screenshot, or any loca... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 301 次。
如何安装 Feishu Send Image?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-bot-send-image」即可一键安装,无需额外配置。
Feishu Send Image 是免费的吗?
是的,Feishu Send Image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feishu Send Image 支持哪些平台?
Feishu Send Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Send Image?
由 PL Uncle(@jasonzhang2015)开发并维护,当前版本 v1.0.0。