用户发送 App ID 和 App Secret 时,使用此 skill 自动完成飞书机器人绑定。
cli_ 开头的 App ID需要用户提供:
news, assistant 等)如果用户只提供 App ID 和 App Secret,询问要绑定到哪个 Agent,或自动创建一个新 Agent。
bash
# 创建新 Agent
openclaw agents add <agentName>
# 示例:创建 news agent
openclaw agents add news
bash
# 查看现有 Agent 列表
openclaw agents list
# 添加飞书账号到配置
openclaw config set "channels.feishu.accounts.<agentName>.appId" "<App ID>"
openclaw config set "channels.feishu.accounts.<agentName>.appSecret" "<App Secret>"
# 绑定 Agent 到飞书账号
openclaw agents bind --agent <agentName> --bind feishu:<agentName>
bash
openclaw gateway restart
bash
openclaw channels status
im:message:send_as_botim:message:receivecontact:contact.base:readonly