feishu-chat
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
Best use case
feishu-chat is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
Teams using feishu-chat should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/feishu-chat/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How feishu-chat Compares
| Feature / Agent | feishu-chat | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 飞书群聊管理
通过飞书 Open API 管理群聊。需要 `exec` 权限。
## 前置条件
- 飞书应用已开通 `im:chat:create`、`im:chat:update`、`im:chat.members:write_only` 权限
- 准备好 `app_id` 和 `app_secret`
## 获取 Token
每次操作前先获取 tenant_access_token(有效期 2 小时):
```bash
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
```
## 操作
### 创建群聊
```bash
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`)。
### 添加成员
```bash
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"]}'
```
### 移除成员
```bash
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"]}'
```
### 修改群信息
```bash
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": "群描述"}'
```
## 踩坑经验
1. **Bot 自动为群主** — 创建时不指定 `owner_id`,Bot 自动成为群主
2. **不能直接加 Bot 不可见的用户** — 创建后通过 members API 可以加
3. **跨租户 open_id 不通用** — 不同飞书租户中同一用户的 open_id 不同
4. **创建后需注册** — 在 openclaw.json 添加 binding + groups 配置后重启
5. **Token 有效期 2 小时** — 长时间操作需重新获取Related Skills
feishu-doc-writer
Feishu document writing skill. Handles known API pitfalls (block ordering, unsupported formats). Activate when writing content into Feishu docs or creating structured documents.
feishu-multi-agent
飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。
Maintenance Skill
飞书多 Agent 项目维护指南 - 仅供维护 feishu-multi-agent 项目时使用。
delegate-agent
Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".
Config Update Skill
OpenClaw 配置安全更新指南。
agent-comm
跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。
project-switcher
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
git-workflow
Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。
code-review
代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。
chat-widget
Build a real-time support chat system with a floating widget for users and an admin dashboard for support staff. Use when the user wants live chat, customer support chat, real-time messaging, or in-app support.
azure-communication-chat-java
Build real-time chat applications with thread management, messaging, participants, and read receipts.
love-chat
恋爱话术助手。根据用户的性格、身份、关系阶段和聊天场景,生成合适的聊天话术和恋爱策略。 用于:搭讪开场、聊天技巧、约会安排、表白求婚、分手挽回等恋爱场景。 也用于:分析聊天记录给建议、解答恋爱困惑、提供追人策略。