🦀 ClawHub
feishu-agents
by @aigcpro
绑定飞书机器人到Agent。用户发送App ID和App Secret即可自动配置飞书账号并绑定到指定Agent。用于:(1) 用户提供App ID和App Secret (2) 创建或选择要绑定的Agent (3) 自动配置openclaw.json并重启Gateway。
TERMINAL
clawhub install feishu-agents-bind📖 About This Skill
name: feishu-agent-bind description: 绑定飞书机器人到Agent。用户发送App ID和App Secret即可自动配置飞书账号并绑定到指定Agent。用于:(1) 用户提供App ID和App Secret (2) 创建或选择要绑定的Agent (3) 自动配置openclaw.json并重启Gateway。
飞书 Agent 绑定
用户发送 App ID 和 App Secret 时,使用此 skill 自动完成飞书机器人绑定。
触发条件
cli_ 开头的 App ID绑定流程
1. 收集信息
需要用户提供:
news, assistant 等)如果用户只提供 App ID 和 App Secret,询问要绑定到哪个 Agent,或自动创建一个新 Agent。
2. 创建 Agent (如需要)
# 创建新 Agent
openclaw agents add 示例:创建 news agent
openclaw agents add news
3. 执行绑定
# 查看现有 Agent 列表
openclaw agents list添加飞书账号到配置
openclaw config set "channels.feishu.accounts..appId" ""
openclaw config set "channels.feishu.accounts..appSecret" ""绑定 Agent 到飞书账号
openclaw agents bind --agent --bind feishu:
3. 重启 Gateway
openclaw gateway restart
4. 验证
openclaw channels status
注意事项
im:message:send_as_bot
- im:message:receive
- contact:contact.base:readonly