🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

多个飞书

by @lcz5221-svg

Automated setup and configuration of Feishu/Lark bots with OpenClaw. Use when creating multiple Feishu bots with independent workspaces, memories, and dedica...

Versionv1.0.0
💡 Examples

1. Prepare Bot Configuration

Create a configuration file with bot details. All fields under personality are customizable:

{
  "bots": [
    {
      "name": "general-assistant",
      "agentId": "feishu-bot-1",
      "appId": "cli_xxx",
      "appSecret": "xxx",
      "encryptKey": "xxx",
      "verificationToken": "xxx",
      "connectionMode": "websocket",
      "personality": {
        "role": "通用助手",
        "tagline": "你的第一接待入口",
        "style": "温和简洁、快速响应",
        "styleDescription": "态度友好,回答简洁明了,快速响应",
        "responsibilities": [
          "常识问答",
          "轻量办公",
          "需求分流",
          "日常兜底"
        ],
        "description": "我是你的全能基础助理,快速响应你的各种需求。",
        "motto": "有问必答,有求必应,做你最贴心的第一入口。",
        "emoji": "🙋"
      }
    }
  ]
}

#### Personality Fields (All Optional, Customizable)

| Field | Description | Example | |-------|-------------|---------| | role | Bot's role name | "数据分析助手" | | tagline | Short tagline | "你的数据专家" | | style | Working style | "严谨、高效" | | styleDescription | Detailed style | "注重数据准确性,逻辑严密" | | responsibilities | List of duties | ["数据分析", "报表生成"] | | description | Self-introduction | "我是数据分析专家..." | | motto | Signature motto | "让数据说话" | | emoji | Bot emoji | "📊" |

You can define ANY role you need - customer service, sales, HR, finance, legal, etc.

2. Run Setup Script

python3 /root/.openclaw/workspace/skills/feishu-bot-setup/scripts/setup_bots.py /path/to/config.json

3. Restart Gateway

openclaw gateway restart

⚙️ Configuration

  • OpenClaw installed and running
  • Gateway configured and accessible
  • Feishu app credentials (App ID, App Secret, Encrypt Key, Verification Token)
  • 📋 Tips & Best Practices

    Bot Not Responding

    1. Check gateway status: openclaw gateway status 2. Verify bindings: openclaw agents bindings 3. Check logs: openclaw logs --follow 4. Ensure Feishu app is published and events are subscribed

    Credential Issues

  • Verify App ID and App Secret match Feishu Open Platform
  • Check Encrypt Key and Verification Token are correct
  • Ensure app has required permissions (robot, im:message)
  • View on ClawHub
    TERMINAL
    clawhub install feishu-duoge

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →