← Back to Skills Marketplace
yinranphoto

Feishu Media Sender

by yinranphoto · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
135
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-media-sender
Description
飞书媒体发送器 — 上传图片或视频并以媒体消息发送到飞书聊天中。图片直接预览,视频支持播放。补齐飞书渠道缺失的媒体投递能力。| Feishu Media Sender — Upload & send images/videos via Feishu OpenAPI with in-chat preview/pla...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-media-sender
  3. After installation, invoke the skill by name or use /feishu-media-sender
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: upload images (preview) and videos (playback) to Feishu chat via OpenAPI
Metadata
Slug feishu-media-sender
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Feishu Media Sender?

飞书媒体发送器 — 上传图片或视频并以媒体消息发送到飞书聊天中。图片直接预览,视频支持播放。补齐飞书渠道缺失的媒体投递能力。| Feishu Media Sender — Upload & send images/videos via Feishu OpenAPI with in-chat preview/pla... It is an AI Agent Skill for Claude Code / OpenClaw, with 135 downloads so far.

How do I install Feishu Media Sender?

Run "/install feishu-media-sender" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu Media Sender free?

Yes, Feishu Media Sender is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu Media Sender support?

Feishu Media Sender is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu Media Sender?

It is built and maintained by yinranphoto (@yinranphoto); the current version is v1.0.0.

💬 Comments