← Back to Skills Marketplace
jack-xun

Feishu Sheet Reader

by Jack-xun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
115
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install feishu-sheet-reader
Description
Extract and return data or metadata from Feishu Sheets by parsing sheet links, reading specific ranges, entire sheets, or listing sheet tabs.
README (SKILL.md)

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 param sheet=, 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

  1. Parse spreadsheet token and sheet ID from the URL
  2. Get Feishu app credentials from gateway config via openclaw config get
  3. Obtain tenant access token via Feishu Auth API
  4. Call Sheets API: GET /open-apis/sheets/v2/spreadsheets/{token}/values/{range}
  5. 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
Usage Guidance
This skill appears to do what it says (call Feishu APIs and return sheet data) but has a few inconsistencies you should consider before installing: (1) it requires Feishu app credentials, but the registry lists none — the script looks for them in ~/.openclaw/openclaw.json or the FEISHU_APP_ID / FEISHU_APP_SECRET environment variables; (2) it reads the agent's config file directly, which could expose unrelated credentials stored there; (3) SKILL.md suggests using `openclaw config get` but the code bypasses that and reads the file itself. Recommended steps: inspect ~/.openclaw/openclaw.json to see what it contains; prefer to provide FEISHU_APP_ID and FEISHU_APP_SECRET as environment variables rather than exposing the whole agent config; ask the author to update SKILL.md and the registry metadata to declare required env vars and to either use the documented `openclaw config get` workflow or justify direct config-file access; if you must run it, do so in an account/environment without other sensitive credentials or in a sandbox. If the author confirms the config file only contains scoped Feishu app credentials (and updates the docs), that reduces concern.
Capability Analysis
Type: OpenClaw Skill Name: feishu-sheet-reader Version: 1.0.0 The skill is a utility designed to read data from Feishu Sheets using the official Feishu API. It retrieves necessary credentials from the local OpenClaw configuration file (~/.openclaw/openclaw.json) and performs authenticated requests via curl. The script logic in scripts/read_feishu_sheet.py is transparent, lacks obfuscation, and strictly follows the workflow described in SKILL.md without any indicators of malicious intent or data exfiltration to unauthorized endpoints.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
The skill's purpose (calling Feishu APIs to read sheets) aligns with the included script which requests Feishu tenant tokens and sheet data. However the SKILL.md says credentials are obtained via `openclaw config get` while the script directly reads ~/.openclaw/openclaw.json (and falls back to FEISHU_APP_ID/FEISHU_APP_SECRET env vars) — a mismatch in how credentials are retrieved.
Instruction Scope
SKILL.md describes parsing sheet URLs and calling Feishu APIs (expected). The shipped script performs those actions, but it also directly reads the agent's config file (~/.openclaw/openclaw.json). Reading that file can expose credentials or configuration unrelated to this skill (it looks up the 'channels.feishu.accounts' tree but opens the entire config). The SKILL.md's instruction to use `openclaw config get` is not reflected in the code.
Install Mechanism
Instruction-only with no install spec and no external downloads; the script runs local curl subprocesses. No installer or archive download risk was detected.
Credentials
Registry metadata declares no required env vars/credentials, but the script needs Feishu app credentials either from ~/.openclaw/openclaw.json or from FEISHU_APP_ID / FEISHU_APP_SECRET env vars. The skill should explicitly declare these requirements. Reading the agent config file without declaring this expands the data surface (may expose other channel credentials).
Persistence & Privilege
The skill does not request always:true and does not modify system configuration, which is good. However it reads the global agent config file (~/.openclaw/openclaw.json) at runtime — this read is a privileged access to potentially sensitive config belonging to the agent and other skills and should be explicitly justified and documented.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-sheet-reader
  3. After installation, invoke the skill by name or use /feishu-sheet-reader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
feishu-sheet-reader 1.0.0 - Initial release. - Enables reading data and metadata from Feishu Sheets via shared sheet URLs. - Supports reading specific ranges, entire sheets, and listing sheet metadata. - Activation via Feishu sheet links or sheet-related user requests. - Provides a CLI script for fetching and outputting data in a tab-separated format. - Automatically detects sheet ID if not specified.
Metadata
Slug feishu-sheet-reader
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments