openclaw-add-feishu-bot

Adds a new Feishu bot account to openclaw and wires it up to a new agent. Use this skill whenever the user wants to add a Feishu bot, register a new Feishu App to openclaw, configure a second (or third, etc.) Feishu account, or set up a new Feishu App ID + App Secret pair in openclaw. Trigger on phrases like "add feishu bot", "新增飞书 bot", "add feishu account", "register feishu app", "接入飞书", or whenever the user provides a Feishu appId + appSecret pair and wants to connect it to openclaw.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-add-feishu-bot" with this command: npx skills add moseschan/openclaw-add-feishu-bot/moseschan-openclaw-add-feishu-bot-openclaw-add-feishu-bot

Add Feishu Bot to Openclaw

Automates the full workflow of registering a new Feishu bot in openclaw: JSON config edits, workspace creation, gateway restart, and optional pairing approval.

Required inputs

Gather these from the user before starting (ask in one message if any are missing):

FieldDescriptionExample
agentIdShort unique name for this bot/agentdabao
appIdFeishu App ID from the Feishu Open Platformcli_xxxxxxxxxxxx
appSecretFeishu App Secretyour-app-secret-here
pairingCode(optional) Pairing code if the bot is already added to a groupLNPQR9W9

Steps

Execute all steps in order. Read the config file first so you can do targeted edits rather than overwriting the whole file.

Step 1 — Read current config

Read ~/.openclaw/openclaw.json

Step 2 — Edit channels.feishu

If feishu uses the old single-account format (has appId/appSecret at top level, no accounts key):

Migrate to multi-account structure — replace the entire feishu block:

"feishu": {
  "enabled": true,
  "domain": "feishu",
  "groupPolicy": "open",
  "defaultAccount": "default",
  "accounts": {
    "default": {
      "appId": "<existing-appId>",
      "appSecret": "<existing-appSecret>"
    },
    "<agentId>": {
      "appId": "<new-appId>",
      "appSecret": "<new-appSecret>"
    }
  }
}

If feishu already has accounts (multi-account format):

Add just the new account entry inside accounts:

"<agentId>": {
  "appId": "<appId>",
  "appSecret": "<appSecret>"
}

Step 3 — Add agent to agents.list

Append to the agents.list array:

{
  "id": "<agentId>",
  "workspace": "~/.openclaw/workspace-<agentId>",
  "subagents": {
    "allowAgents": ["*"]
  }
}

Step 4 — Add binding to bindings

Append to the bindings array:

{
  "agentId": "<agentId>",
  "match": {
    "channel": "feishu",
    "accountId": "<agentId>"
  }
}

Step 5 — Add to tools.agentToAgent.allow

Add "<agentId>" to the allow array under tools.agentToAgent.

Step 6 — Create workspace directory

mkdir -p ~/.openclaw/workspace-<agentId>

Step 7 — Restart gateway

launchctl kickstart -k gui/$(id -u)/ai.openclaw.gateway

Step 8 — Pairing approve (if code provided)

If the user provided a pairingCode:

openclaw pairing approve feishu <pairingCode>

If not, remind the user to run this after adding the bot to a group:

openclaw pairing approve feishu <code>

After completion

Confirm:

  • Which account was added (default<agentId>)
  • Binding: feishu / <agentId> → agent <agentId>
  • Workspace: ~/.openclaw/workspace-<agentId>
  • Gateway restarted ✓
  • Pairing: approved or pending

If pairing is still pending, tell the user to add the bot to the target group first, then run the approve command.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated
Automation

changelog-curator

从变更记录、提交摘要或发布说明中整理对外 changelog,并区分用户价值与内部改动。;use for changelog, release-notes, docs workflows;do not use for 捏造未发布功能, 替代正式合规审批.

Archived SourceRecently Updated
Automation

klaviyo

Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this skill when users want to manage email marketing, customer data, or integrate with Klaviyo workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Archived SourceRecently Updated
Automation

lifelog

生活记录自动化系统。自动识别消息中的日期(今天/昨天/前天/具体日期),使用 SubAgent 智能判断,记录到 Notion 对应日期,支持补录标记。 适用于:(1) 用户分享日常生活点滴时自动记录;(2) 定时自动汇总分析并填充情绪、事件、位置、人员字段

Archived SourceRecently Updated