MCPInstall

feishu-cli-toolkit

飞书轻量工具箱与分诊入口。仅在没有更专用 skill 时使用,主要覆盖普通电子表格、 日历/日程、任务/任务清单、基础文件/素材/评论、知识库、用户和部门查询、审批查询。 文档读写导入导出、云盘增强、多维表格、画板、消息/群聊、邮箱、搜索、权限、OAuth、 视频会议/妙记均优先使用对应 feishu-cli- 专用技能。 sheet filter-view/dropdown 优先用 feishu-cli-sheet;calendar suggestion/room-find/rsvp 优先用 feishu-cli-calendar。

Installs
1.1K
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-toolkit
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads feishu-cli-toolkit automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

飞书轻量工具箱

本技能是 fallback,不和专用技能抢职责。先分诊,再执行对应命令。

Token 策略(仅本 skill 涵盖范围)

类型行为
读类 + sheet 全家桶(sheet 所有读写命令、calendar list/get/event-search/freebusy/attendee list、task get/list/comment list/subtask list/tasklist get/list/tasks、file meta/stats/list/version list/get、download、wiki nodes/spaces 等)已 auth login 自动用 User Token,未登录回落 App Token(resolveOptionalUserTokenWithFallback)
写类(calendar create-event/update/delete/event-reply/attendee add、task create/update/delete/comment add/reminder add/...、tasklist create/delete/add-task/remove-task、wiki member add/remove)默认 App Token(Bot 身份),仅显式 --user-access-token 时切到 User(resolveOptionalUserToken)
必需 User Token(approval task query/approve/reject/transfer + instance get/cancel/cc、my_tasks、calendar rsvp)未登录直接报错(resolveRequiredUserToken / requireUserToken)

完整跨 skill 规则(含 search / chat / msg flag 等本 skill 范围外的命令)见 feishu-cli-auth 技能的"Token 解析策略"章节。

分诊

用户意图使用技能
读文档 / 导出 Markdownfeishu-cli-read / feishu-cli-export
创建、编辑、导入 Markdownfeishu-cli-write / feishu-cli-import
大文件上传、云盘异步导入导出、富文本评论、drive searchfeishu-cli-drive
多维表格 base/v3feishu-cli-bitable
画板、Mermaid/PlantUML 直接落板、SVG 管道feishu-cli-board
发送消息、卡片、群聊历史feishu-cli-msg / feishu-cli-card / feishu-cli-chat
邮件、会议/妙记、搜索、权限、认证对应 mail / vc / search / perm / auth skill

模块速查

模块常用命令详细参考
电子表格 Sheetsheet create/get/read/write/append/import-md/export、V3 富文本references/sheet-commands.md
日历日程calendar list/get/primary/create-event/list-events/get-event/update-event/delete-event/event-search/freebusyreferences/calendar-commands.md
任务 / 清单task create/complete/delete、task subtask/member/reminder/comment、tasklistreferences/task-commands.md
基础群创建chat create/linkreferences/chat-commands.md
基础文件file list/mkdir/move/copy/delete/download/upload/version/meta/stats本文件
素材media upload/download本文件
评论comment list/add/delete/resolve/unresolve、comment reply本文件
知识库wiki get/update/export/spaces/nodes/space-get/member本文件
审批approval get、approval task query(User Token 必需)本文件
用户/部门user info/search/list、dept get/children本文件

Sheet

普通电子表格读写和 Markdown 表格导入/导出:

feishu-cli sheet create --title "数据表"
feishu-cli sheet read <token> "A1:C10" --sheet-id <sheet_id>
feishu-cli sheet write <token> "A1:B2" --sheet-id <sheet_id> --data '[["姓名","分数"],["张三",95]]'
feishu-cli sheet import-md report.md --title "报表"
feishu-cli sheet export <token_or_url> --format markdown -o report.md

富文本、样式、图片、保护范围等细节见 references/sheet-commands.md。注意 sheet export 支持 /sheets/<token> URL。

Calendar

