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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install feishu-setup - After installation, invoke the skill by name or use
/feishu-setup - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install Feishu Setup Guide?
Run "/install feishu-setup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Feishu Setup Guide free?
Yes, Feishu Setup Guide is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Feishu Setup Guide support?
Feishu Setup Guide is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Feishu Setup Guide?
It is built and maintained by Damon Liang (@liangzhipengdamon-maker); the current version is v1.0.0.