← Back to Skills Marketplace
lens-lzy

feishu-sheets-reader

by Lens-lzy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
205
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-sheets-reader
Description
飞书在线电子表格(Sheets)操作,包括创建、读取、写入、追加数据、管理工作表。 当用户提到飞书电子表格、在线表格、电子表格时使用(不是多维表格 Bitable)。 支持:创建表格、读写单元格、追加行、插入/删除行列、管理工作表。
README (SKILL.md)

飞书电子表格工具

统一使用 feishu_sheets 工具,通过 action 参数区分不同的表格操作。

Token 提取

从 URL https://xxx.feishu.cn/sheets/shtABC123spreadsheet_token = shtABC123

操作列表

创建电子表格

{ "action": "create", "title": "新建表格" }

可选指定文件夹:

{ "action": "create", "title": "新建表格", "folder_token": "fldcnXXX" }

返回:spreadsheet_token、url、title

写入数据

{
  "action": "write",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "range": "A1:C3",
  "values": [["姓名", "年龄", "城市"], ["Alice", 25, "北京"], ["Bob", 30, "上海"]]
}

读取数据

{
  "action": "read",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "range": "A1:C10"
}

追加数据

{
  "action": "append",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "values": [["Charlie", 28, "深圳"]]
}

插入行/列

{
  "action": "insert_dimension",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "dimension": "ROWS",
  "start_index": 5,
  "end_index": 7
}

删除行/列

{
  "action": "delete_dimension",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "dimension": "ROWS",
  "start_index": 5,
  "end_index": 7
}

获取表格信息

{ "action": "get_info", "spreadsheet_token": "shtABC123" }

返回:表格元数据,包含所有工作表的 sheet_id 和标题

新增工作表

{
  "action": "add_sheet",
  "spreadsheet_token": "shtABC123",
  "title": "Sheet2"
}

删除工作表

{
  "action": "delete_sheet",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx"
}

范围格式

  • 单个单元格:A1B5
  • 范围:A1:C10B2:D5
  • 整列:A:AB:D
  • 整行:1:13:5
  • 带 sheet_id:0bxxxx!A1:C10

工作表 ID

  • 从 URL 获取:https://xxx.feishu.cn/sheets/shtABC123?sheet=0bxxxx
  • 通过 get_info 操作获取
  • 默认第一个工作表的 ID 通常类似 0bxxxx

数据类型

支持的值类型:

  • 字符串:"你好"
  • 数字:12345.67
  • 公式:{"type": "formula", "text": "=SUM(A1:A10)"}
  • 链接:{"type": "url", "text": "点击这里", "link": "https://..."}

配置

channels:
  feishu:
    tools:
      sheets: true  # 默认:true

所需权限

  • sheets:spreadsheet - 创建和管理电子表格
  • sheets:spreadsheet:readonly - 读取电子表格数据
  • drive:drive - 访问云空间

API 参考

基础 URL:https://open.feishu.cn/open-apis/sheets/v2/spreadsheets/

详细 API 文档请参阅 references/api-reference.md。

Usage Guidance
This skill implements a Feishu Sheets client but fails to declare that it needs FEISHU_APP_ID and FEISHU_APP_SECRET. Before installing, verify and consider: 1) Provide an app credential with least privilege (create a dedicated Feishu app/service account and grant only the listed scopes). 2) Confirm you trust the skill owner/source (source/homepage are unknown). 3) Ensure credentials are stored securely and rotate them if needed. 4) Inspect the included scripts yourself (the provided Python file calls only open.feishu.cn endpoints). 5) If you cannot verify the app credentials or owner, avoid installing or run it in an isolated environment. If you proceed, update the skill metadata or SKILL.md to explicitly document the required FEISHU_APP_ID and FEISHU_APP_SECRET so users are not surprised.
Capability Analysis
Type: OpenClaw Skill Name: feishu-sheets-reader Version: 1.0.0 The skill bundle provides a legitimate tool for interacting with the Feishu (Lark) Sheets API. The Python script `scripts/feishu_sheets.py` implements standard CRUD operations for spreadsheets using official Feishu API endpoints (open.feishu.cn) and handles authentication via environment variables (FEISHU_APP_ID/SECRET). No evidence of data exfiltration, malicious execution, or prompt injection was found; the code and instructions in `SKILL.md` are well-aligned with the stated purpose.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, and included code all match a Feishu Sheets client (create/read/write/append/manage sheets). However the Python client requires FEISHU_APP_ID and FEISHU_APP_SECRET environment variables for tenant access token, while the registry metadata lists no required env vars and SKILL.md does not document these credentials. This is an incoherence between claimed requirements and actual capability.
Instruction Scope
SKILL.md describes actions and how to form action JSON/CLI calls but does not instruct the agent or user to provide the FEISHU_APP_ID/FEISHU_APP_SECRET or how to obtain an app credential. The runtime code relies on those env vars and makes network calls to open.feishu.cn only (expected), but the missing documentation of required secrets and runtime environment is a scope and operational gap.
Install Mechanism
There is no install spec (instruction-only skill with a bundled script). No external downloads or archive extraction occur. The included Python script uses the standard requests library and performs HTTP calls; nothing in the manifest installs arbitrary third-party code at runtime.
Credentials
The code requires FEISHU_APP_ID and FEISHU_APP_SECRET (app credentials) to obtain a tenant_access_token, but the registry metadata declares no required env vars or primary credential. The SKILL.md lists API permission scopes (sheets:spreadsheet, sheets:spreadsheet:readonly, drive:drive), which align with functionality, but the omission of explicit credential requirements in metadata is disproportionate and could mislead users about what secrets they must provide.
Persistence & Privilege
The skill is not always-enabled and does not request permanent platform-level privileges. It does make network calls with app credentials when invoked, and can be invoked autonomously (platform default) — which increases impact if credentials are misused, but autonomous invocation alone is not a disqualifying issue.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-sheets-reader
  3. After installation, invoke the skill by name or use /feishu-sheets-reader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of feishu-sheets-reader. - Enables creation, reading, writing, and appending data to Feishu Sheets. - Supports inserting and deleting rows/columns and managing worksheets. - Provides sheet and cell range selection, including use of sheet IDs. - Returns metadata and sheet structure information. - Offers examples for all supported spreadsheet actions.
Metadata
Slug feishu-sheets-reader
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is feishu-sheets-reader?

飞书在线电子表格(Sheets)操作,包括创建、读取、写入、追加数据、管理工作表。 当用户提到飞书电子表格、在线表格、电子表格时使用(不是多维表格 Bitable)。 支持:创建表格、读写单元格、追加行、插入/删除行列、管理工作表。 It is an AI Agent Skill for Claude Code / OpenClaw, with 205 downloads so far.

How do I install feishu-sheets-reader?

Run "/install feishu-sheets-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is feishu-sheets-reader free?

Yes, feishu-sheets-reader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does feishu-sheets-reader support?

feishu-sheets-reader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishu-sheets-reader?

It is built and maintained by Lens-lzy (@lens-lzy); the current version is v1.0.0.

💬 Comments