/feishu-task
飞书任务管理工具,用于创建、查询、更新任务和清单。 **当以下情况时使用此 Skill**: (1) 需要创建、查询、更新任务 (2) 需要创建、管理任务清单 (3) 需要查看任务列表或清单内的任务 (4) 用户提到"任务"、"待办"、"to-do"、"清单"、"task" (5) 需要设置任务负责人、关注人、截止时间、添加成员 (6) 需要追加任务步骤记录(Task 的 steps) (7) 需要上传任务附件(支持 task / task_delivery) (8) 需要注册 Agent / 更新 Agent 信息(register /
$ npx -y skills add larksuite/openclaw-lark --skill feishu-task --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/feishu-task
Context preview
The summary Claude sees to decide when to auto-load this skill.
飞书任务管理工具,用于创建、查询、更新任务和清单。 **当以下情况时使用此 Skill**: (1) 需要创建、查询、更新任务 (2) 需要创建、管理任务清单 (3) 需要查看任务列表或清单内的任务 (4) 用户提到"任务"、"待办"、"to-do"、"清单"、"task" (5) 需要设置任务负责人、关注人、截止时间、添加成员 (6) 需要追加任务步骤记录(Task 的 steps) (7) 需要上传任务附件(支持 task / task_delivery) (8) 需要注册 Agent / 更新 Agent 信息(register /
SKILL.md
feishu-task.SKILL.mdname: feishu-task
description: |
飞书任务管理工具,用于创建、查询、更新任务和清单。
**当以下情况时使用此 Skill**:
(1) 需要创建、查询、更新任务
(2) 需要创建、管理任务清单
(3) 需要查看任务列表或清单内的任务
(4) 用户提到"任务"、"待办"、"to-do"、"清单"、"task"
(5) 需要设置任务负责人、关注人、截止时间、添加成员
(6) 需要追加任务步骤记录(Task 的 steps)
(7) 需要上传任务附件(支持 task / task_delivery)
(8) 需要注册 Agent / 更新 Agent 信息(register / update_profile)
飞书任务管理
🚨 执行前必读
- ✅ **时间格式**:ISO 8601 / RFC 3339(带时区),例如 `2026-02-28T17:00:00+08:00`
- ✅ **身份授权**:工具支持 `auth_type` 为 `user`(默认,用户身份)或 `tenant`(应用身份)。
- ✅ **任务 Agent(feishu_task_agent)**:仅支持应用身份(tenant),不支持 user 身份
- ✅ **current_user_id 强烈建议**:从消息上下文的 SenderId 获取(ou_...),工具会自动添加为 follower(如不在 members 中),确保创建者可以编辑任务
- ✅ **patch/get 必须**:task_guid
- ✅ **tasklist.tasks 必须**:tasklist_guid
- ✅ **完成任务**:completed_at = "2026-02-26 15:00:00"
- ✅ **反完成(恢复未完成)**:completed_at = "0"
- ✅ **append_steps 的 task_steps[].timestamp**:秒级 Unix 时间戳(10 位),不要用毫秒(13 位)
---
📋 快速索引:意图 → 工具 → 必填参数
| 用户意图 | 工具 | action | 必填参数 | 强烈建议 | 常用可选 | |---------|------|--------|---------|---------|---------| | 新建待办 | feishu_task_task | create | summary | current_user_id(SenderId) | members, due, description, auth_type | | 查未完成任务 | feishu_task_task | list | - | completed=false | page_size, auth_type, agent_task_status | | 获取任务详情 | feishu_task_task | get | task_guid | - | auth_type | | 完成任务 | feishu_task_task | patch | task_guid, completed_at | - | auth_type | | 反完成任务 | feishu_task_task | patch | task_guid, completed_at="0" | - | auth_type | | 改截止时间 | feishu_task_task | patch | task_guid, due | - | auth_type | | 添加任务成员 | feishu_task_task | add_members | task_guid, members[] | - | auth_type | | 追加任务步骤记录 | feishu_task_task | append_steps | task_guid, idempotent_key, task_steps[] | task_steps[].timestamp 用秒级(10 位) | - | | 创建清单 | feishu_task_tasklist | create | name | - | members | | 查看清单任务 | feishu_task_tasklist | tasks | tasklist_guid | - | completed | | 添加清单成员 | feishu_task_tasklist | add_members | tasklist_guid, members[] | - | - | | 上传任务附件 | feishu_task_attachment | upload | resource_id, file(base64) | name | resource_type | | 注册任务 Agent | feishu_task_agent | register | - | 仅支持 tenant(应用身份) | - | | 更新任务 Agent Profile | feishu_task_agent | update_profile | profile_content | 仅支持 tenant(应用身份) | - |
---
🎯 核心约束(Schema 未透露的知识)
1. 授权身份与可见性 (auth_type)
**工具支持两种调用身份 `auth_type`**:
- **`user` (默认)**:用户身份(user_access_token)。用于需要严格代表用户操作或查询用户私有任务的场景。
- ⚠️ 使用 `user` 身份时,只能查看和编辑**自己是成员的任务**。
- ⚠️ **如果创建时没把自己加入成员,后续无法编辑该任务**。
- **`tenant`**:应用身份(tenant_access_token)。当用户身份不满足要求时,使用应用身份。如果创建的任务没有把用户加入成员,用户可能看不见。
**自动保护机制**:
- 传入 `current_user_id` 参数(从 SenderId 获取)
- 如果 `members` 中不包含 `current_user_id`,工具会**自动添加为 follower**
- 确保创建者始终可以编辑和查看任务
2. 任务成员的角色与类型
- **角色 (role)**:
- **assignee(负责人)**:负责完成任务,可以编辑任务
- **follower(关注人)**:关注任务进展,接收通知
- **类型 (type)**:
- **user(默认,用户)**:普通的飞书用户
- **app(应用/机器人)**:如果是把机器人自己或者其他应用加入任务,必须指定 `type: "app"`
**添加成员示例**:
{
"members": [
{"id": "ou_xxx", "role": "assignee", "type": "user"}, // 负责人(用户)
{"id": "cli_yyy", "role": "follower", "type": "app"} // 关注人(机器人/应用)
]
}**说明**:`id` 默认使用 `open_id`。
3. 任务清单角色冲突
**现象**:创建清单(`tasklist.create`)时传了 `members`,但返回的 `tasklist.members` 为空或缺少成员
**原因**:创建人自动成为清单 **owner**(所有者),如果 `members` 中包含创建人,该用户最终成为 owner 并从 `members` 中移除(同一用户只能有一个角色)
**建议**:不要在 `members` 中包含创建人,只添加其他协作成员
4. completed_at 的三种用法
**1) 完成任务(设置完成时间)**:
{
"action": "patch",
"task_guid": "xxx",
"completed_at": "2026-02-26 15:30:00" // 北京时间字符串
}**2) 反完成(恢复未完成状态)**:
{
"action": "patch",
"task_guid": "xxx",
"completed_at": "0" // 特殊值 "0" 表示反完成
}**3) 毫秒时间戳**(不推荐,除非上层已严格生成):
{
"completed_at": "1740545400000" // 毫秒时间戳字符串
}5. 清单成员的角色
| 成员类型 | 角色 | 说明 | |---------|------|------| | user(用户) | owner | 所有者,可转让所有权 | | user(用户) | editor | 可编辑,可修改清单和任务 | | user(用户) | viewer | 可查看,只读权限 | | chat(群组) | editor/viewer | 整个群组获得权限 |
**说明**:创建清单时,创建者自动成为 owner,无需在 members 中指定。
---
📌 使用场景示例
场景 1: 创建任务并分配负责人
{
"action": "create",
"summary": "准备周会材料",
"description": "整理本周工作进展和下周计划",
"current_user_id": "ou_发送者的open_id",
"auth_type": "tenant",
"due": {
"timestamp": "2026-02-28 17:00:00",
"is_all_day": false
},
"members": [
{"id": "ou_协作者的open_id", "role": "assignee", "type": "user"}
]
}**说明**:
- `summary` 是必填字段
- `current_user_id` 强烈建议传入(从 SenderId 获取),工具会自动添加为 follower
- `members` 可以只包含其他协作者,当前用户会被自动添加
- 时间使用带时区的 ISO 8601 格式
场景 2: 查询我负责的未完成任务
{
"action": "list",
"completed": false,
"page_size": 20,
"auth_type": "user"
}场景 3: 为现有任务添加机器人或成员
{
"action": "add_members",
"task_guid": "任务的guid",
"auth_type": "tenant",
"members": [
{"id": "cli_机器人的app_id", "role": "follower", "type": "app"}
]
}场景 4: 完成任务
{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "2026-02-26 15:30:00"
}场景 5: 反完成任务(恢复未完成状态)
{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "0"
}场景 6: 创建清单并添加协作者
{
"action": "create",
"name": "产品迭代 v2.0",
"members": [
{"id": "ou_xxx", "role": "editor"},
{"id": "ou_yyy", "role": "viewer"}
]
}场景 7: 查看清单内的未完成任务
{
"action": "tasks",
"tasklist_guid": "清单的guid",
"completed": false
}场景 8: 全天任务
{
"action": "create",
"summary": "年度总结",
"due": {
"timestamp": "2026-03-01 00:00:00",
"is_all_day": true
}
}场景 9: 注册任务 Agent(仅应用身份)
{
"action": "register",
"auth_type": "tenant"
}场景 10: 更新任务 Agent Profile(仅应用身份)
{
"action": "update_profile",
"auth_type": "tenant",
"profile_content": "some profile content"
}---
🔍 常见错误与排查
| 错误现象 | 根本原因 | 解决方案 | |---------|---------|---------| | **创建后无法编辑任务** | 创建时未将自己加入 members | 创建时至少将当前用户(SenderId)加为 assignee 或 follower | | **patch 失败提示 task_guid 缺失** | 未传 task_guid 参数 | patch/get/add_members 必须传 task_
Read more
name: feishu-task description: | 飞书任务管理工具,用于创建、查询、更新任务和清单。 **当以下情况时使用此 Skill**: (1) 需要创建、查询、更新任务 (2) 需要创建、管理任务清单 (3) 需要查看任务列表或清单内的任务 (4) 用户提到"任务"、"待办"、"to-do"、"清单"、"task" (5) 需要设置任务负责人、关注人、截止时间、添加成员 (6) 需要追加任务步骤记录(Task 的 steps) (7) 需要上传任务附件(支持 task / task_delivery) (8) 需要注册 Agent / 更新 Agent 信息(register / update_profile)
飞书任务管理
🚨 执行前必读
- ✅ **时间格式**:ISO 8601 / RFC 3339(带时区),例如 `2026-02-28T17:00:00+08:00`
- ✅ **身份授权**:工具支持 `auth_type` 为 `user`(默认,用户身份)或 `tenant`(应用身份)。
- ✅ **任务 Agent(feishu_task_agent)**:仅支持应用身份(tenant),不支持 user 身份
- ✅ **current_user_id 强烈建议**:从消息上下文的 SenderId 获取(ou_...),工具会自动添加为 follower(如不在 members 中),确保创建者可以编辑任务
- ✅ **patch/get 必须**:task_guid
- ✅ **tasklist.tasks 必须**:tasklist_guid
- ✅ **完成任务**:completed_at = "2026-02-26 15:00:00"
- ✅ **反完成(恢复未完成)**:completed_at = "0"
- ✅ **append_steps 的 task_steps[].timestamp**:秒级 Unix 时间戳(10 位),不要用毫秒(13 位)
---
📋 快速索引:意图 → 工具 → 必填参数
| 用户意图 | 工具 | action | 必填参数 | 强烈建议 | 常用可选 | |---------|------|--------|---------|---------|---------| | 新建待办 | feishu_task_task | create | summary | current_user_id(SenderId) | members, due, description, auth_type | | 查未完成任务 | feishu_task_task | list | - | completed=false | page_size, auth_type, agent_task_status | | 获取任务详情 | feishu_task_task | get | task_guid | - | auth_type | | 完成任务 | feishu_task_task | patch | task_guid, completed_at | - | auth_type | | 反完成任务 | feishu_task_task | patch | task_guid, completed_at="0" | - | auth_type | | 改截止时间 | feishu_task_task | patch | task_guid, due | - | auth_type | | 添加任务成员 | feishu_task_task | add_members | task_guid, members[] | - | auth_type | | 追加任务步骤记录 | feishu_task_task | append_steps | task_guid, idempotent_key, task_steps[] | task_steps[].timestamp 用秒级(10 位) | - | | 创建清单 | feishu_task_tasklist | create | name | - | members | | 查看清单任务 | feishu_task_tasklist | tasks | tasklist_guid | - | completed | | 添加清单成员 | feishu_task_tasklist | add_members | tasklist_guid, members[] | - | - | | 上传任务附件 | feishu_task_attachment | upload | resource_id, file(base64) | name | resource_type | | 注册任务 Agent | feishu_task_agent | register | - | 仅支持 tenant(应用身份) | - | | 更新任务 Agent Profile | feishu_task_agent | update_profile | profile_content | 仅支持 tenant(应用身份) | - |
---
🎯 核心约束(Schema 未透露的知识)
1. 授权身份与可见性 (auth_type)
**工具支持两种调用身份 `auth_type`**:
- **`user` (默认)**:用户身份(user_access_token)。用于需要严格代表用户操作或查询用户私有任务的场景。
- ⚠️ 使用 `user` 身份时,只能查看和编辑**自己是成员的任务**。
- ⚠️ **如果创建时没把自己加入成员,后续无法编辑该任务**。
- **`tenant`**:应用身份(tenant_access_token)。当用户身份不满足要求时,使用应用身份。如果创建的任务没有把用户加入成员,用户可能看不见。
**自动保护机制**:
- 传入 `current_user_id` 参数(从 SenderId 获取)
- 如果 `members` 中不包含 `current_user_id`,工具会**自动添加为 follower**
- 确保创建者始终可以编辑和查看任务
2. 任务成员的角色与类型
- **角色 (role)**:
- **assignee(负责人)**:负责完成任务,可以编辑任务
- **follower(关注人)**:关注任务进展,接收通知
- **类型 (type)**:
- **user(默认,用户)**:普通的飞书用户
- **app(应用/机器人)**:如果是把机器人自己或者其他应用加入任务,必须指定 `type: "app"`
**添加成员示例**:
{
"members": [
{"id": "ou_xxx", "role": "assignee", "type": "user"}, // 负责人(用户)
{"id": "cli_yyy", "role": "follower", "type": "app"} // 关注人(机器人/应用)
]
}**说明**:`id` 默认使用 `open_id`。
3. 任务清单角色冲突
**现象**:创建清单(`tasklist.create`)时传了 `members`,但返回的 `tasklist.members` 为空或缺少成员
**原因**:创建人自动成为清单 **owner**(所有者),如果 `members` 中包含创建人,该用户最终成为 owner 并从 `members` 中移除(同一用户只能有一个角色)
**建议**:不要在 `members` 中包含创建人,只添加其他协作成员
4. completed_at 的三种用法
**1) 完成任务(设置完成时间)**:
{
"action": "patch",
"task_guid": "xxx",
"completed_at": "2026-02-26 15:30:00" // 北京时间字符串
}**2) 反完成(恢复未完成状态)**:
{
"action": "patch",
"task_guid": "xxx",
"completed_at": "0" // 特殊值 "0" 表示反完成
}**3) 毫秒时间戳**(不推荐,除非上层已严格生成):
{
"completed_at": "1740545400000" // 毫秒时间戳字符串
}5. 清单成员的角色
| 成员类型 | 角色 | 说明 | |---------|------|------| | user(用户) | owner | 所有者,可转让所有权 | | user(用户) | editor | 可编辑,可修改清单和任务 | | user(用户) | viewer | 可查看,只读权限 | | chat(群组) | editor/viewer | 整个群组获得权限 |
**说明**:创建清单时,创建者自动成为 owner,无需在 members 中指定。
---
📌 使用场景示例
场景 1: 创建任务并分配负责人
{
"action": "create",
"summary": "准备周会材料",
"description": "整理本周工作进展和下周计划",
"current_user_id": "ou_发送者的open_id",
"auth_type": "tenant",
"due": {
"timestamp": "2026-02-28 17:00:00",
"is_all_day": false
},
"members": [
{"id": "ou_协作者的open_id", "role": "assignee", "type": "user"}
]
}**说明**:
- `summary` 是必填字段
- `current_user_id` 强烈建议传入(从 SenderId 获取),工具会自动添加为 follower
- `members` 可以只包含其他协作者,当前用户会被自动添加
- 时间使用带时区的 ISO 8601 格式
场景 2: 查询我负责的未完成任务
{
"action": "list",
"completed": false,
"page_size": 20,
"auth_type": "user"
}场景 3: 为现有任务添加机器人或成员
{
"action": "add_members",
"task_guid": "任务的guid",
"auth_type": "tenant",
"members": [
{"id": "cli_机器人的app_id", "role": "follower", "type": "app"}
]
}场景 4: 完成任务
{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "2026-02-26 15:30:00"
}场景 5: 反完成任务(恢复未完成状态)
{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "0"
}场景 6: 创建清单并添加协作者
{
"action": "create",
"name": "产品迭代 v2.0",
"members": [
{"id": "ou_xxx", "role": "editor"},
{"id": "ou_yyy", "role": "viewer"}
]
}场景 7: 查看清单内的未完成任务
{
"action": "tasks",
"tasklist_guid": "清单的guid",
"completed": false
}场景 8: 全天任务
{
"action": "create",
"summary": "年度总结",
"due": {
"timestamp": "2026-03-01 00:00:00",
"is_all_day": true
}
}场景 9: 注册任务 Agent(仅应用身份)
{
"action": "register",
"auth_type": "tenant"
}场景 10: 更新任务 Agent Profile(仅应用身份)
{
"action": "update_profile",
"auth_type": "tenant",
"profile_content": "some profile content"
}---
🔍 常见错误与排查
| 错误现象 | 根本原因 | 解决方案 | |---------|---------|---------| | **创建后无法编辑任务** | 创建时未将自己加入 members | 创建时至少将当前用户(SenderId)加为 assignee 或 follower | | **patch 失败提示 task_guid 缺失** | 未传 task_guid 参数 | patch/get/add_members 必须传 task_
This is the official Lark/Feishu plugin for OpenClaw, developed and maintained by the Lark/Feishu Open Platform team.
Repo: larksuite/openclaw-lark
Other skills on openclaw-lark.
- /feishu-bitable
飞书多维表格(Bitable)的创建、查询、编辑和管理工具。包含 27 种字段类型支持、高级筛选、批量操作和视图管理。 **当以下情况时使用此 Skill**: (1) 需要创建或管理飞书多维表格 App (2) 需要在多维表格中新增、查询、修改、删除记录(行数据) (3) 需要管理字段(列)、视图、数据表 (4) 用户提到"多维表格"、"bitable"、"数据表"、"记录"、"字段" (5) 需要批量导入数据或批量更新多维表格
Open skill - /feishu-calendar
飞书日历与日程管理工具集。包含日历管理、日程管理、参会人管理、忙闲查询。
Open skill - /feishu-channel-rules
Lark/Feishu channel output rules. Always active in Lark conversations.
Open skill - /feishu-create-doc
创建飞书云文档。从 Lark-flavored Markdown 内容创建新的飞书云文档,支持指定创建位置(文件夹/知识库/知识空间)。
Open skill - /feishu-fetch-doc
获取飞书云文档内容。返回文档的 Markdown 内容,支持处理文档中的图片、文件和画板(需配合 feishu_doc_media 工具)。
Open skill - /feishu-im-read
飞书 IM 消息读取工具使用指南,覆盖会话消息获取、话题回复读取、跨会话消息搜索、图片/文件资源下载。 **当以下情况时使用此 Skill**: (1) 需要获取群聊或单聊的历史消息 (2) 需要读取话题(thread)内的回复消息 (3) 需要跨会话搜索消息(按关键词、发送者、时间等条件) (4) 消息中包含图片、文件、音频、视频,需要下载 (5) 用户提到"聊天记录"、"消息"、"群里说了什么"、"话题回复"、"搜索消息"、"图片"、"文件下载" (6) 需要按时间范围过滤消息、分页获取更多消息
Open skill

