with one click
feishu-chat
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
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
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
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
飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。
Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。
Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".
代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。
| name | feishu-chat |
| description | 飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。 |
通过飞书 Open API 管理群聊。需要 exec 权限。
im:chat:create、im:chat:update、im:chat.members:write_only 权限app_id 和 app_secret每次操作前先获取 tenant_access_token(有效期 2 小时):
TOKEN=$(curl -s -X POST "https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal" \
-H "Content-Type: application/json" \
-d '{"app_id":"<YOUR_APP_ID>","app_secret":"<YOUR_APP_SECRET>"}' \
| python3 -c "import json,sys; print(json.load(sys.stdin)['tenant_access_token'])")
echo $TOKEN
curl -s -X POST "https://open.feishu.cn/open-apis/im/v1/chats" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "群名称", "chat_mode": "group", "chat_type": "private"}'
返回 data.chat_id(如 oc_xxx)。
curl -s -X POST "https://open.feishu.cn/open-apis/im/v1/chats/{chat_id}/members" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"id_list": ["ou_用户open_id"]}'
curl -s -X DELETE "https://open.feishu.cn/open-apis/im/v1/chats/{chat_id}/members" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"id_list": ["ou_用户open_id"]}'
curl -s -X PUT "https://open.feishu.cn/open-apis/im/v1/chats/{chat_id}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "新群名", "description": "群描述"}'
owner_id,Bot 自动成为群主