Pywayne Lark Custom Bot for Openclaw

A comprehensive Python wrapper for the Feishu/Lark Custom Bot API that facilitates automated messaging, image uploads, and interactive cards via webhooks.

wangyendt
v0.1.0
Feb 16, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install lark-custom-bot

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 lark-custom-bot 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 Pywayne Lark Custom Bot?

The Pywayne Lark Custom Bot is a robust integration tool designed to streamline communication within the Feishu and Lark ecosystems. By utilizing Openclaw Skills, developers can programmatically dispatch a wide variety of message types—ranging from simple text notifications to complex interactive cards—directly to their team channels. This skill simplifies the interaction with Lark's webhook API, abstracting away the boilerplate code required for authentication and payload construction.

Whether you are building an automated alerting system or a collaborative project bot, this tool provides the necessary hooks to ensure your messages are delivered securely and formatted professionally. It is an essential component for teams looking to enhance their DevOps or internal communication workflows through Openclaw Skills, offering native support for both file-based and OpenCV image processing.

Pywayne Lark Custom Bot Use Cases

  • Sending real-time system alerts and monitoring notifications to dedicated Feishu channels.
  • Automating the delivery of visual reports by uploading OpenCV-generated images directly to group chats.
  • Creating interactive workflows using Lark's card system for approvals or task management.
  • Distributing rich text posts with embedded links and @mentions to improve team engagement via Openclaw Skills.
  • Sharing specific chat content or session identifiers within the Lark workspace.

How Pywayne Lark Custom Bot Works

  1. The user provides the Lark webhook URL and optional security secrets to initialize the bot instance.
  2. For visual content, the skill authenticates with the Lark API using the App ID and Secret to obtain temporary upload tokens.
  3. Content builders generate structured JSON payloads for rich text, links, or interactive elements.
  4. The skill signs the request if a secret is provided to ensure secure delivery to the Lark endpoint.
  5. The payload is transmitted via HTTP POST, and the skill handles the server response or any potential network exceptions within the Openclaw Skills framework.

Pywayne Lark Custom Bot Setup

To integrate this skill into your project, ensure you have the pywayne package installed. You will need your Lark Custom Bot webhook URL and credentials from the Feishu/Lark Developer Console.

pip install pywayne

Basic initialization in your Python environment:

from pywayne.lark_custom_bot import LarkCustomBot

bot = LarkCustomBot(
    webhook="your_webhook_url",
    secret="your_signing_secret",
    bot_app_id="your_app_id",
    bot_secret="your_app_secret"
)

Pywayne Lark Custom Bot Data Schema & Taxonomy

The skill organizes its operations around the Lark API message types and authentication requirements. Below is the primary data structure used when interacting with this tool:

Parameter Description Required
webhook The unique URL for the Lark custom bot Yes
secret Signature verification string for security Optional
bot_app_id Application ID for image upload permissions For Images
bot_secret Application secret for image upload permissions For Images
image_key Unique identifier for uploaded image assets Internal
card JSON object defining interactive card elements For Cards

Pywayne Lark Custom Bot Advanced Features

  • Support for signature-based verification to enhance the security of webhook triggers.
  • Direct integration with OpenCV (cv2) for uploading dynamically generated images without saving to disk.
  • Granular @mention controls for notifying specific users by ID or addressing the entire channel.
  • Multi-modal content support allowing text, images, and links to be combined in a single rich text post through Openclaw Skills.
  • Robust error handling and logging for failed API requests and network timeouts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*