← 返回 Skills 市场
qiuwenxi416488212-ship-it

feishu-sheets-toolkit

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

\r \r

Feishu Sheets Tool\r

\r Single tool feishu_sheets with action parameter for all spreadsheet operations.\r \r

Token Extraction\r

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

Actions\r

\r

Create Spreadsheet\r

\r

{ "action": "create", "title": "New Spreadsheet" }\r
```\r
\r
Optional folder:\r
```json\r
{ "action": "create", "title": "New Spreadsheet", "folder_token": "fldcnXXX" }\r
```\r
\r
Returns: spreadsheet_token, url, title\r
\r
### Write Values\r
\r
```json\r
{\r
  "action": "write",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx",\r
  "range": "A1:C3",\r
  "values": [["Name", "Age", "City"], ["Alice", 25, "Beijing"], ["Bob", 30, "Shanghai"]]\r
}\r
```\r
\r
### Read Values\r
\r
```json\r
{\r
  "action": "read",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx",\r
  "range": "A1:C10"\r
}\r
```\r
\r
### Append Values\r
\r
```json\r
{\r
  "action": "append",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx",\r
  "values": [["Charlie", 28, "Shenzhen"]]\r
}\r
```\r
\r
### Insert Rows/Columns\r
\r
```json\r
{\r
  "action": "insert_dimension",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx",\r
  "dimension": "ROWS",\r
  "start_index": 5,\r
  "end_index": 7\r
}\r
```\r
\r
### Delete Rows/Columns\r
\r
```json\r
{\r
  "action": "delete_dimension",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx",\r
  "dimension": "ROWS",\r
  "start_index": 5,\r
  "end_index": 7\r
}\r
```\r
\r
### Get Spreadsheet Info\r
\r
```json\r
{ "action": "get_info", "spreadsheet_token": "shtABC123" }\r
```\r
\r
Returns: metadata including all sheet_ids and titles\r
\r
### Add Worksheet\r
\r
```json\r
{\r
  "action": "add_sheet",\r
  "spreadsheet_token": "shtABC123",\r
  "title": "Sheet2"\r
}\r
```\r
\r
### Delete Worksheet\r
\r
```json\r
{\r
  "action": "delete_sheet",\r
  "spreadsheet_token": "shtABC123",\r
  "sheet_id": "0bxxxx"\r
}\r
```\r
\r
## Range Format\r
\r
- Cell: `A1`, `B5`\r
- Range: `A1:C10`, `B2:D5`\r
- Entire column: `A:A`, `B:D`\r
- Entire row: `1:1`, `3:5`\r
- With sheet_id: `0bxxxx!A1:C10`\r
\r
## Sheet ID\r
\r
- From URL: `https://xxx.feishu.cn/sheets/shtABC123?sheet=0bxxxx`\r
- From get_info action\r
- Default first sheet often has simple id like `0bxxxx`\r
\r
## Data Types\r
\r
Values can be:\r
- String: `"Hello"`\r
- Number: `123`, `45.67`\r
- Formula: `{"type": "formula", "text": "=SUM(A1:A10)"}`\r
- Link: `{"type": "url", "text": "Click here", "link": "https://..."}`\r
\r
## Configuration\r
\r
```yaml\r
channels:\r
  feishu:\r
    tools:\r
      sheets: true  # default: true\r
```\r
\r
## Permissions Required\r
\r
- `sheets:spreadsheet` - Create and manage spreadsheets\r
- `sheets:spreadsheet:readonly` - Read spreadsheet data\r
- `drive:drive` - Access cloud storage\r
\r
## API Reference\r
\r
Base URL: `https://open.feishu.cn/open-apis/sheets/v2/spreadsheets/`\r
\r
See references/api-reference.md for detailed API documentation.\r
\r
\r
## Code Implementation\r
\r
Python实现: \feishu_sheets.py\r
\r
`python\r
from feishu_sheets import FeishuSheets\r
\r
# 创建请求\r
fs = FeishuSheets()\r
req = fs.build_create_request('New Sheet')\r
\r
# Token提取\r
token = FeishuSheets.extract_token('https://xxx.feishu.cn/sheets/shtABC123')\r
`\r
安全使用建议
This skill's code legitimately talks to Feishu's API and uses the tenant token flow, which requires an app_id and app_secret. Before installing: (1) confirm the skill metadata lists any credentials it will use — here it does not, so ask the publisher or avoid installing until fixed; (2) if you provide FEISHU_APP_ID/FEISHU_APP_SECRET, ensure they are scoped to a minimum-permission app and are stored securely (not pasted into chat); (3) review and verify the code origin (there are duplicate client implementations in the package and no homepage); (4) consider running the skill in a sandbox or test account first and revoke the app credentials after testing if you have concerns; (5) prefer skills that explicitly declare required env vars and permissions in registry metadata so you know what secrets the skill will need.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, SKILL.md and included code all align around Feishu Sheets API functionality (create/read/write/append/manage). However the code (scripts/feishu_sheets.py and feishu_enhanced.py) expects an app_id/app_secret (tenant access token flow) while the skill metadata declares no required environment variables or primary credential. That mismatch between declared requirements and actual code is a meaningful incoherence.
Instruction Scope
SKILL.md is narrowly scoped to Sheets operations and documents the API endpoints and required scopes. It also mentions obtaining a tenant_access_token via app_id/app_secret. The instructions do not ask the agent to read unrelated system files. Minor inconsistency: examples show using library helpers without explicitly showing where credentials come from, leaving implementation detail ambiguous.
Install Mechanism
No install spec is provided (instruction-only at manifest level), which is lower risk. Source includes Python modules and a CLI script but there is no automatic download or external installer that would fetch arbitrary code at install time.
Credentials
The runtime scripts expect FEISHU_APP_ID and FEISHU_APP_SECRET (scripts/feishu_sheets.py) and feishu_enhanced.py accepts app_id/app_secret for tenant token exchange, but the skill metadata lists no required env vars or primary credential. Requesting app credentials would be proportional to the skill's purpose, but failing to declare them is an incoherence that can lead to surprises (silent credential prompts, undocumented secrets usage).
Persistence & Privilege
always is false and the skill does not request any elevated or persistent platform privileges. The code makes outbound HTTPS requests to Feishu APIs (expected for the skill). It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-sheets-toolkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-sheets-toolkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
feishu-sheets-toolkit 1.0.0 - Initial release supporting Feishu Sheets spreadsheet operations: create, read, write, and append data. - Includes worksheet management features: add, delete, and list worksheets. - Provides actions for inserting and deleting rows/columns. - Clear token extraction instructions and usage examples. - Supports configuration via YAML and details required permissions.
元数据
Slug feishu-sheets-toolkit
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

feishu-sheets-toolkit 是什么?

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 插件,目前累计下载 100 次。

如何安装 feishu-sheets-toolkit?

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

feishu-sheets-toolkit 是免费的吗?

是的,feishu-sheets-toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

feishu-sheets-toolkit 支持哪些平台?

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

谁开发了 feishu-sheets-toolkit?

由 XiLi-aXi(@qiuwenxi416488212-ship-it)开发并维护,当前版本 v1.0.0。

💬 留言讨论