Feishu Image Sender for Openclaw

A streamlined automation utility for sending local images to Feishu users via the Feishu Open Platform API.

bombfuock
v1.0.0
Mar 5, 2026
1
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install feishu-img-send

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-img-send 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 Sender?

The Feishu Image Sender is a developer-centric tool designed to bridge the gap between local image assets and the Feishu collaboration environment. As part of the Openclaw Skills collection, it provides a reliable interface for programmatically uploading and dispatching visual content. By abstracting the complexities of token management and multipart image uploads, it allows developers to focus on building rich notification and reporting workflows.

This skill is particularly effective for teams looking to automate their internal communications. Whether you are building an AI agent that generates visual reports or a monitoring system that captures screenshots, the Feishu Image Sender within the Openclaw Skills ecosystem ensures your data reaches the right hands instantly through the Feishu messaging protocol.

Feishu Image Sender Use Cases

  • Sending automated performance charts and data visualizations to management groups.
  • Integrating visual alerts into server monitoring scripts when anomalies are detected.
  • Empowering AI agents to deliver generated images or screenshots directly to team chat.
  • Creating automated onboarding workflows that send personalized welcome images to new users.

How Feishu Image Sender Works

  1. The skill initiates a request to the Feishu internal authentication endpoint to retrieve a valid tenant_access_token.
  2. It processes the local image file and uploads it to the Feishu image resource server.
  3. Upon successful upload, the system receives a unique image_key representing the stored asset.
  4. A messaging payload is constructed using the image_key and the target user's ID.
  5. The final message is pushed through the Feishu IM API to deliver the image to the specified recipient.

Feishu Image Sender Setup

The Feishu Image Sender is designed for immediate deployment. Ensure you have the necessary permissions (im:resource, im:message) granted in your Feishu application console. Use Openclaw Skills to manage these configurations easily.

Command Line Interface

To send an image via the shell script:

./scripts/send.sh <image_path> <user_id>
# Example
./scripts/send.sh /tmp/report.png ou_xxxxxxxx

Python Library Usage

Integrate directly into your Python projects:

from feishu_image import FeishuImageSender

sender = FeishuImageSender()
sender.send_image("/tmp/report.png", "ou_xxxxxxxx")

Feishu Image Sender Data Schema & Taxonomy

The skill manages temporary tokens and media identifiers to ensure secure delivery. The following data points are handled within the Openclaw Skills framework:

Component Type Description
tenant_access_token String Required for API authentication
image_key String The unique ID returned by Feishu after upload
User ID String The target recipient ID (ou_ format)
Permissions List Required scopes: im:resource and im:message

Feishu Image Sender Advanced Features

  • Dual-mode support for both Shell and Python environments within Openclaw Skills.
  • Internal authentication management for seamless tenant token refreshes.
  • High-performance image binary handling for rapid uploads.
  • Error handling for API rate limits and permission validation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*