Feishu Setup Guide
/install feishu-setup
Feishu Setup Guide for OpenClaw
End-to-end guide to configure OpenClaw with full Feishu capabilities: IM, Calendar, Docs, Bitable, Contacts, Search, and OAuth.
Architecture Overview
Feishu Cloud ←→ Feishu Bot (Webhook/Event) ←→ openclaw-lark plugin ←→ OpenClaw Gateway
- openclaw-lark (
@larksuite/openclaw-lark): Official Feishu channel plugin. Provides all feishu_* tools, skills, and OAuth flow. - openclaw-extension-miaoda (
@lark-apaas/openclaw-extension-miaoda): Optional. Miaoda platform integration. - openclaw-extension-miaoda-coding (
@lark-apaas/openclaw-extension-miaoda-coding): Optional. Miaoda vibe-coding extension.
Setup Checklist
Phase 1: Create Feishu App (Open Platform)
- Go to Feishu Open Platform → Create App
- Fill in App Name, Description, Icon
- Note down credentials: App ID (
cli_xxx) and App Secret - Under "Security Settings", configure Encrypt Key and Verification Token (or let platform auto-generate)
Phase 2: Configure App Capabilities
Read references/feishu-app-config.md for detailed step-by-step instructions covering:
- Permissions & Scopes (OAuth)
- Event Subscriptions
- Bot capabilities
- Card interaction
Phase 3: Install openclaw-lark Plugin
# In OpenClaw project directory
npx openclaw plugin install @larksuite/openclaw-lark
# Optional Miaoda extensions
npx openclaw plugin install @lark-apaas/openclaw-extension-miaoda
npx openclaw plugin install @lark-apaas/openclaw-extension-miaoda-coding
Phase 4: Configure OpenClaw
Read references/openclaw-config-reference.md for the complete config template with all feishu-related sections.
Key config sections:
channels.feishu— Channel credentials and policiesplugins.entries.openclaw-lark— Plugin enablementtools.alsoAllow— Enable feishu toolstools.deny— Disable unwanted toolsskills.entries.feishu-task— Task skill toggle
Quick start config patch:
openclaw config set channels.feishu.enabled true
openclaw config set channels.feishu.appId '\x3CYOUR_APP_ID>'
openclaw config set channels.feishu.appSecret '\x3CYOUR_APP_SECRET>'
openclaw config set channels.feishu.domain 'feishu'
openclaw config set channels.feishu.requireMention true
openclaw config set channels.feishu.dmPolicy 'allowlist'
openclaw config set channels.feishu.allowFrom '\x3COWNER_OPEN_ID>'
openclaw config set plugins.entries.openclaw-lark.enabled true
Phase 5: Configure Webhook / Event Subscription
- Event subscription URL:
https://\x3CYOUR_HOST>/feishu/webhook(or as documented by openclaw-lark) - Subscribe to events listed in references/feishu-app-config.md
Phase 6: Restart and Verify
openclaw gateway restart
# Or in non-systemd env:
sh scripts/restart.sh
Verify:
- Bot appears in Feishu contacts
- Send a DM to bot — it should respond
- Check
openclaw statusfor channel health
Tool Matrix
See references/tool-matrix.md for the complete mapping of feishu_* tools to capabilities, with enable/disable configuration.
Permission Scopes Reference
See references/permissions-reference.md for all OAuth scopes needed per feature area.
Troubleshooting
- Bot not responding: Check webhook URL, event subscription, and
openclaw status - OAuth failures: User needs to complete authorization flow; check scopes in Feishu Open Platform
- Tool not found: Verify tool is in
tools.alsoAllowand not intools.deny - Permission denied on API call: Check Feishu app has the required scope enabled AND user has authorized
For deep diagnostics, read the feishu-troubleshooting skill if available.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feishu Setup Guide 是什么?
Complete Feishu (飞书) integration setup guide for OpenClaw. Use when setting up a new OpenClaw instance with Feishu capabilities, configuring the openclaw-lar... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 Feishu Setup Guide?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-setup」即可一键安装,无需额外配置。
Feishu Setup Guide 是免费的吗?
是的,Feishu Setup Guide 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feishu Setup Guide 支持哪些平台?
Feishu Setup Guide 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Setup Guide?
由 Damon Liang(@liangzhipengdamon-maker)开发并维护,当前版本 v1.0.0。