Feishu Image Send for Openclaw

A specialized tool that ensures images are rendered inline in Feishu chats by bypassing standard path restrictions through direct API integration.

jamesqin-cn
v1.0.0
Apr 6, 2026
0
639
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install send-feishu-image

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 send-feishu-image 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 Image Send?

The feishu-image-send skill is a robust solution designed to fix common image rendering issues encountered when using standard messaging tools with Feishu bots. Often, standard methods result in raw JSON text being displayed to users rather than the intended visual content due to media path restrictions or outbound handling bugs.

By utilizing this skill within the ecosystem of Openclaw Skills, developers can ensure that images are uploaded directly to the Feishu Open API and delivered as true inline messages. It provides a reliable workaround that handles the full lifecycle of authentication, multipart/form-data uploading, and message dispatching.

Feishu Image Send Use Cases

  • Sending automated visual reports or charts to Feishu chat groups.
  • Fixing issues where images appear as broken links or JSON strings in Feishu.
  • Delivering real-time screenshots or system monitoring alerts to team members.
  • Implementing reliable image delivery within automated cron jobs or reporting workflows.

How Feishu Image Send Works

  1. The agent identifies the absolute image path and the target recipient's ID (Open ID or Chat ID).
  2. It retrieves the necessary Feishu credentials (App ID and App Secret) from the configuration.
  3. A temporary Node.js script is generated, populating a template with the specific message and image metadata.
  4. The script is executed to obtain a tenant access token, upload the image to Feishu's servers, and send the message using the returned image key.
  5. Upon successful delivery, the agent confirms the message ID and cleans up the temporary script file.

Feishu Image Send Setup

To use this feature within Openclaw Skills, ensure your credentials are configured in your local environment.

  1. Retrieve your appId and appSecret from your openclaw.json file under channels.feishu.accounts.
  2. Ensure Node.js is installed on the agent's execution environment.
  3. Verify that the image you wish to send is stored at an absolute, readable path.
# Verify your Feishu credentials exist in your config
cat openclaw.json | grep -A 10 "feishu"

Feishu Image Send Data Schema & Taxonomy

The skill manages data through a temporary execution flow and specific API requirements:

Parameter Description Requirement
receive_id_type Specifies ID type (open_id, chat_id, user_id) Must be in URL query string
image_type Category of upload Must be set to "message"
content The image key payload Must be a double-escaped JSON string
IMAGE_PATH Source file location Must be an absolute system path

Files are temporarily stored in /tmp/feishu-send-{timestamp}.js before deletion.

Feishu Image Send Advanced Features

  • Direct Feishu Open API integration bypassing standard library limitations.
  • Support for multiple image formats including WEBP, GIF, and TIFF up to 30MB.
  • Programmatic integration capability for daily/weekly automated report generation.
  • Built-in credential management utilizing specific account IDs for multi-agent environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*