MCPInstall

feishu-cli-sheet

飞书电子表格高级能力(筛选视图 + 筛选条件 + 下拉单元格 + 浮动图片 + 批量样式)。 filter-view CRUD 管理筛选视图,filter-view condition CRUD 写筛选条件(V3 API); dropdown set/get/update/delete 管理单元格下拉框(V2 dataValidation); image get/update/media-upload/write-image 操作浮动图片与单元格写图; batch-set-style 批量设置多范围单元格样式。 基础读写(read/write/style/add-rows/add-sheet)仍在 feishu-cli 主命令 sheet/bitable, 本 skill 专注高级能力。 当用户请求"筛选视图"、"筛选条件"、"加下拉框"、"数据验证"、"列下拉"、"浮动图片"、"插入图片"、"批量样式"时使用。

Installs
177
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-sheet
  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-sheet 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.

飞书电子表格高级能力

feishu-cli sheet 子命令组的高级能力——筛选视图 CRUD + 筛选条件 CRUD + 单元格下拉菜单 CRUD + 浮动图片 / 单元格写图 + 批量样式。这些此前多是 lark-cli 独占的能力,现已补齐到 feishu-cli。

范围划分:基础读写(sheet read / write / style / add-rows / add-sheet 等)和 V3 富文本走主命令 feishu-cli sheet / feishu-cli bitable,本 skill 覆盖 filter-view(含 condition)+ dropdown + image + batch-set-style。其他子命令查询 feishu-cli sheet --help。

前置条件

  • 认证:sheets:spreadsheet scope,User Token 或 App Token 均可。命令默认走 resolveOptionalUserTokenWithFallback:
    • 已 feishu-cli auth login → 自动用 User Token
    • 未登录或显式 --user-access-token 留空 → 落回 App Token(Bot 身份)
  • token / sheet-id 来源:电子表格 URL https://xxx.feishu.cn/sheets/<token>?sheet=<sheet-id> 中分别取。

命令速查

筛选视图 filter-view(V3 API,5 命令)

# create —— --name / --filter-view-id 可选,飞书侧自动生成
feishu-cli sheet filter-view create \
  --spreadsheet-token shtcnxxxxxx --sheet-id 0b1212 \
  --range "0b1212!A1:H14" --name "我的视图"

# range 不带 sheetId 前缀时自动补全为 <sheet-id>!<range>
feishu-cli sheet filter-view create --token shtcnxxxxxx --sheet-id 0b1212 --range "A1:H14"

# get —— 取单个视图 id/name/range
feishu-cli sheet filter-view get --token shtcnxxxxxx --sheet-id 0b1212 --filter-view-id pH9hbVcCXA

# update —— --name / --range 至少一个
feishu-cli sheet filter-view update --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --name "新名字"
feishu-cli sheet filter-view update --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --range "0b1212!A1:H20"

# list
feishu-cli sheet filter-view list --token shtcnxxxxxx --sheet-id 0b1212
feishu-cli sheet filter-view list --token shtcnxxxxxx --sheet-id 0b1212 -o json

# delete
feishu-cli sheet filter-view delete --token shtcnxxxxxx --sheet-id 0b1212 --filter-view-id pH9hbVcCXA

筛选条件 filter-view condition(V3 API,5 命令)

CLI 现已支持给筛选视图写筛选条件(按列字母定位),不再只能创建空视图后到 Web UI 配。

# create —— condition-id 为列字母(如 E);expected 为筛选参数 JSON 数组
feishu-cli sheet filter-view condition create --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --condition-id E --filter-type number --compare-type less --expected '["6"]'

feishu-cli sheet filter-view condition get    --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --condition-id E
feishu-cli sheet filter-view condition update --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --condition-id E --filter-type number --compare-type less --expected '["6"]'
feishu-cli sheet filter-view condition delete --token shtcnxxxxxx --sheet-id 0b1212 \
  --filter-view-id pH9hbVcCXA --condition-id E
feishu-cli sheet filter-view condition list   --token shtcnxxxxxx --sheet-id 0b1212 --filter-view-id pH9hbVcCXA

--filter-type 可选 hiddenValue / number / text / color;--compare-type 如 less / beginsWith / between;--expected 是 JSON 数组(如 '["6"]');--condition-id 是列字母(如 E)。

关键参数:

