搜索

PythonReactSEOPDF
OpenClaw

feishu-chat

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.

heimo-he0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install heimo-he/feishu-chat

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Feishu Group Chat Guide

Quick Start: Configure renderMode

⚠️ 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

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...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/heimo-he/feishu-chat
Version
—
Commit
3ae82ceeeb2d65a3a493c2560d3812caec96e7d4
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.