open.feishu.cn avatar

Lark Sheets Skill

Works in Grok Bot

Installs
948k

TL;DR

lark-sheets skill operates Lark/Feishu online spreadsheets through lark-cli. It covers sheet and row/column structure, cell reads and writes, formulas with verification, styles, charts, pivots, filters, history rollback and Excel or CSV import and export, with editing rules for minimal and verifiable changes.

Install if

Developers whose agents must edit Lark/Feishu spreadsheets safely, including formula migration from Excel and data summaries.

Skip if

Not for Base or bitable tables (use lark-base) or for searching spreadsheet files in cloud drive by name (use lark-drive search).

Try it first through the Skillselion MCP - nothing to install, nothing on disk.

1. Add the remote connector:

claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp

2. Ask your agent:

Use Skillselion load_skill to load skill:open.feishu.cn#lark-sheets (Lark Sheets) and follow it.
On this page
  1. What lark-sheets covers
  2. lark-sheets by the numbers
  3. What does the Lark Sheets skill produce?
  4. What files ship with lark-sheets?
  5. Which skills are related to lark-sheets?
  6. Lark Sheets skill FAQ

What lark-sheets covers

  • Reads and writes cell values, formulas, styles, comments and cell images with lark-cli sheets.
  • Creates charts, pivot tables, filters, conditional formats and sparklines.
  • Runs atomic sort, delete and batch updates, with high-risk commands gated by --yes.
  • Imports and exports local Excel or CSV and rolls back to earlier versions.

lark-sheets by the numbers

All-time installs947,999 (948k)skills.sh registry
Repositoryopen.feishu.cn

Data as of Nov 29, 2026 (Skillselion catalog sync)

  • High-risk commands exit with code 10 until confirmed
  • Skill version 3.5.2

What can the lark-sheets skill do in Claude Code?

Free skill; requires a Lark/Feishu app and authorization via lark-cli auth login.

Capabilities
spreadsheet read · spreadsheet write · cell formatting · pivot table · chart creation · batch update
Use cases
data analysis
Runs
Runs locally
Pricing
Free
From the docs

What lark-sheets says it does

禁止读值后用 `+csv-put` 覆盖来模拟排序 / 删除
SKILL.md
多维表格(Base/bitable)请改用 lark-base
SKILL.md
金额 / 百分比 / 比率 / 计数及参与运算的真日期写数字
SKILL.md

What does the Lark Sheets skill produce?

  • Edited spreadsheet with verified cells, formulas and styles
  • Charts or pivot tables created in a sheet

What files ship with lark-sheets?

SKILL.mdMarkdown

sheets

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

场景 → 命令速查

按当前动作选行;下一步必须 Read 该行 reference,读取完成前不得执行命令。只读命中的文档;含公式 / 样式等横切动作时再读对应规范,禁止用目录枚举代替 Read。