feishu-cli calendar list
feishu-cli calendar primary
feishu-cli calendar create-event --calendar-id <id> --summary "会议" \
  --start "2024-01-21T14:00:00+08:00" --end "2024-01-21T15:00:00+08:00"
feishu-cli calendar list-events <calendar_id> --start-time "2024-01-01T00:00:00+08:00"
feishu-cli calendar get-event <calendar_id> <event_id>
feishu-cli calendar update-event <calendar_id> <event_id> --summary "新标题"
feishu-cli calendar delete-event <calendar_id> <event_id>
feishu-cli calendar event-search --calendar-id <id> --query "周会"

更多参数见 references/calendar-commands.md。

Task / Tasklist

feishu-cli task create --summary "任务标题"
feishu-cli task complete <task_guid>
feishu-cli task subtask create <task_guid> --summary "子任务"
feishu-cli task member add <task_guid> --members ou_xxx --role assignee
feishu-cli tasklist create --name "项目清单"
feishu-cli tasklist tasks <tasklist_guid>

完整任务、成员、提醒、评论命令见 references/task-commands.md。

File / Media

基础文件和素材命令适合简单 App Token 场景;上传 resume、云盘 diff 用 feishu-cli-drive。

feishu-cli file list <folder_token>
feishu-cli file upload ./report.pdf --parent fldxxx
feishu-cli file download <file_token> -o ./report.pdf
feishu-cli file download <file_token> -o large.zip --timeout 30m       # 大文件可调超时
feishu-cli file mkdir "新文件夹" --parent fldxxx
feishu-cli media upload image.png --parent-type docx_image --parent-node <document_id>
feishu-cli media download <file_token> -o ./image.png

file download 已登录自动用 User Token(resolveOptionalUserTokenWithFallback,也可显式 --user-access-token)。用户身份下载走 raw HTTP,遇飞书大文件限制(100MB+)会自动用 HTTP Range 分片下载并合并——和 drive download 一致,因此 toolkit 即可处理用户态大文件,不必再绕 feishu-cli-drive。

Comment / Wiki

feishu-cli comment list <file_token> --type docx
feishu-cli comment add <file_token> --type docx --text "评论内容"
feishu-cli comment resolve <file_token> <comment_id> --type docx

feishu-cli wiki spaces
feishu-cli wiki nodes <space_id>
feishu-cli wiki get <node_token>
feishu-cli wiki update <node_token> --title "新标题"              # 改节点标题(仅 doc/docx/快捷方式;需 wiki:node:update)
feishu-cli wiki space-get <space_id>                              # 知识库基础信息(名称/类型/可见性/分享状态)
feishu-cli wiki member list <space_id>

# 高危:删除整个知识库(需 --yes 才会真删,缺 --yes 直接拒绝)
feishu-cli wiki delete-space <space_id> --yes                     # 自动轮询异步任务直至完成 / 超时

# v1.29+ 新增 ⭐
feishu-cli wiki space-create --name "新知识库" [--description "..."]      # 创建知识库
feishu-cli wiki space-list [--page-all] [--page-limit N] [-o json]         # 列出所有可见 space(默认仅第一页)
feishu-cli wiki node-copy --space-id <src> --node-token <node> \
  --target-space-id <dst> [--title "副本标题"]                              # 复制节点(也可用 --target-parent-node-token)

Comment 避坑

  • 报 1069302/1069303 forbidden = 当前 token 看不到这个文档的评论。
    • 个人云文档(owner 是 user)必须用 User Token:feishu-cli comment list <token> --type docx --user-access-token "u-xxxxx" 或先 feishu-cli auth login
    • 应用云文档(owner 是 App)可用 tenant token,但 App 必须是协作者
    • 外部群里的文档可能 232033(见 feishu-cli-chat/references/external-chat.md)
  • --user-access-token 是 comment 子命令的全局 flag(list/add/get/reply/resolve/unresolve 都支持),传入后所有 comment 操作走用户身份。

需要富文本评论、wiki URL 自动解析、局部评论时使用 feishu-cli-drive。

Approval / User / Dept

