Feishu Direct File Sender for Openclaw

A specialized skill for AI agents to send local files as direct attachments through Feishu messages instead of simple document links.

gongjieliu
v1.0.0
Apr 13, 2026
0
821
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install feishu-send-file-directly

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-send-file-directly 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 Direct File Sender?

The Feishu Direct File Sender is a robust workflow designed for Openclaw Skills that enables AI agents to transmit physical file attachments directly to users or groups. By leveraging the local path parameter within the message tool, this skill bypasses the common limitation of sending only cloud document links, ensuring recipients receive the actual file bytes for immediate use.

This skill is particularly valuable for developers and teams who need to automate the delivery of generated reports, processed images, or technical documentation. It supports a wide array of formats including .docx, .pdf, .ppt, and .jpg, providing a professional and efficient file-sharing experience within the Feishu ecosystem.

Feishu Direct File Sender Use Cases

  • Automatically sending generated PDF reports or analytics spreadsheets to team channels.
  • Batch distributing multiple project documents to stakeholders in a single automated session.
  • Delivering freshly created media assets like design mockups or presentation decks directly to clients.
  • Managing workspace files by identifying specific file types and forwarding them to relevant Feishu chat groups.

How Feishu Direct File Sender Works

  1. The agent identifies the local absolute path of the file to be sent within the workspace.
  2. Optional metadata like a custom display filename is defined to ensure clarity on the receiver's end.
  3. The skill invokes the message tool with the action set to send and populates the path parameter with the local file location.
  4. Openclaw Skills processes the request, uploads the file buffer to Feishu, and delivers it as a native attachment.
  5. The system verifies the delivery status and handles any exceptions such as file size limits or permission issues.

Feishu Direct File Sender Setup

To use this within your environment, ensure your Feishu channel is configured and run the following commands to prepare your workspace:

# Ensure the workspace directory exists
mkdir -p /root/.openclaw/workspace/

# Set permissions for the AI agent to read files
chmod -R 755 /root/.openclaw/workspace/

Feishu Direct File Sender Data Schema & Taxonomy

The skill utilizes the following parameter structure for the message tool to ensure successful file delivery:

Parameter Type Required Description
action string Yes Must be set to "send"
message string Yes The text body of the message accompanying the file
path string Yes The absolute local path to the file on the system
filename string No The custom name displayed in the Feishu client
channel string No Specific channel ID (defaults to current)

Feishu Direct File Sender Advanced Features

  • Multi-file batch processing using system exec commands to find and iterate through directory contents.
  • Automatic file compression (ZIP) integration for large assets exceeding standard transfer limits.
  • File content previewing where the skill reads a snippet of text files to provide context before the attachment.
  • Comprehensive error recovery strategies to handle permission denied or file-not-found scenarios during automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*