Task Router Skill
Task Router
Feishu (Lark) group chat messaging guide for OpenClaw. Includes Raw/Card message modes, @ mention formatting, and group member management. Use when sending messages in Feishu groups, mentioning users/bots, or formatting messages with Markdown.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install heimo-he/feishu-chat打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
⚠️ IMPORTANT: Set renderMode explicitly for stable message formatting
# Recommended configuration
channels:
feishu:
renderMode: "card" # Always use card format
Why? The default "auto" mode causes unpredictable format switching (raw vs card), creating poor user experience.
Configuration:
openclaw config set channels.feishu.renderMode "card"
openclaw gateway restart
Verify:
openclaw config get channels.feishu.renderMode
open_id (ou_xxx format)App ID (cli_xxx format)Without proper renderMode configuration, messages can inconsistently appear as:
| Mode | Behavior | Use Case |
|---|---|---|
auto |
Detects content, uses card for code/tables | ❌ Avoid - unpredictable |
raw |
Always plain text | Simple text-only responses |
card |
Always interactive card | ✅ Recommended - consistent |
Recommended: renderMode: "card" for all production use.
DO NOT use both direct reply and message tool for the same content! This will send two messages.
Choose ONE:
| Method | Tool | Render Mode | Use Case |
|---|---|---|---|
| message tool | message |
Raw (plain text) | Plain text, @ mentions |
| Direct reply | Session reply | Card (with Markdown) | Markdown formatted messages |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Feishu Group Chat Guide
## Quick Start: Configure renderMode
**⚠️ IMPORTANT: Set renderMode explicitly for stable message formatting**
```yaml
# Recommended configuration
channels:
feishu:
renderMode: "card" # Always use card format
```
**Why?** The default "auto" mode causes unpredictable format switching (raw vs card), creating poor user experience.
**Configuration:**
```bash
openclaw config set channels.feishu.renderMode "card"
openclaw gateway restart
```
**Verify:**
```bash
openclaw config get channels.feishu.renderMode
```
---
## Prerequisites
1. **In a Feishu group** - OpenClaw connected to Feishu
2. **Configure renderMode** - Set to "card" for consistent formatting
3. **Know member IDs**:
- Human: `open_id` (ou_xxx format)
- Bot: `App ID` (cli_xxx format)
---
## 0. Message Format Stability
### The Problem: Raw vs Card Mixing
Without proper `renderMode` configuration, messages can inconsistently appear as:
- **Raw text**: Plain markdown source, no formatting
- **Card format**: Rendered markdown with syntax highlighting, tables, links
### The Solution: Explicit renderMode
| Mode | Behavior | Use Case |
|------|----------|----------|
| `auto` | Detects content, uses card for code/tables | ❌ **Avoid** - unpredictable |
| `raw` | Always plain text | Simple text-only responses |
| `card` | Always interactive card | ✅ **Recommended** - consistent |
**Recommended:** `renderMode: "card"` for all production use.
---
## 1. Message Sending
### ⚠️ CRITICAL: Only Use ONE Method
**DO NOT use both direct reply and message tool for the same content!** This will send two messages.
Choose ONE:
- Plain text → message tool only
- Markdown → direct reply only
---
### Two Methods
| Method | Tool | Render Mode | Use Case |
|--------|------|-------------|----------|
| **message tool** | `message` | Raw (plain text) | Plain text, @ mentions |
| **Direct reply** | Session reply | Card (with Markdown) | Markdown formatted messages |
### Raw Mod...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.