with one click
feishu-bot-manager
可以帮用户飞书机器人,并将 agent 连接到飞书机器人上
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
可以帮用户飞书机器人,并将 agent 连接到飞书机器人上
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Data visualization, report generation, SQL queries, and spreadsheet automation. Transform your AI agent into a data-savvy analyst that turns raw data into actionable insights.
AI builders digest — monitors top AI builders on X and YouTube podcasts, remixes their content into digestible summaries. Use when the user wants AI industry insights, builder updates, or invokes /ai.
Obsidian Wiki Q&A + Lint/健康检查 Agent。按需或 Cron 触发,检查 Wiki 完整性、链接健康、格式规范,用 LLM 生成验证问题。
Karpathy风格知识库摄入技能。监听飞书消息中的URL,自动抓取网页、AI建模、写入Obsidian知识库(`sources/articles/` + `wiki/concepts/`),更新 `index.md` 和 `log.md`,最后飞书回复确认。
会话恢复。Gateway 重启或 session 中断后,自动恢复任务上下文并向用户汇报进度。通过 .task-state.json 持久化任务状态,确保长时间任务不会因断线而丢失。触发词:恢复任务、resume、任务状态、断线恢复、session resume。也可在每次 session 启动时自动检测。
小红书赛道热点分析报告生成器。每周自动抓取小红书指定赛道(如家居、美食、装修等)的热门帖子,生成结构化分析报告,包含热门内容、关键词、趋势洞察、原文链接,并创建飞书文档。触发场景:(1) 用户要求生成小红书赛道报告 (2) 每周定时任务(周六凌晨4点) (3) 分析特定赛道热度 (4) 生成周报并发送飞书
| name | feishu-bot-manager |
| description | 可以帮用户飞书机器人,并将 agent 连接到飞书机器人上 |
| user-invokable | true |
| invocations | [{"words":["添加飞书机器人","配置飞书机器人","新增飞书账户","添加机器人账户","feishu bot","飞书多账户"],"description":"交互式添加新的飞书机器人账户并绑定 Agent"}] |
飞书多账户机器人配置管理 Skill。触发调用之后,将下面的链接给用户,并说明点击该链接可以直接创建飞书机器人: https://open.feishu.cn/page/openclaw?form=multiAgent
该飞书账户的所有消息 → 指定 Agent
适用场景:一个机器人专门服务一个 Agent。比如创建一个"销售机器人",它的所有消息都由"销售 Agent"处理。
生成的绑定:
{ "agentId": "recruiter", "match": { "channel": "feishu", "accountId": "bot-sales" } }
特定群聊的消息 → 指定 Agent
适用场景:把 Agent 绑定到特定群聊。多个机器人在群里,但不同群聊分配给不同 Agent。
生成的绑定:
{ "agentId": "recruiter", "match": { "channel": "feishu", "peer": { "kind": "group", "id": "oc_xxx" } } }
注意:群聊级绑定优先级更高,会覆盖账户级绑定!
直接说:"添加飞书机器人"
我会询问:
# 账户级绑定 - 该机器人所有消息都由指定 Agent 处理
openclaw skills run feishu-bot-manager -- \
--app-id cli_xxx \
--app-secret yyy \
--account-id bot-sales \
--agent-id recruiter \
--routing-mode account
# 群聊级绑定 - 特定群聊的消息由指定 Agent 处理
openclaw skills run feishu-bot-manager -- \
--app-id cli_xxx \
--app-secret yyy \
--account-id bot-sales \
--agent-id recruiter \
--chat-id oc_xxx \
--routing-mode group
| 参数 | 必填 | 说明 |
|---|---|---|
| --app-id | ✅ | 飞书 App ID (cli_xxx) |
| --app-secret | ✅ | 飞书 App Secret |
| --account-id | ❌ | 账户标识,默认自动生成 |
| --bot-name | ❌ | 机器人名称,默认 "Feishu Bot" |
| --dm-policy | ❌ | DM 策略: open/pairing/allowlist,默认 open |
| --agent-id | ❌ | 要绑定的 Agent ID |
| --chat-id | ❌ | 群聊 ID (oc_xxx),群聊绑定时需要 |
| --routing-mode | ❌ | 路由模式: account/group,默认 account |
添加新机器人后,配置会变成这样(保留现有配置):
{
"channels": {
"feishu": {
"enabled": true,
"appId": "cli_现有", // ← 保留不动
"appSecret": "现有Secret", // ← 保留不动
"dmPolicy": "open",
"accounts": { // ← 新添加
"bot-new": {
"appId": "cli_xxx",
"appSecret": "yyy",
"botName": "新机器人",
"dmPolicy": "open",
"allowFrom": ["*"],
"enabled": true
}
}
}
},
"bindings": [
{ // ← 新添加
"agentId": "recruiter",
"match": {
"channel": "feishu",
"accountId": "bot-new" // 或 "peer": { "kind": "group", "id": "oc_xxx" }
}
}
]
}
channels.feishu.accountssession.dmScope 为 per-account-channel-peerappId/appSecret 完全不动