flag必填说明
--token / --spreadsheet-token是电子表格 token(URL /sheets/<token>);--spreadsheet-token 对齐官方 lark-cli
--sheet-id是工作表 ID(URL ?sheet=<sheet-id>)
--rangecreate 必填"<sheetId>!A1:H14",不带 ! 前缀自动补
--name否视图名称 ≤ 100 字符
--filter-view-idcreate/deletecreate 时自定义 ID(10 位字母数字);delete 时定位视图
-o json否输出原始 JSON
--user-access-token否显式覆盖登录态

底层调用:SDK client.Sheets.SpreadsheetSheetFilterView.{Create, Query, Delete}。

下拉菜单 dropdown(V2 dataValidation API,4 命令)

# set —— 简单选项(CSV 逗号分隔)
feishu-cli sheet dropdown set --token shtcnxxxxxx --range "0b1212!A1:A100" \
  --options "待办,处理中,已完成"

# set —— 多选 + 高亮(colors 数量需与 options 一致,自动开启 highlightValidData)
feishu-cli sheet dropdown set --token shtcnxxxxxx --range "0b1212!B1:B100" \
  --options "P0,P1,P2" --multiple --colors "#FF4D4F,#FAAD14,#52C41A"

# set —— 选项内含逗号 → 必须改用 --options-json(JSON 数组,绕过 CSV 解析)
feishu-cli sheet dropdown set --token shtcnxxxxxx --range "0b1212!C1:C100" \
  --options-json '["a, b","c"]'

# get —— 读取区域的下拉菜单设置(range 必须带 sheetId 前缀);输出为 JSON(JSON-only,无 text 模式)
feishu-cli sheet dropdown get --token shtcnxxxxxx --range "0b1212!A1:A100"

# update —— 更新下拉(--sheet-id + --ranges 多范围,支持 --multiple / --colors / --highlight)
feishu-cli sheet dropdown update --token shtcnxxxxxx --sheet-id 0b1212 \
  --ranges "0b1212!A1:A100,0b1212!B1:B100" --options "P0,P1,P2" --multiple --colors "#FF4D4F,#FAAD14,#52C41A"

# update —— 仅开启上色高亮(不传 --colors 也能高亮,--highlight 是 update 相对 set 独有的能力)
feishu-cli sheet dropdown update --token shtcnxxxxxx --sheet-id 0b1212 \
  --ranges "0b1212!A1:A100" --options "P0,P1,P2" --highlight

# delete —— 删除下拉(--ranges 逗号分隔,每个带前缀,最多 100 个)
feishu-cli sheet dropdown delete --token shtcnxxxxxx --ranges "0b1212!A1:A100,0b1212!B1:B100"

set 用 --range(单个),update/delete 用 --ranges(多范围逗号分隔,update 还需 --sheet-id)。 get/update/delete 均接受 --spreadsheet-token 作为 --token 的 lark-cli 兼容别名(set 仅 --token)。 update 独有 --highlight:仅开启选项上色高亮(highlightValidData=true),传 --colors 时自动开启;get 只输出 JSON(无 text 模式)。

浮动图片 image(7 命令)

# media-upload —— 上传本地图片素材,返回 file_token(再用于 image add)
feishu-cli sheet image media-upload shtcnxxxxxx ./logo.png
feishu-cli sheet image media-upload shtcnxxxxxx ./logo.png --name banner.png -o json

# write-image —— 把本地图片直接写入单元格(值类型为图片,非浮动图片;起止单元格须相同)
feishu-cli sheet image write-image shtcnxxxxxx 0b1212 --range "0b1212!A1" --image ./logo.png

# get —— 获取单个浮动图片
feishu-cli sheet image get shtcnxxxxxx 0b1212 ScDmuyHm

# update —— 更新浮动图片锚点 / 尺寸 / 偏移(仅更新显式传入的字段)
feishu-cli sheet image update shtcnxxxxxx 0b1212 ScDmuyHm --width 200 --height 150
feishu-cli sheet image update shtcnxxxxxx 0b1212 ScDmuyHm --range "0b1212!B2:B2" --offset-x 5

# 原有:add / list / delete
feishu-cli sheet image list shtcnxxxxxx 0b1212

浮动图片(float image,可拖动覆盖在单元格上)≠ 单元格写图(write-image,图片作为单元格值)。media-upload 的 parent_type 固定 sheet_image,write-image 的目标范围起止单元格须相同。

