其他

lark-task

larksuite/cli

飞书任务:管理任务、清单和任务智能体。创建待办任务、查看和更新任务状态、拆分子任务、组织任务清单、分配协作成员、上传任务附件、注册或注销任务智能体、更新任务智能体的主页数据、写入智能体任务记录。当用户需要创建待办事项、查看任务列表、跟踪任务进度、管理项目清单或给他人分配任务、为任务上传附件文件、注册注销任务智能体、更新智能体主页数据、写入任务记录时使用。

  • 47.3万 次安装
  • 1.8万 星标
  • 收录于

安装命令

npx skills add https://github.com/larksuite/cli --skill lark-task

要点

Complete task lifecycle management for Feishu, including creation, assignment, tracking, and agent integration.

  • Create, update, complete, and reopen tasks; manage subtasks, custom fields, and task sections
  • Assign collaborators, manage followers, set reminders, and upload attachments to tasks
  • Search tasks by keyword or retrieve filtered lists (assigned to you, related to you, or by custom criteria)
  • Organize tasks into tasklists with member management and bulk task operations
  • Register AI agents, update agent profiles, and write task execution records for agent workflows

SKILL.md

task (v2)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理

命令选择与渐进式发现(必读)

执行任何 Task 命令前,必须先确认能力真实存在,禁止根据用户意图自行拼接或猜测 +<verb>:

  1. 先将用户意图与下方 Shortcut 表精确匹配。只有表中明确列出的 shortcut 才可直接选择;参数不确定时读取对应 reference 或运行该 shortcut 的 --help。
  2. 没有精确匹配、或无法确认当前版本是否支持时,先运行 lark-cli task --help,以当前 CLI 输出的命令列表为准。
  3. help 中存在匹配 shortcut 时,使用 help 列出的完整 shortcut token(例如 +create)运行 lark-cli task <shortcut> --help,再按真实 flag 执行。
  4. help 中没有匹配 shortcut 时,不得尝试相似的 +<verb>;从 help 中选择原生 resource,运行 lark-cli task <resource> --help 确认 method,再运行 lark-cli schema task.<resource>.<method> 获取参数结构,最后调用 lark-cli task <resource> <method> ...。
  5. 遇到 unknown_subcommand 时必须停止猜测或尝试变体,回到第 2 步重新发现能力。

shortcut 名称只能来自本 Skill 的 Shortcut 表或 lark-cli task --help;原生 resource/method 以逐级 help 为准,参数名、类型和嵌套结构以 method schema 为准。

task (v2)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理

命令选择与渐进式发现(必读)

执行任何 Task 命令前,必须先确认能力真实存在,禁止根据用户意图自行拼接或猜测 +<verb>:

  1. 先将用户意图与下方 Shortcut 表精确匹配。只有表中明确列出的 shortcut 才可直接选择;参数不确定时读取对应 reference 或运行该 shortcut 的 --help。
  2. 没有精确匹配、或无法确认当前版本是否支持时,先运行 lark-cli task --help,以当前 CLI 输出的命令列表为准。
  3. help 中存在匹配 shortcut 时,使用 help 列出的完整 shortcut token(例如 +create)运行 lark-cli task <shortcut> --help,再按真实 flag 执行。
  4. help 中没有匹配 shortcut 时,不得尝试相似的 +<verb>;从 help 中选择原生 resource,运行 lark-cli task <resource> --help 确认 method,再运行 lark-cli schema task.<resource>.<method> 获取参数结构,最后调用 lark-cli task <resource> <method> ...。
  5. 遇到 unknown_subcommand 时必须停止猜测或尝试变体,回到第 2 步重新发现能力。

shortcut 名称只能来自本 Skill 的 Shortcut 表或 lark-cli task --help;原生 resource/method 以逐级 help 为准,参数名、类型和嵌套结构以 method schema 为准。