← 返回 Skills 市场
yinranphoto

Feishu Media Sender

作者 yinranphoto · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
135
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-media-sender
功能描述
飞书媒体发送器 — 上传图片或视频并以媒体消息发送到飞书聊天中。图片直接预览,视频支持播放。补齐飞书渠道缺失的媒体投递能力。| Feishu Media Sender — Upload & send images/videos via Feishu OpenAPI with in-chat preview/pla...
使用说明 (SKILL.md)

Feishu Media Sender | 飞书媒体发送器

Upload images or videos to Feishu and send as media messages with in-chat preview/playback.

将图片或视频上传至飞书并以媒体消息发送,聊天中可直接预览/播放。

Quick Start

# Send image (auto-detect)
python3 scripts/feishu_send_media.py --file photo.jpg --receive-id ou_xxx

# Send video
python3 scripts/feishu_send_media.py --file video.mp4 --receive-id ou_xxx

# Explicit type override
python3 scripts/feishu_send_media.py --file clip.gif --receive-id ou_xxx --type video

Arguments

Param Required Description
--file Local file path (absolute)
--receive-id optional Target chat_id or open_id. Falls back to OPENCLAW_CHAT_ID env var
--receive-id-type optional Auto-detected from prefix: oc_ → chat_id, ou_ → open_id
--type optional image or video. Auto-detected from file extension if omitted

Supported Formats

Image: JPG, JPEG, PNG, WEBP, GIF, BMP, ICO, TIFF, HEIC (max 10 MB)

Video: MP4, MOV, AVI, MKV, WEBM (max 30 MB, uploaded as MP4)

How It Works

Images:

  1. Upload via /im/v1/images → get image_key
  2. Send message with msg_type=image, content {"image_key": "..."}

Videos:

  1. Upload via /im/v1/files (file_type=mp4) → get file_key
  2. Send message with msg_type=media, content {"file_key": "..."}

Credentials are auto-read from ~/.openclaw/openclaw.json.

API Reference

安全使用建议
This skill appears to do exactly what it says: it uploads a local image/video and sends it via Feishu using appId/appSecret read from your ~/.openclaw/openclaw.json. Before installing, verify that ~/.openclaw/openclaw.json contains the intended Feishu app credentials and no unexpected secrets. Be aware the script will parse agents/bindings in that config to choose an account, and it also accepts optional environment fallbacks (OPENCLAW_CHAT_ID / OPENCLAW_RECEIVE_ID / FEISHU_CHAT_ID) for the target receive_id. If you are uncomfortable with a skill reading your full OpenClaw config, remove or restrict Feishu credentials in that file and supply them differently, or run the script in an environment with a minimal openclaw.json. Finally, treat files you upload as sensitive data: the script will transmit file contents to Feishu endpoints.
功能分析
Type: OpenClaw Skill Name: feishu-media-sender Version: 1.0.0 The Feishu Media Sender skill is a legitimate utility designed to upload and send media files via the Feishu OpenAPI. The core logic in `scripts/feishu_send_media.py` correctly implements the Feishu authentication and messaging flow, reading necessary credentials from the local `~/.openclaw/openclaw.json` file as documented. All network requests are directed to official Feishu API endpoints (open.feishu.cn), and there is no evidence of malicious intent, obfuscation, or unauthorized data exfiltration.
能力评估
Purpose & Capability
Name/description (Feishu media upload + send) match what the code does: obtains Feishu tenant token, uploads images/videos to official Feishu endpoints, and sends messages. Required binary (python3) and the declared OpenClaw config path (~/.openclaw/openclaw.json) are consistent with selecting Feishu app credentials.
Instruction Scope
SKILL.md instructs running the included Python script with a local file and receive-id, and explicitly states credentials are read from ~/.openclaw/openclaw.json. The script's actions (reading that config, determining account binding, calling Feishu APIs, uploading local file) align with the documented instructions and do not reference unrelated system files or external endpoints beyond Feishu.
Install Mechanism
This is instruction-only (no install spec). A single Python script is bundled; there are no downloads or archive extracts and no third-party install sources. Risk from installation is low.
Credentials
The skill requires access to ~/.openclaw/openclaw.json to read Feishu appId/appSecret, which is appropriate. Note: the script also uses optional environment fallbacks for the receive_id (OPENCLAW_CHAT_ID, OPENCLAW_RECEIVE_ID, FEISHU_CHAT_ID) though these env vars are not declared in requires.env — they are only optional fallbacks. The script reads other parts of the openclaw.json (agents, bindings) to resolve which account to use; this is justified for multi-account selection but means the skill will parse your full OpenClaw config, so ensure it contains only expected credentials.
Persistence & Privilege
always is false and the skill does not request any persistent platform privileges or modify other skills. It makes runtime network calls to Feishu APIs (expected). Autonomous invocation of skills is the platform default; this skill does not increase privileges beyond that.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-media-sender
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-media-sender 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: upload images (preview) and videos (playback) to Feishu chat via OpenAPI
元数据
Slug feishu-media-sender
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Media Sender 是什么?

飞书媒体发送器 — 上传图片或视频并以媒体消息发送到飞书聊天中。图片直接预览,视频支持播放。补齐飞书渠道缺失的媒体投递能力。| Feishu Media Sender — Upload & send images/videos via Feishu OpenAPI with in-chat preview/pla... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。

如何安装 Feishu Media Sender?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-media-sender」即可一键安装,无需额外配置。

Feishu Media Sender 是免费的吗?

是的,Feishu Media Sender 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Media Sender 支持哪些平台?

Feishu Media Sender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Media Sender?

由 yinranphoto(@yinranphoto)开发并维护,当前版本 v1.0.0。

💬 留言讨论