← 返回 Skills 市场
knight-ni

Feishu Sheets (Fixed)

作者 Knight Ni · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
227
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-sheets-fixed
功能描述
Feishu online spreadsheet (Sheets) operations including create, read, write, append data, manage worksheets. Use when user mentions Feishu Sheets, online spr...
使用说明 (SKILL.md)

Feishu Sheets Tool

Single tool feishu_sheets with action parameter for all spreadsheet operations.

Token Extraction

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

Actions

Create Spreadsheet

{ "action": "create", "title": "New Spreadsheet" }

Optional folder:

{ "action": "create", "title": "New Spreadsheet", "folder_token": "fldcnXXX" }

Returns: spreadsheet_token, url, title

Write Values

{
  "action": "write",
  "spreadsheet_token": "shtABC123",
  "sheet_id": "0bxxxx",
  "range": "A1:C3",
  "values": [["Name", "Age", "City"], ["Alice", 25, "Beijing"], ["Bob", 30, "Shanghai"]]
}

Read Values

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

Append Values

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

Insert Rows/Columns

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

Delete Rows/Columns

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

Get Spreadsheet Info

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

Returns: metadata including all sheet_ids and titles

Add Worksheet

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

Delete Worksheet

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

Range Format

  • Cell: A1, B5
  • Range: A1:C10, B2:D5
  • Entire column: A:A, B:D
  • Entire row: 1:1, 3:5
  • With sheet_id: 0bxxxx!A1:C10

Sheet ID

  • From URL: https://xxx.feishu.cn/sheets/shtABC123?sheet=0bxxxx
  • From get_info action
  • Default first sheet often has simple id like 0bxxxx

Data Types

Values can be:

  • String: "Hello"
  • Number: 123, 45.67
  • Formula: {"type": "formula", "text": "=SUM(A1:A10)"}
  • Link: {"type": "url", "text": "Click here", "link": "https://..."}

Configuration

channels:
  feishu:
    tools:
      sheets: true  # default: true

Permissions Required

  • sheets:spreadsheet - Create and manage spreadsheets
  • sheets:spreadsheet:readonly - Read spreadsheet data
  • drive:drive - Access cloud storage

API Reference

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

See references/api-reference.md for detailed API documentation.

安全使用建议
This package implements a Feishu Sheets client and will call Feishu's APIs, but it has three red flags you should address before installing: 1) Authentication is required but not declared: the Python script reads FEISHU_APP_ID and FEISHU_APP_SECRET from environment variables to obtain a tenant_access_token. The registry metadata lists no required env vars or primary credential. Only provide those app credentials if you trust the skill owner and have isolated the credentials to an app with minimal privileges. 2) Metadata inconsistencies: _meta.json disagrees with the registry metadata (ownerId/slug/version). Confirm who published this skill and that the package you received matches the registry listing — this could be an accidental mispackaging or indicate a supply-chain issue. 3) Documentation vs code mismatches: the SKILL.md, the API reference, and the Python code differ slightly on endpoints for append/write/add-sheet. Test in a safe environment before using on production spreadsheets. Recommended actions: - Ask the publisher to update registry metadata to declare FEISHU_APP_ID and FEISHU_APP_SECRET (and a primary credential) and to fix version/owner inconsistencies. - Limit the Feishu app credentials to the minimum scopes and use a test tenant/app first. - Review the code locally (it is included) and run it in an isolated environment to verify behavior and to ensure it does not exfiltrate data to unexpected endpoints (it contacts only open.feishu.cn in the provided code). - If you cannot verify the publisher or do not want to expose app credentials, do not install or run this skill.
功能分析
Type: OpenClaw Skill Name: feishu-sheets-fixed Version: 1.0.1 The skill bundle is a legitimate tool for interacting with Feishu Sheets. The Python script (scripts/feishu_sheets.py) implements standard spreadsheet operations such as creating, reading, and writing data using the official Feishu API (open.feishu.cn). It correctly handles authentication using environment variables (FEISHU_APP_ID/SECRET) and follows the documented API procedures. No evidence of data exfiltration, malicious execution, or prompt injection was found in the code or instructions.
能力评估
Purpose & Capability
The skill claims to provide Feishu Sheets operations and the included Python client implements those APIs — that part is coherent. However the registry metadata declares no required environment variables or primary credential, while the code clearly requires FEISHU_APP_ID and FEISHU_APP_SECRET (to obtain a tenant_access_token). Additionally, package metadata (_meta.json) and registry metadata (ownerId/slug/version) are inconsistent, which raises supply-chain/trust concerns.
Instruction Scope
SKILL.md documents the actions and API endpoints but does not instruct how to provide the required app credentials or tenant token; it also provides slightly different guidance for append/write endpoints compared to the bundled references and code. The run-time instructions therefore omit authentication setup that the code will perform by reading environment variables, creating an operational gap and potential confusion.
Install Mechanism
This is an instruction-only skill with an included Python script; there is no install spec (no dependencies or packaging). That lowers installer risk (nothing is downloaded at install time), but the script depends on the 'requests' library and expects to be executable as a CLI. The lack of install/dependency declaration may cause runtime failure and makes reproducibility unclear rather than introducing direct malicious risk.
Credentials
The code requires FEISHU_APP_ID and FEISHU_APP_SECRET (to call the Feishu internal auth API and obtain a tenant_access_token). Those credentials are appropriate for the stated purpose, but the skill metadata does not declare them (no required env vars, no primary credential). This mismatch is significant: a user installing the skill might not realize they must provide sensitive app credentials, and the skill will read them from environment variables without explicit disclosure in the registry metadata.
Persistence & Privilege
The skill is not always-included and does not request any elevated platform privileges. It does not modify other skills' configs and does not request persistent presence beyond normal operation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-sheets-fixed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-sheets-fixed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fixed: PUT /values range in body not URL. Fixed: Add Sheet via POST /sheets/v3/.../sheets. Fixed: scope is write_only. Fixed: Append via PUT not POST.
元数据
Slug feishu-sheets-fixed
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Sheets (Fixed) 是什么?

Feishu online spreadsheet (Sheets) operations including create, read, write, append data, manage worksheets. Use when user mentions Feishu Sheets, online spr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 227 次。

如何安装 Feishu Sheets (Fixed)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-sheets-fixed」即可一键安装,无需额外配置。

Feishu Sheets (Fixed) 是免费的吗?

是的,Feishu Sheets (Fixed) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Sheets (Fixed) 支持哪些平台?

Feishu Sheets (Fixed) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Sheets (Fixed)?

由 Knight Ni(@knight-ni)开发并维护,当前版本 v1.0.1。

💬 留言讨论