Feishu Bot Manager for Openclaw

A specialized skill for configuring and managing multiple Feishu bot accounts and their routing logic within the Openclaw ecosystem.

vimself
v1.0.0
Mar 23, 2026
0
623
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install quick-agent-setup

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 quick-agent-setup 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 Bot Manager?

Feishu Bot Manager is a comprehensive tool designed to simplify the integration of Feishu (Lark) bots with AI agents. It allows developers to manage multiple bot accounts simultaneously, ensuring that incoming messages are routed to the correct agent based on either the account identity or specific group chat IDs. This skill is a vital component for teams using Openclaw Skills to build sophisticated communication workflows.

By automating the configuration of channels and bindings, it eliminates the manual overhead of editing JSON configuration files. It supports complex setups where different bots serve different business functions—such as sales or recruitment—while maintaining a single, unified gateway. The skill ensures that existing configurations remain untouched while seamlessly adding new bot capabilities.

Feishu Bot Manager Use Cases

  • Deploying a dedicated Sales Bot where all incoming messages are handled by a specific Sales Agent.
  • Scaling operations by managing multiple Feishu bot accounts under a single Openclaw instance.
  • Binding specific AI agents to high-priority group chats for automated project management or support.
  • Segregating internal and external communications by routing different Feishu accounts to specialized agents.

How Feishu Bot Manager Works

  1. The user triggers the skill via voice/text command or CLI, providing essential Feishu credentials like App ID and App Secret.
  2. The skill analyzes the current configuration and creates an automatic backup of the openclaw.json file for safety.
  3. Based on the user's choice, the skill configures either Account-level routing or Group-level routing.
  4. New account details are injected into the channels.feishu.accounts section of the configuration.
  5. The skill generates the necessary binding objects to link the Feishu channel to the target Agent ID.
  6. The session.dmScope is automatically updated to per-account-channel-peer to ensure proper message isolation.
  7. The Gateway is restarted to apply the new settings and activate the bot.

Feishu Bot Manager Setup

To add a new Feishu bot via the command line using Openclaw Skills, use the following commands:

# Account-level binding: All messages to this bot go to the specified agent
openclaw skills run feishu-bot-manager -- \
  --app-id cli_xxx \
  --app-secret yyy \
  --account-id bot-sales \
  --agent-id recruiter \
  --routing-mode account

# Group-level binding: Messages from a specific group go to the specified agent
openclaw skills run feishu-bot-manager -- \
  --app-id cli_xxx \
  --app-secret yyy \
  --account-id bot-sales \
  --agent-id recruiter \
  --chat-id oc_xxx \
  --routing-mode group

Feishu Bot Manager Data Schema & Taxonomy

The skill organizes data by modifying the Openclaw configuration file. It maintains a clear hierarchy between channels and agent bindings:

Section Description Key Fields
channels.feishu.accounts Stores individual bot credentials. appId, appSecret, botName, dmPolicy
bindings Maps incoming traffic to agents. agentId, match.channel, match.accountId, match.peer
session Defines the scope of direct messages. dmScope: "per-account-channel-peer"

All modifications include an automatic backup of the original openclaw.json to prevent data loss.

Feishu Bot Manager Advanced Features

  • Multi-account support: Add and manage an unlimited number of Feishu bots within the same environment.
  • Granular Routing: Prioritize group-level bindings over account-level bindings for complex chat architectures.
  • Intelligent Configuration Merging: Safely appends new bot data without overwriting existing global Feishu settings.
  • Automated Session Scoping: Automatically reconfigures the gateway session scope to support multi-tenant bot environments.
  • Interactive Setup Mode: Supports a conversational UI to guide users through credential entry and routing selection.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*