feishu-cli approval get <approval_code>
feishu-cli approval task query --topic todo -o json

feishu-cli user info ou_xxx
feishu-cli user search --email user@example.com
feishu-cli user list --department-id od_xxx
feishu-cli dept get <department_id>
feishu-cli dept children <department_id>

approval task query 需要 User Token;执行前可用 feishu-cli-auth 做 scope 预检。

执行前检查

  1. 不确定模块时先看上方分诊表。
  2. 涉及 User Token 的命令先运行 feishu-cli auth check --scope "<scope>"。
  3. 需要复杂参数时读取对应 references/*.md,不要把二级 reference 当成默认上下文。

FAQ

What does the feishu-cli-toolkit skill do?

飞书轻量工具箱与分诊入口。仅在没有更专用 skill 时使用,主要覆盖普通电子表格、 日历/日程、任务/任务清单、基础文件/素材/评论、知识库、用户和部门查询、审批查询。 文档读写导入导出、云盘增强、多维表格、画板、消息/群聊、邮箱、搜索、权限、OAuth、 视频会议/妙记均优先使用对应 feishu-cli- 专用技能。 sheet filter-view/dropdown 优先用 feishu-cli-sheet;calendar suggestion/room-find/rsvp 优先用 feishu-cli-calendar。

How do I install feishu-cli-toolkit?

Run npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-toolkit in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/feishu-cli-toolkit/ (personal) or .claude/skills/feishu-cli-toolkit/ (project).

Which AI agents can use feishu-cli-toolkit?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is feishu-cli-toolkit safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains feishu-cli-toolkit?

It is published by riba2534 in riba2534/feishu-cli. It has 1,064 recorded installs.

More from riba2534/feishu-cli

View all →

feishu-cli-read

riba2534/feishu-cli

只读操作,不修改文档内容。读取飞书云文档、知识库内容或电子表格,分析文档结构。 支持普通 docx、普通 sheet、知识库 docx 和知识库 sheet。当用户请求"查看"、"阅读"、"分析"、"读取"、 "打开"、"read"、"view" 飞书文档、知识库或电子表格时使用。支持通过文档 ID、知识库 Token 或 URL 读取。 Markdown 仅作为分析中间态存放在 /tmp(不主动落地为用户文件);如需主动导出到本地路径请用 feishu-cli-export, 写入请用 feishu-cli-write。

feishu-cli-msg

riba2534/feishu-cli

飞书消息发送。发送消息(text/post/interactive 卡片等 10 种类型:text/post/image/file/audio/media/sticker/interactive/sharechat/shareuser;system 分割线 CLI 暂未直接支持,需用 feishu-cli api 透传)、回复消息、 转发/合并转发、消息加急、消息书签(flag 收藏/list/cancel)、下载消息资源(图片/文件)。 发送/回复/转发/加急默认 App Token(Bot 身份);msg flag 收藏/书签必需 User Token(im:feed.flag:read/write); msg resource-download 已登录时优先 User Token,未登录回落 App Token。 当用户明确请求通过飞书即时消息/Bot 消息发送、回复、转发、合并转发、加急、消息收藏/书签、 下载消息图片或文件时使用。邮件走 feishu-cli-mail;文档评论/共享权限走对应 skill。 注意:Reaction/Pin/获取消息详情/批量获取消息/话题回复/消息历史/搜索群聊/群聊管理, 以及消息删除(默认 App Token 用于 Bot 自撤回,可选 User Token 让管理员撤回他人) 请使用 feishu-cli-chat 技能。 发送 interactive 卡片时,先用 feishu-cli-card 构造 v2 JSON, 再回到本技能用 --msg-type interactive --content-file 发送。

feishu-cli-write

riba2534/feishu-cli

向飞书文档写入内容、创建新文档、新建空白文档。支持 doc import 从 Markdown 创建、 doc content-update 精准追加/覆盖/替换/插入/删除,doc add/update/delete 低层块操作, 以及图片/文件插入。当用户请求创建文档、写文档、更新文档、替换章节、插入章节、 删除章节、追加内容、覆盖文档、插入图片或文件时使用。

feishu-cli-export

riba2534/feishu-cli

将飞书文档、知识库文档或电子表格导出到本地。支持 docx/wiki/sheet 导出 Markdown, doc export 内嵌电子表格自动展开,图片/画板素材下载,以及 doc export-file 异步导出 PDF/Word/Excel。当用户请求导出文档、保存为 Markdown、导出 PDF/Word/Excel、下载文档图片、 导出表格或表格转 Markdown 时使用。本地导入请用 feishu-cli-import 或 feishu-cli-drive。

feishu-cli-import

riba2534/feishu-cli

从 Markdown 文件导入创建飞书文档。支持嵌套列表、Mermaid/PlantUML 图表自动转画板、 大表格智能处理(超过 9 行用 inserttablerow API 追加保持单 block,超过 9 列拆分保留首列)、公式、Callout 高亮块。 内置飞书侧渲染规范(references/doc-guide.md + references/mermaid-spec.md), 覆盖图表花括号/par 等语法限制、表格 9 行/列阈值、Callout 6 种颜色映射等飞书兼容性规则。 当用户请求"导入 Markdown"、"从 md 创建文档"、"从 md 文件创建文档"、"把 Markdown 转换到飞书"、 "上传 Markdown"、"Markdown 转飞书"、"md 导入"、"批量导入",或排查"飞书 Mermaid 渲染失败"、 "Callout 颜色不对"、"飞书表格被拆"、"飞书文档导入兼容性"等问题时使用。 注意:仅支持 Markdown 源文件导入为飞书文档。Markdown 表格创建电子表格请用 feishu-cli-toolkit 的 sheet import-md; DOCX/XLSX 导入为云文档请使用 feishu-cli-drive 的 drive import。

feishu-cli-board

riba2534/feishu-cli

飞书画板全能操作 · 5 种画图路径任选其一: (A) Mermaid/PlantUML 服务端渲染(思维导图/时序图/类图/饼图/流程图/甘特图,整图作为一个节点,飞书自动排版) (B) Mermaid 本地引擎 whiteboard-cli(绕开 par/参与方数等服务端限制,每个节点可点击编辑) (C) SVG 自由作图(任意视觉:飞轮/鱼骨/Dashboard/海报/插画/架构图等,每个 SVG 元素 → 1 个原生节点可单独编辑) → 使用 scripts/svgtoboard.py 把 SVG 翻译为飞书原生节点 (D) 简单 SVG 单节点装饰(图标/印章/小元素,2KB 以内 SVG) (E) 精排架构图(手写节点 JSON,绝对坐标 + 配色 + 连线 ID 引用) 当用户请求"画图/画板/whiteboard/画架构图/画流程图/画飞轮/画鱼骨/画路线图/画 Dashboard/画插画/画海报/ AI 自由作图/SVG 落画板/克隆画板/上传图片到画板/可视化/节点图/精排"时使用。 特别地,当用户反馈"右下角半截楼""zindex 错乱""节点翻倍""复杂图渲染不全""mermaid 服务端失败" 务必读 references/pitfalls.md 排障。 写类(add-board/create-notes/update/delete/clone/svg-import/upload-image/import)使用 App Token(默认 Bot 身份), 无需登录;即使用户已 auth login,写类命令仍保持 App 身份不切换。 读类(image/nodes/export-code/svg-export/lint)登录后自动用 User Token,未登录回落 App Token。 svg-export 导出整板 SVG 视觉快照(POST /export,base64 解码),对任意画板有效(不限 svg 节点), 配合 svgtoboard.py / board import 可实现「导出 → 编辑 → 回写」闭环。

Popular productivity & automation skills

View category →

agent-browser

vercel-labs/agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

OfficialProductivity & Automation1.3M installs

lark-doc

open.feishu.cn

飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。

lark-base

open.feishu.cn

飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。

lark-drive

open.feishu.cn

飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。

lark-shared

open.feishu.cn

Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.

lark-im

open.feishu.cn

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。