你要做的事✅ 正确写法动手前读(先 Read 再动手)
读数据+csv-get(纯值/CSV)、+cells-get(公式/样式/批注)读 references/lark-sheets-read-data.md
写入数据+csv-put(无类型歧义纯文本)、+table-put(typed;量值/真日期;标签/编号/前导零/文本数字用 object,禁裸 csv-put)、+cells-set(公式/富写入)、+cells-set-style(样式)、+cells-set-image(单元格图片)读 references/lark-sheets-write-cells.md
格式继承(新列/新行)物理插行 / 插列用 `+dim-insert --inherit-style before\after;往已有空白区域扩写用 +range-copy --paste-type formats` 先铺样式再写值
工作簿操作+workbook-create、+workbook-info、+workbook-import、+sheet-copy、+revision-get、+workbook-export读 references/lark-sheets-workbook.md
行列操作排序用 +range-sort 原子移动整行;合并 / 取消合并用 +cells-merge / +cells-unmerge;清空内容才用 +cells-clear;尺寸用 +cols-resize / +rows-resize读 references/lark-sheets-range-operations.md;涉结构布局再读 references/lark-sheets-sheet-structure.md
美化收尾+styles-put读 references/lark-sheets-styles-put.md
子表结构+sheet-info、+dim-insert;删整行 / 列用 +dim-delete,不能用 clear 代替读 references/lark-sheets-sheet-structure.md
画图表 / 可视化 / 柱状图 / 折线图 / 饼图 / 趋势 / 占比单图用 +chart-create-basic,多图用扁平输入的 +batch-chart-create;改已有图的数据源用 +chart-data-update、配置用 +chart-config-update;只有语义 shortcut 表达不了的单系列 / 单数据点 / 高级字段才用 +chart-create / +chart-update,且只提交必要的局部 properties。动手前先断言每张图的类型、横轴字段、分组字段和目标张数,画完 +chart-list 逐项核;图片迁移成真图表后删除并复查原浮动图片读 references/lark-sheets-chart.md;含透视 / 分组汇总再读 references/lark-sheets-pivot-table.md
分组汇总 / 透视+pivot-create读 references/lark-sheets-pivot-table.md
筛选 / 只看符合条件的行+filter-create读 references/lark-sheets-filter.md
查找 / 替换文本+cells-search、+cells-replace读 references/lark-sheets-search-replace.md
条件格式 / 条件高亮 / 数据条 / 色阶随数据变化的标色用 +cond-format-create;固定刷色只用于用户点名要静态着色读 references/lark-sheets-conditional-format.md
插图:自由摆放的装饰+float-image-create读 references/lark-sheets-float-image.md
迷你图 / 单元格内趋势线+sparkline-create读 references/lark-sheets-sparkline.md
批量清除多区域+cells-batch-clear读 references/lark-sheets-batch-update.md(high-risk)
复核编辑变更 / 取版本间差异+changeset-get读 references/lark-sheets-changeset.md
保存多份筛选状态 / 命名筛选视图+filter-view-create;视图与 +filter-create 相互独立、可在同一子表共存读 references/lark-sheets-filter-view.md
查编辑历史 / 回滚到历史版本+history-list 取版本,+history-revert(high-risk,异步)回滚后用 +history-revert-status 轮询读 references/lark-sheets-history.md

⚠️ 金额 / 百分比 / 比率 / 计数及参与运算的真日期写数字(百分比传 0.4 + number_format);日期标签、编号、前导零、身份证 / 单据号写文本。--range 只写 A1:B2,子表另传 --sheet-id / --sheet-name。

飞书表格编辑准则

  1. 最小改动:用户没点名要删 / 改名 / 隐藏时,已有 Sheet 一张不动;补齐只写空格,未要求调整的值 / 结构 / 格式不动。
  2. 目标子表与回读断言:先确认真实末行与目标区域;未点名子表时只从 resource_type=sheet && is_hidden=false 的可见网格候选里选,唯一才自动使用,多张不得按 index 猜。涉及"所有 / 每个 sheet"(跨表汇总、批量清洗、合并多张子表)时先 +workbook-info 列全再逐个处理,别只做前几张。写后用 +csv-get / +cells-get / +<对象>-list 验首、中、末及用户点名项——返回 ok 只表示请求成功。纯 CSV 回写前去掉 annotated_csv 的 [row=N] 前缀,cells-get 的样式字段与值分开处理,公式必须回读 `formula

Which skills are related to lark-sheets?

Lark Sheets skill FAQ

Who is the Lark Sheets skill for?

Developers whose agents must edit Lark/Feishu spreadsheets safely, including formula migration from Excel and data summaries. Not for Base or bitable tables (use lark-base) or for searching spreadsheet files in cloud drive by name (use lark-drive search).

When should I use lark-sheets?

Use when the user wants to create or edit a Lark/Feishu spreadsheet, build charts or pivots, or write and verify formulas.

Should lark-sheets write static values or formulas?

Derivable values should be written as formulas that reference other cells, not as numbers computed elsewhere. After writing, run +formula-verify so each segment reports success before the work counts as done.

How does lark-sheets sort or delete rows?

Use +range-sort to move whole rows atomically and +dim-delete to remove rows or columns. Do not read values and overwrite them with +csv-put to imitate a sort or delete.

Which lark-sheets commands need extra confirmation?

High-risk writes such as +batch-update, +cells-clear, +sheet-delete, +dim-delete and +history-revert exit with code 10 until the user agrees and --yes is added. Use --dry-run first to preview.

Add a lark-sheets badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code
Office & Documentsworkflownotes

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.