Install
openclaw skills install feishu-official-plugin-switch3 分钟从社区版升级到官方版,开启流式输出、用户身份、50+ 官方工具
openclaw skills install feishu-official-plugin-switch3 分钟搞定!从 OpenClaw 社区版升级到飞书官方版,开启流式输出、用户身份、50+ 官方工具
在飞书中对机器人说以下任意一句话:
await main(ctx, { action: 'start_switch' });
await main(ctx, { action: 'check_version' });
await main(ctx, { action: 'install_plugin' });
await main(ctx, {
action: 'configure_streaming',
options: {
streaming: true,
footer_status: true,
footer_elapsed: true
}
});
await main(ctx, {
action: 'switch_plugin',
disable: 'feishu',
enable: 'feishu-openclaw-plugin'
});
await main(ctx, { action: 'restart_openclaw' });
await main(ctx, { action: 'verify_config' });
确保飞书机器人已申请以下核心权限:
应用身份权限:
{
"scopes": {
"tenant": [
"contact:contact.base:readonly",
"docx:document:readonly",
"im:chat:read",
"im:chat:update",
"im:message.group_at_msg:readonly",
"im:message.p2p_msg:readonly",
"im:message:send_as_bot",
"cardkit:card:write",
"cardkit:card:read"
]
}
}
用户身份权限(批量授权时用):
{
"scopes": {
"user": [
"base:record:*",
"docs:document:*",
"calendar:calendar.event:*",
"task:task:*",
"im:message",
"drive:file:*"
]
}
}
| 能力 | 社区版 | 官方版 |
|---|---|---|
| 身份 | 机器人 | 用户身份 ✅ |
| 文档权限 | 只读 | 读写 ✅ |
| 消息历史 | ❌ | 完整读取 ✅ |
| 流式输出 | ❌ | 打字机效果 ✅ |
| 表情识别 | ❌ | 支持 ✅ |
| 电子表格 | ❌ | 读写支持 ✅ |
| 工具数量 | 基础 | 50+ ✅ |
| 多账号 | ❌ | 支持 ✅ |
| 话题群 | ❌ | 独立上下文 ✅ |
转换完成后,在飞书中发送以下命令验证:
/feishu start - 确认安装成功/feishu doctor - 检查配置/feishu auth - 批量授权命令行诊断:
npx @larksuite/openclaw-lark-tools doctor
npx @larksuite/openclaw-lark-tools doctor --fix
npx @larksuite/openclaw-lark-tools info
# 使用 sudo
sudo npx -y @larksuite/openclaw-lark-tools install
# 使用国内镜像
export NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
# 检查插件状态
openclaw plugins list | grep feishu
# 期望:feishu-openclaw-plugin loaded, feishu disabled
export NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
npx -y @larksuite/openclaw-lark-tools install
可以跳过! 安装后不授权也能用基础功能(流式输出、对话),只是无法读取消息历史和以你的身份操作。
版本: 3.0.0
最后更新: 2026-03-18
作者: rfdiosuao
许可证: MIT