Lark CLI Skill: Sheets — Spreadsheet Operations
Lark/Feishu CLI skill for spreadsheets. Create, read, write, append, find, and export spreadsheet data.
What it is
Lark CLI Skill: Sheets is a command-line skill for managing Lark/Feishu spreadsheets. It provides operations for creating spreadsheets with headers and data, reading and writing cells, appending rows, finding content, and exporting to files. It is part of the Lark CLI toolset, which offers 200+ commands and 19 AI Agent Skills.
It is designed for teams using Lark/Feishu for workplace collaboration who want to automate spreadsheet operations via AI agents or scripts.
How it saves time or tokens
The token estimate for this workflow is 500 tokens. Instead of navigating the Lark UI manually, the skill lets AI agents read and write spreadsheet data programmatically. Batch operations like appending rows or finding values across sheets complete in a single command rather than multiple UI interactions.
How to use
- Install the Lark CLI:
npm install -g @larksuite/cli - Install the skill:
npx skills add larksuite/cli -y -g - Configure authentication:
lark-cli config init && lark-cli auth login --recommend - Use spreadsheet commands in your AI agent or terminal
Example
# Install Lark CLI
npm install -g @larksuite/cli
# Install the sheets skill
npx skills add larksuite/cli -y -g
# Configure (one-time)
lark-cli config init
lark-cli auth login --recommend
# Create a new spreadsheet
lark-cli sheets create --title 'Project Tracker' \
--headers 'Task,Status,Assignee,Due Date'
# Read data from a spreadsheet
lark-cli sheets read --spreadsheet-token <token> --range 'A1:D10'
# Append rows
lark-cli sheets append --spreadsheet-token <token> \
--values 'Review PR,In Progress,Alice,2026-04-20'
Related on TokRepo
- AI Tools for Task Management -- Productivity and task management tools
- Automation Tools -- Automate repetitive workflows
Common pitfalls
- Authentication tokens expire; run
lark-cli auth login --recommendperiodically to refresh credentials - Spreadsheet tokens are different from document tokens; use the correct token type for sheets operations
- The skill requires an active Lark/Feishu app with spreadsheet permissions configured in the developer console
Frequently Asked Questions
The skill supports creating spreadsheets with headers and data, reading cells by range, writing to specific cells, appending rows, finding content by keyword, and exporting spreadsheet data to local files.
Yes. Lark and Feishu share the same API infrastructure. The CLI skill works with both Lark (international) and Feishu (China) workspaces. Configure the appropriate region during setup.
The skill follows the Agent Skills Standard and is compatible with Claude Code, OpenAI Codex, Cursor, and Gemini CLI. Install with npx skills add larksuite/cli and it activates automatically when relevant tasks are detected.
The API access required for spreadsheet operations is available on Lark's free tier. However, some advanced features and higher API rate limits may require a paid plan depending on your usage volume.
The spreadsheet token is part of the URL when you open a spreadsheet in Lark. It appears after /sheets/ in the URL. You can also list available spreadsheets using the CLI to find tokens programmatically.
Citations (3)
- Lark CLI GitHub— Lark CLI provides 200+ commands and 19 AI Agent Skills
- Agent Skills Standard— Follows the Agent Skills Standard for AI tool compatibility
- Lark Developer Docs— Lark Open Platform API documentation
Related on TokRepo
Source & Thanks
Created by LarkSuite. Licensed under MIT. larksuite/cli — 4,100+ GitHub stars
Part of the Lark CLI Official Skills Collection on TokRepo.