Feishu Media Sender for Openclaw

A powerful skill for automating the delivery of multimedia files and structured documents to Feishu chats and users.

godzff
v1.1.0
Feb 27, 2026
1
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-media

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-media using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu Media Sender?

The Feishu Media Sender is a versatile integration designed for the Openclaw Skills framework, enabling AI agents to interact with Feishu (Lark) by sending various media types. It bridges the gap between local file systems or web resources and Feishu's messaging platform, allowing for automated reporting, asset sharing, and communication workflows.

This skill supports a wide range of formats, including standard office documents, high-resolution images, and video files. It also features specialized handling for voice messages, ensuring that audio files are correctly formatted and accompanied by metadata for seamless playback within the Feishu mobile and desktop clients.

Feishu Media Sender Use Cases

  • Automated delivery of PDF reports or Excel spreadsheets to specific Feishu channels.
  • Sending system-generated screenshots or web-hosted images directly to developers.
  • Distributing video tutorials or meeting recordings as file attachments.
  • Converting and sending audio files as playable voice messages for better accessibility.
  • Packaging multiple logs or assets into a single zip/tar.gz archive for efficient transmission.

How Feishu Media Sender Works

  1. The agent identifies the media type (local file, URL, or voice note) and the target destination (chat ID or user ID).
  2. For voice messages, the skill uses ffmpeg to ensure the file is in Ogg/Opus format and extracts the duration via ffprobe.
  3. The media is uploaded to Feishu's servers using the appropriate API endpoints such as im.file.create.
  4. The skill executes the message tool with the specified action, delivering the content as an inline image, file card, or audio message to the recipient.

Feishu Media Sender Setup

To integrate this component into your Openclaw Skills workflow, follow these steps:

  1. Ensure your Feishu application has the im:message and im:resource permissions enabled in the Feishu Developer Console.
  2. Install ffmpeg and ffprobe on your system to enable voice message processing and duration detection:
# For macOS users
brew install ffmpeg

# For Ubuntu/Debian users
sudo apt-get update && sudo apt-get install ffmpeg
  1. Set up your environment variables with the necessary Feishu bot credentials (App ID and App Secret).

Feishu Media Sender Data Schema & Taxonomy

The skill utilizes the message tool with specific parameters to route data. Below is the schema for media delivery:

Parameter Description Required
channel Must be set to feishu Yes
target The destination chat:chat_id or user:open_id No (defaults to current)
filePath The absolute path to the local file to be sent Conditional
media A public URL for remote images or files Conditional
message An optional text caption to accompany the media No

Supported image formats: jpg, jpeg, png, gif, webp, bmp. Supported document formats: pdf, docx, xlsx, pptx, zip, tar.gz.

Feishu Media Sender Advanced Features

  • Automatic Ogg/Opus conversion for playable voice notes using integrated ffmpeg hooks.
  • Intelligent duration detection for audio files to ensure Feishu playback compatibility without manual input.
  • Support for batch delivery by packaging multiple files into compressed archives via CLI integration.
  • Flexible targeting system allowing agents to switch between individual user DMs and group chat IDs.
  • High-performance handling of URL-based media for instant sharing of cloud-hosted assets.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*