/install feishu-sheet-reader
Feishu Sheet Reader
Read data from Feishu Sheets (电子表格) via the Feishu API.
URL Format
Feishu sheet URLs look like:
https://my.feishu.cn/sheets/GHOustTi8h4sVPtCFdxcoznknve?sheet=062ee8
GHOustTi8h4sVPtCFdxcoznknve= spreadsheet token (first path segment after/sheets/)062ee8= sheet ID (query paramsheet=, the tab inside the spreadsheet)
Script Usage
python3 scripts/read_feishu_sheet.py \x3Cspreadsheet_token> [sheet_id] [range]
Examples:
# Read entire first sheet
python3 scripts/read_feishu_sheet.py GHOustTi8h4sVPtCFdxcoznknve
# Read specific sheet by ID
python3 scripts/read_feishu_sheet.py GHOustTi8h4sVPtCFdxcoznknve 062ee8
# Read specific range (e.g., A1:D10)
python3 scripts/read_feishu_sheet.py GHOustTi8h4sVPtCFdxcoznknve 062ee8 A1:D10
Output is tab-separated, suitable for pasting into analysis or reformatting.
Workflow
- Parse spreadsheet token and sheet ID from the URL
- Get Feishu app credentials from gateway config via
openclaw config get - Obtain tenant access token via Feishu Auth API
- Call Sheets API:
GET /open-apis/sheets/v2/spreadsheets/{token}/values/{range} - Format and return the data
Sheet ID Detection
If sheet_id is omitted, the script queries /sheets/v2/spreadsheets/{token}/sheets/query to list all sheets and uses the first one.
API Reference
- Auth:
POST https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal - Sheet values:
GET https://open.feishu.cn/open-apis/sheets/v2/spreadsheets/{spreadsheetToken}/values/{range} - Sheet meta:
GET https://open.feishu.cn/open-apis/sheets/v2/spreadsheets/{spreadsheetToken}/sheets/query
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install feishu-sheet-reader - After installation, invoke the skill by name or use
/feishu-sheet-reader - Provide required inputs per the skill's parameter spec and get structured output
What is Feishu Sheet Reader?
Extract and return data or metadata from Feishu Sheets by parsing sheet links, reading specific ranges, entire sheets, or listing sheet tabs. It is an AI Agent Skill for Claude Code / OpenClaw, with 115 downloads so far.
How do I install Feishu Sheet Reader?
Run "/install feishu-sheet-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Feishu Sheet Reader free?
Yes, Feishu Sheet Reader is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Feishu Sheet Reader support?
Feishu Sheet Reader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Feishu Sheet Reader?
It is built and maintained by Jack-xun (@jack-xun); the current version is v1.0.0.