lark-sheets

Create, read, write, filter, and export Feishu spreadsheets via the lark-cli command line.

1.3k|142|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/MiniMax-AI/minimax-code --skill lark-sheets-minimax-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-sheets
Source: https://github.com/MiniMax-AI/minimax-code/tree/main/packages/local-runtime/assets/skills/lark-tools/cli-skills/lark-sheets
Command: npx skills add https://github.com/MiniMax-AI/minimax-code --skill lark-sheets-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) components.

What problem does it solve? Working with Feishu (Lark) spreadsheets normally requires manual UI clicks or writing raw OpenAPI calls. This Skill lets an AI agent perform spreadsheet operations directly through lark-cli shortcuts, covering creation, cell reads/writes, appends, lookups, styling, filters, dropdowns, and file export. ## Core Features & Use Cases - Full spreadsheet lifecycle: Create spreadsheets with headers and initial data, read and overwrite cell ranges, append rows, find and replace values, and export to xlsx or csv. - Advanced cell content: Write formulas (with ARRAYFORMULA guidance), hyperlinks, @mentions, images, and multi-select dropdown values using structured object formats. - Structure and presentation control: Merge/unmerge cells, insert/move/delete rows and columns, set cell styles in batch, and manage filter views with conditions. - Use Case: Given a Feishu spreadsheet URL, read a revenue table, append a new monthly row, apply bold styling to the header, and export the result as an xlsx file. ## Quick Start Use the lark-sheets skill to read the range A1:H20 from this Feishu spreadsheet URL and then append a new data row to it.

Frequently Asked Questions about lark-sheets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write data to a Feishu spreadsheet from the command line?

Use lark-cli sheets +write with a spreadsheet URL or token, a target range, and a two-dimensional JSON array of values. For appending rows instead of overwriting, use lark-cli sheets +append with the same value format.

How do I find a Feishu spreadsheet by name or keyword?

Use lark-cli docs +search from the lark-doc skill to locate spreadsheet files in the cloud drive; results include SHEET type entries. Once you have the URL or token, use sheets +info, +read, or +find for operations inside the spreadsheet.

Can I use a Feishu wiki link directly for spreadsheet operations?

No, wiki URLs contain a wiki_token that is not the real document token. First call lark-cli wiki spaces get_node to resolve the obj_type and obj_token, then use that token with the sheets APIs.

Why does my formula get stored as plain text in a Feishu sheet?

Formulas must be written using the object format {"type":"formula","text":"=SUM(A1:A10)"} inside the values array. Passing the formula as a plain string causes it to be stored as literal text instead of an evaluated formula.

How do I export a Feishu spreadsheet to Excel or CSV?

Run lark-cli sheets +export with --file-extension xlsx or csv and an --output-path to download the file locally. CSV export requires specifying the sheet ID, while xlsx exports the whole spreadsheet.

Why does writing multipleValue dropdown data turn into plain text?

The target cells must have a dropdown list configured first via lark-cli sheets +set-dropdown with the allowed options. Without that configuration, multipleValue writes are stored as plain text.