批量样式 batch-set-style(1 命令)

# --data 为 {ranges, style} 对象的 JSON 数组,每个 range 须带 sheetId 前缀
feishu-cli sheet batch-set-style shtcnxxxxxx \
  --data '[{"ranges":["0b1212!A1:A2"],"style":{"font":{"bold":true},"backColor":"#FF0000"}}]'

# 多个范围块
feishu-cli sheet batch-set-style shtcnxxxxxx \
  --data '[{"ranges":["0b1212!A1:A2"],"style":{"font":{"bold":true}}},{"ranges":["0b1212!B1:B2"],"style":{"backColor":"#00FF00"}}]'

style 字段沿用飞书 V2 styles_batch_update 原始结构(font / hAlign / vAlign / backColor / foreColor / formatter / clean)。

关键参数:

参数必填说明
<spreadsheet_token>是位置参数,电子表格 token(URL /sheets/<token>)
--data是{ranges, style} 对象的 JSON 数组;每个 range 必须带 sheetId 前缀(如 0b1212!A1:C3)
--user-access-token否显式覆盖登录态(访问无 App 权限的表格时用)

style 沿用飞书 V2 styles_batch_update 原始结构:font(含 bold / italic / fontSize / clean)/ hAlign / vAlign / backColor / foreColor / borderType / borderColor / formatter / clean。

底层调用:PUT /open-apis/sheets/v2/spreadsheets/{token}/styles_batch_update(internal/client/sheets.go)。

典型工作流

1. 任务表加状态下拉 + 优先级筛选视图

TOKEN=shtcnxxxxxx
SHEET=0b1212

# 状态列下拉(A 列):待办 / 处理中 / 已完成
feishu-cli sheet dropdown set --token $TOKEN --range "$SHEET!A2:A1000" \
  --options "待办,处理中,已完成"

# 优先级列下拉(B 列)+ 颜色高亮
feishu-cli sheet dropdown set --token $TOKEN --range "$SHEET!B2:B1000" \
  --options "P0,P1,P2" --colors "#FF4D4F,#FAAD14,#52C41A"

# 创建"P0 高优"筛选视图 + 写筛选条件(B 列 = P0)
FV=$(feishu-cli sheet filter-view create --token $TOKEN --sheet-id $SHEET \
  --range "$SHEET!A1:H1000" --name "P0 高优" -o json | jq -r '.filter_view_id')
feishu-cli sheet filter-view condition create --token $TOKEN --sheet-id $SHEET \
  --filter-view-id $FV --condition-id B --filter-type text --compare-type equal --expected '["P0"]'

2. 清理工作表筛选视图

# list → 拿到 ID → 批量 delete
feishu-cli sheet filter-view list --token $TOKEN --sheet-id $SHEET -o json | \
  jq -r '.[].filter_view_id' | \
  xargs -I{} feishu-cli sheet filter-view delete --token $TOKEN --sheet-id $SHEET --filter-view-id {}

踩坑

  • --options / --options-json 互斥:同时传会报错 --options 和 --options-json 不能同时使用,请选其一;含逗号的选项必走 --options-json,否则会被 CSV 切碎
  • dropdown 选项数量 ≤ 500 项:飞书 V2 dataValidation 单次最多 500 个 list 选项(见 internal/client/sheets.go:2331),超出 API 直接报错;批量场景请按业务维度拆多列下拉
  • dropdown 每个选项 ≤ 100 字符:单选项超 100 字符会被服务端拒;如果用 --options-json 注入长文案务必先截断或换成"短码 + 注释列"模式
  • dropdown --range 必须带 ! 前缀:不带前缀直接报错(--range 必须包含 sheetId 前缀),不像 filter-view 会自动补
  • --colors 长度必须 = options 长度:例如 3 个选项就要 3 个颜色,少一个报错 --colors 长度(X) 必须与选项数(Y) 一致;传 colors 自动开启 highlightValidData: true
  • dropdown 用英文逗号分隔 不是中文「,」:--options CSV 解析器只识别 ASCII ,,中文逗号会让多选项合并成一个,容易踩
  • filter-view 条件已可用 CLI 写:用 filter-view condition create/update(按列字母 --condition-id 定位);多维表格(非电子表格)的复杂条件仍走 feishu-cli bitable view view-filter-set
  • filter-view 范围 v.s. 单元格写入限制:filter-view --range 仅圈定视图作用域,不写入数据;写入受 V3 单 cell ≤ 50000 字符 / 单批 ≤ 5000 cells / 10 ranges 限制(详见主 feishu-cli sheet 命令)
  • -o json 支持面:filter-view(含 condition get/list/create/update)、image get/update/media-upload 都支持 -o json(默认 text);dropdown get 是 JSON-only(默认且只输出 JSON,无 text 模式)。仅 dropdown set/update/delete 与 image write-image 无 -o,只回吐成功摘要文本(API 本身只返回 code/msg)

