← 返回 Skills 市场
2072
总下载
2
收藏
36
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-task
功能描述
飞书任务管理 - 创建、查询、更新和删除飞书任务。Use when user mentions 飞书任务、创建任务、指派任务、任务管理。 Triggers: - "创建一个飞书任务" - "帮我在飞书里添加任务" - "查看我的飞书任务" - "更新/修改/删除飞书任务" - "给XXX指派任务
使用说明 (SKILL.md)
飞书任务管理 (Feishu Task)
通过飞书开放平台 API 管理任务,支持创建、查询、更新和删除任务。
前置要求
1. 飞书应用权限
确保飞书应用已申请以下权限:
task:task:write- 创建、更新、删除任务task:task:readonly- 读取任务信息
2. 环境变量
设置以下环境变量(或在调用时传入):
export FEISHU_APP_ID="cli_xxxxx"
export FEISHU_APP_SECRET="xxxxxxxx"
使用方法
Python 代码调用
from scripts.task_client import FeishuTaskClient
# 初始化客户端
client = FeishuTaskClient()
# 创建任务
result = client.create_task(
summary="完成月度报告",
description="整理2月份数据并生成报告",
due_time="2026-03-10T18:00:00+08:00",
assignee_id="ou_xxxxx",
priority=2 # 0=默认, 1=低, 2=中, 3=高
)
print(f"任务创建成功: {result['data']['task']['id']}")
# 获取任务列表
tasks = client.list_tasks()
# 获取任务详情
task = client.get_task("task_id_here")
# 更新任务
client.update_task(
"task_id_here",
summary="新的标题",
completed=True
)
# 删除任务
client.delete_task("task_id_here")
命令行使用
# 创建任务
python3 scripts/task_client.py create "完成月度报告" --due "2026-03-10T18:00:00+08:00" --assignee "ou_xxxxx" --priority 2
# 获取任务详情
python3 scripts/task_client.py get "task_id"
# 列出任务
python3 scripts/task_client.py list
# 更新任务
python3 scripts/task_client.py update "task_id" --completed true
# 删除任务
python3 scripts/task_client.py delete "task_id"
API 参数说明
创建任务 (create_task)
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| summary | str | ✅ | 任务标题 |
| description | str | ❌ | 任务描述 |
| due_time | str | ❌ | 截止时间 (ISO 8601格式) |
| assignee_id | str | ❌ | 执行者用户ID (ou_xxxxx) |
| follower_ids | list | ❌ | 关注者用户ID列表 |
| priority | int | ❌ | 优先级: 0=默认, 1=低, 2=中, 3=高 |
时间格式示例
2026-03-10T18:00:00+08:00- 北京时间2026-03-10T10:00:00Z- UTC时间
获取用户ID
用户ID (open_id) 格式为 ou_xxxxx,可以通过以下方式获取:
- 飞书管理后台 → 组织架构 → 用户详情
- 使用飞书
contact:user.employee_id:readonly权限查询
注意事项
- 认证:首次调用会自动获取 access_token,token 有效期约 2 小时
- 时区:建议使用带时区的时间格式,如
+08:00表示北京时间 - 权限:确保应用已被用户或组织授权,否则接口会返回权限错误
- 频率限制:注意飞书 API 的调用频率限制
相关链接
安全使用建议
Review before installing. Use a dedicated least-privilege Feishu app, protect and rotate the app secret, verify the source if cloning from GitHub, and require the agent to show the task ID/title and get explicit confirmation before delete, completion, reassignment, or other major updates.
能力评估
Purpose & Capability
The stated purpose, README, and Python client are coherent: this is a Feishu task manager for creating, listing, updating, and deleting tasks via Feishu Open Platform APIs.
Instruction Scope
Delete and update operations are documented as normal examples, and the script performs them directly; the artifacts do not instruct the agent to show the task details or require user confirmation before deleting or completing tasks.
Install Mechanism
The reviewed package contains a README, SKILL.md, and a Python helper script; README installation also references cloning a mutable GitHub repository and copying it into the skills directory, so provenance should be checked if installed that way.
Credentials
Use of FEISHU_APP_ID, FEISHU_APP_SECRET, Feishu task read/write scopes, and outbound calls to open.feishu.cn is disclosed and fits the task-management purpose, though registry metadata does not separately declare those capabilities.
Persistence & Privilege
No background persistence or hidden startup behavior was found, but the skill grants tenant-level Feishu task mutation authority through app credentials and includes a direct DELETE path with no built-in confirmation or undo guidance.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-task - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-task触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Feishu Task Manager 是什么?
飞书任务管理 - 创建、查询、更新和删除飞书任务。Use when user mentions 飞书任务、创建任务、指派任务、任务管理。 Triggers: - "创建一个飞书任务" - "帮我在飞书里添加任务" - "查看我的飞书任务" - "更新/修改/删除飞书任务" - "给XXX指派任务. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2072 次。
如何安装 Feishu Task Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-task」即可一键安装,无需额外配置。
Feishu Task Manager 是免费的吗?
是的,Feishu Task Manager 完全免费(开源免费),可自由下载、安装和使用。
Feishu Task Manager 支持哪些平台?
Feishu Task Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Task Manager?
由 youyoude(@youyoude)开发并维护,当前版本 v1.0.0。
推荐 Skills