Feishu Message Sender for Openclaw

A powerful Python utility for sending automated messages to Feishu and Lark users using various identifiers.

lycohana
v1.0.0
Feb 8, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install feishu-send-message

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-message 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 Message Sender?

The Feishu Message Sender is a developer-centric tool designed to bridge the gap between automated scripts and human communication. By leveraging the Feishu and Lark APIs, it allows users to send notifications directly to individuals using phone numbers or internal IDs. As a core part of Openclaw Skills, it handles the complexities of tenant authentication and ID resolution automatically, making it an essential component for any automated alerting system.

This tool is particularly useful for developers who need to integrate real-time notifications into their coding agents or CI/CD pipelines without manually managing authentication tokens for every request. It simplifies the messaging process by providing a unified interface for different ID types, including open_id, user_id, and union_id.

Feishu Message Sender Use Cases

  • Sending automated deployment notifications to developers.
  • Distributing formatted daily reports with links and headers.
  • Providing real-time alerts for server monitoring tools.
  • Streamlining user communication within the Feishu and Lark ecosystem.

How Feishu Message Sender Works

  1. The script initializes by pulling appId and appSecret from the local Openclaw configuration.
  2. It requests a tenant_access_token from the specified Feishu or Lark domain.
  3. It identifies the recipient by checking the local cache or querying the batch_get_id API.
  4. The tool selects the appropriate message format (text or post) based on the presence of rich text markers like headers or markdown links.
  5. The message is transmitted via the IM API, and the resolved user ID is cached locally for future use.

Feishu Message Sender Setup

Verify your credentials are set in your global config file at ~/.openclaw/openclaw.json. You must provide an appId and appSecret. Once configured, you can send messages using the following command structure:

python send_message.py "+8613500000000" "Hello from Openclaw Skills!"

Feishu Message Sender Data Schema & Taxonomy

The skill utilizes a JSON-based configuration and caching system to optimize performance and reduce API overhead:

File Name Purpose
feishu-users.json A local mapping of identifiers to open_id, user_id, and union_id to speed up message delivery.
openclaw.json The main configuration file containing the primary appId, appSecret, and domain settings.

Feishu Message Sender Advanced Features

  • Multi-domain support for both feishu.cn and larksuite.com environments.
  • Automatic rich text (Post) message conversion when detecting headers (#) or links ([]).
  • Intelligent fallback mechanisms that attempt multiple ID types if the primary identifier fails.
  • Local configuration priority to minimize API latency and maximize efficiency within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*