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.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install heimo-he/feishu-chatInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
⚠️ 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 |
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 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.