Send Files to Feishu (Lark) for Openclaw

Automatically process and send any local file, video, or audio to Feishu recipients with intelligent chunking and compression.

jingrongx
v1.0.4
Mar 13, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install sendfiles-to-feishu

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 sendfiles-to-feishu 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 Send Files to Feishu (Lark)?

The Send Files to Feishu skill for Openclaw Skills is a high-performance automation utility designed to bridge the gap between local development environments and the Feishu (Lark) communication platform. It streamlines the delivery of assets by automatically detecting file types and applying specialized handling logic—such as lossless video segmentation or multi-part ZIP compression—to bypass platform file size limitations. This ensures that team members can share critical data, recordings, and documents without leaving their AI-driven workflow.

By leveraging this integration within the Openclaw Skills framework, developers can automate repetitive sharing tasks that previously required manual uploads and external tools. The skill handles the complexity of Feishu's API authentication and file chunking requirements, providing a seamless 'one-command' experience for transferring even the largest media files.

Send Files to Feishu (Lark) Use Cases

  • Sharing large screen recordings or product demos with team members on Feishu without quality loss.
  • Automating the delivery of build logs, database exports, or report artifacts directly from a coding agent.
  • Sending high-quality audio files that are automatically segmented into 20MB chunks to meet platform limits.
  • Distributing project folders and source code as compressed ZIP files directly to a specific user or group ID.

How Send Files to Feishu (Lark) Works

  1. The user provides a local file path and a Feishu Receiver ID (open_id or union_id) via the Openclaw Skills interface.
  2. The skill identifies the file format; videos and audios are handled as media streams, while others are treated as general documents.
  3. For large media files, the skill uses FFmpeg to split the file into segments smaller than 20MB based on timestamps, ensuring no loss in quality.
  4. For documents and other files exceeding 20MB, the skill compresses them into a ZIP archive, further splitting the ZIP if necessary.
  5. Using the configured Feishu App credentials, the skill uploads all processed chunks and delivers them to the specified recipient.

Send Files to Feishu (Lark) Setup

To use this skill within Openclaw Skills, you must have FFmpeg installed and valid Feishu API credentials.

# 1. Install FFmpeg (required for video/audio processing)
# On macOS:
brew install ffmpeg
# On Ubuntu/Debian:
sudo apt update && sudo apt install ffmpeg

# 2. Configure Environment Variables
# Create a .env file or export these to your system environment:
FEISHU_APP_ID=your_feishu_app_id
FEISHU_APP_SECRET=your_feishu_app_secret

Ensure your Feishu app has the following permissions enabled: im:message.p2p_msg, im:message.group_msg, and drive:file:upload.

Send Files to Feishu (Lark) Data Schema & Taxonomy

The skill manages data transfer through a structured workflow to ensure reliability:

Data Component Description
Receiver ID Supports open_id (ou_...) and union_id (on_...) with automatic identification.
Media Chunks Videos are segmented using -c copy to maintain bitrates and resolutions.
Compression Uses standard ZIP algorithms for non-media files.
Dependencies Requires Python 3.8+, the requests library, and system-level ffmpeg.
Metadata Tracks file segment order to ensure logical delivery to the recipient.

Send Files to Feishu (Lark) Advanced Features

  • Lossless Video Splitting: Uses time-based segmentation to split large MP4 or MKV files without re-encoding.
  • Automatic Audio Merging: Detects companion audio tracks in the same directory and merges them with silent videos before sending.
  • Intelligent ID Resolution: Automatically switches between open_id and union_id modes based on the input string format.
  • Fallback Compression: If a file remains over the 20MB limit after initial compression, the skill utilizes multi-part ZIP segmentation to ensure successful delivery via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*