何时该转主命令

本 skill 覆盖 filter-view(含 condition)+ dropdown + image + batch-set-style。feishu-cli sheet 下其余子命令全部走主命令,不属于本 skill 范围:

需求分组走哪(主命令 feishu-cli sheet <cmd>)
创建 / 元信息create / get / meta / list-sheets
读取(普通 + 富文本)read / read-plain / read-rich
写入 / 追加 / 插入 / 清除write / write-rich / append / append-rich / insert / clear
按列 dtype 类型保真写入(日期写 Excel 序列号+日期 formatter 成真日期、数字保数值、文本 @ 防误判)table-put(对齐官方 +table-put,pandas to_json(orient=split) 形状 JSON;读侧 table-get 待后续)
行列管理add-rows / add-cols / insert-rows / delete-rows / delete-cols
工作表管理add-sheet / copy-sheet / delete-sheet
单范围样式 / 合并 / 保护style / merge / unmerge / protect / unprotect(多范围批量样式走本 skill batch-set-style)
查找 / 替换 / 简单筛选find / replace / filter(注意:与 filter-view 不同,filter 是临时筛选)
导出 / Markdown 导入export(XLSX/CSV/MD)/ import-md(参考 feishu-cli-toolkit)
浮动图片 add/list/deleteimage add / image list / image delete(get/update/media-upload/write-image 见本 skill)
多维表格的视图过滤/排序/分组feishu-cli bitable view view-*-set(语义更强,能配条件)

速查:feishu-cli sheet --help 子命令以 --help 实测为准;本 skill 负责 filter-view(含 condition)/ dropdown / image / batch-set-style,其余转主命令。

权限要求

  • sheets:spreadsheet(读写均覆盖;User Token / App Token 均可)

底层实现位置

命令CLI 入口
filter-view create/list/deletecmd/sheet_filter_view.go
filter-view get/update + filter-view condition *cmd/sheet_filter_view_ext.go / cmd/sheet_filter_view_condition.go
dropdown setcmd/sheet_dropdown.go
dropdown get/update/deletecmd/sheet_dropdown_ext.go
image add/list/deletecmd/sheet_image.go
image get/update/media-upload/write-imagecmd/sheet_float_image_ext.go
batch-set-stylecmd/sheet_style_batch.go

filter-view 走 SDK larksheets.SpreadsheetSheetFilterView;dropdown / batch-set-style 走通用 HTTP 直调 V2 端点(SDK 未封装)。

FAQ

What does the feishu-cli-sheet skill do?

飞书电子表格高级能力(筛选视图 + 筛选条件 + 下拉单元格 + 浮动图片 + 批量样式)。 filter-view CRUD 管理筛选视图,filter-view condition CRUD 写筛选条件(V3 API); dropdown set/get/update/delete 管理单元格下拉框(V2 dataValidation); image get/update/media-upload/write-image 操作浮动图片与单元格写图; batch-set-style 批量设置多范围单元格样式。 基础读写(read/write/style/add-rows/add-sheet)仍在 feishu-cli 主命令 sheet/bitable, 本 skill 专注高级能力。 当用户请求"筛选视图"、"筛选条件"、"加下拉框"、"数据验证"、"列下拉"、"浮动图片"、"插入图片"、"批量样式"时使用。

How do I install feishu-cli-sheet?

Run npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-sheet 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-sheet/ (personal) or .claude/skills/feishu-cli-sheet/ (project).

Which AI agents can use feishu-cli-sheet?

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-sheet 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-sheet?

It is published by riba2534 in riba2534/feishu-cli. It has 177 recorded installs.

More from riba2534/feishu-cli

View all →

feishu-cli-toolkit

riba2534/feishu-cli

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

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。

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 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。