據 AlphaMoat 統計,截至 2026-09,feishu-doc-editor 累計下載 3,308 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 3,422 位,在「辦公效率」分類(435 個)中排名第 249 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 105 | 3203 | 1 | - |
| SkillHub ↗ | 105 | 3308 | 1 | — |
各平台的計數口徑不同,站內彙總取各平台中的較大值,不相加。
使用文件 ID 讀取純文字,按塊結構寫入內容。應用需具備相應讀寫許可權並獲文件協作者授權,認證憑據用於換取租戶 access token。
資料釋出於 2026-10-26
以下是根據技能文件生成的示例,不代表實際執行結果。
依據技能文件中的宣告整理,未經實際安裝或執行驗證。
2026-09 起為新口徑(全目錄統計);此前為舊口徑(只統計安裝量為正的技能、同名技能合併計數)。兩段不可直接比較,圖中不跨口徑連線,也不計算跨口徑的增長。
| 月份 | 累計下載 | 環比 | 星標 | 累計安裝 |
|---|---|---|---|---|
| 2026-09 | 3308 | — | 1 | 105 |
| 2026-08舊口徑 | 3135 | +3.5% | 1 | 105 |
| 2026-07舊口徑 | 3030 | +9.9% | 1 | 105 |
| 2026-06舊口徑 | 2758 | +5.5% | 1 | 103 |
| 2026-05舊口徑 | 2613 | — | 1 | 47 |
| 2026-03舊口徑 | 1748 | — | 1 | 39 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
name: feishu-doc-editor
description: Feishu document creation and editing operations using OpenAPI. Activate when user needs to create, edit, or read Feishu documents programmatically.
---
# Feishu Document Editor Skill
This skill provides comprehensive guidance for creating and editing Feishu documents using the Feishu OpenAPI.
## Prerequisites
### 1. App Creation and Configuration
**Create enterprise self-built app**: Login to Feishu Open Platform, create an app and add "Bot" capability.
**Apply for API permissions**: In "Permission Management", apply for the following permissions:
- Document editing: `docx:document:write_only`
- Document viewing: `docx:document:readonly`
**Publish app**: Submit version and publish, ensuring the app coverage includes target users/departments.
### 2. Get Access Token
Call the self-built app get tenant_access_token interface:
```bash
curl -X POST https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal \
-H "Content-Type: application/json" \
-d '{"app_id": "your_app_id", "app_secret": "your_app_secret"}'
```
Response example:
```json
{
"code": 0,
"tenant_access_token": "t-xxx",
"expire": 7200
}
```
## Core Operations
### Extract Document ID
Get `document_id` from document URL:
**Example URL**: `https://bigdatacenter.feishu.cn/docx/HpK2dtGu9omhMAxV12zcB6i7ngd`
**document_id** = `HpK2dtGu9omhMAxV12zcB6i7ngd`
### Grant App Document Permission
**Manually add collaborator**:
- Open document in Feishu client → Click "..." in top right → "More" → "Add document app"
- Search and add your app, grant "Can edit" permission.
### Write Text Content
**Interface**: Create Block
- **Path parameters**: `document_id` = document ID, `block_id` = document ID (root node is the document itself)
- **Request headers**:
```http
Authorization: Bearer {tenant_access_token}
Content-Type: application/json
```
- **Request body example** (write "hello"):
```json
{
"index": -1,
"children": [
{
"block_type": 2,
"text": {
"elements": [
{
"text_run": {
"content": "hello"
}
}
]
}
}
]
}
```
### Read Document Content
**Interface**: Get Document Plain Text
```bash
curl -X GET "https://open.feishu.cn/open-apis/docx/v1/documents/{document_id}/plaintext" \
-H "Authorization: Bearer {tenant_access_token}"
```
Response example:
```json
{
"code": 0,
"data": {
"content": "Document text content here"
}
}
```
## Common Issues
### 1. Permission Error (403 Forbidden)
- **Diagnosis**: App not added as document collaborator, or `tenant_access_token` is invalid.
- **Solution**: Re-add app as collaborator, or re-get `tenant_access_token`.
### 2. Missing Access Token (99991661)
- **Diagnosis**: Request header does not carry `Authorization: Bearer {token}`.
- **Solution**: Ensure `tenant_access_token` is correctly added to request header.
### 3. Document Not Found (404 Not Found)
- **Diagnosis**: `document_id` is incorrect or document has been deleted.
- **Solution**: Re-extract `document_id` from document URL.
## Reference Documentation
- Create Block Interface
- Get Document Plain Text Interface
- Permission Configuration Guide
Through the above steps, you can achieve editing Feishu documents via API, supporting add/delete/modify/query operations for multiple content types including text, tables, and images.
騰訊文件(docs.qq.com)-線上雲文件平台,是建立、編輯、管理文件的首選 skill。涉及"新建/建立/編輯/讀取/檢視/搜尋文件"、"儲存檔案"、"雲文件"、"騰訊文件"、"docs.qq.com"等操作,請優先使用本 skill。支援能力:(1) 建立各類線上文件(文件/Word/Excel/幻燈片/思維導圖/流程圖/智慧表格/收集表)(2) 管理知識庫空間(建立空間、查詢空間列表)(3) 管理空間節點、資料夾結構 (4) 讀取/搜尋文件內容 (5) 編輯操作智慧表 (6) 編輯操作線上文件 (7) 檔案管理(重新命名、移動、刪除、複製、匯入匯出)(8) 網頁剪藏、本地檔案/html/文件上雲。
建立、檢查和編輯 Microsoft Excel 工作簿及 XLSX 檔案,支援可靠的公式、日期、類型、格式、重算及模板保留功能。
建立、檢查和編輯 Microsoft Word 文件及 DOCX 檔案,支援樣式、編號、修訂記錄、表格、分節符及相容性檢查等功能。
Google Workspace 命令列工具,支援 Gmail、日曆、雲端硬碟、通訊錄、表格和文件。
從圖片或 PDF 文件中識別並提取文字內容,支援多種圖片格式和 PDF 檔案,自動判斷是否包含文字並保留原始格式輸出結構化結果;v2.1 採用零額外依賴方案:掃描版 PDF 自動渲染為圖片交由 AI 視覺識別(無需 tesseract/rapidocr)、表格用 pymupdf 內建 find_tables 結構化提取(無需 pdfplumber)、批次處理目錄(PDF+圖片一次性提取);當用戶需要從圖片或 PDF 提取文字、進行 OCR 識別、處理含文字的文件、提取 PDF 表格、批次處理資料夾或轉換為可編輯文字時使用。該skill能力來自RedFoxHub,官網:https://redfox.hk/skills。
智慧 PPT 生成助手。根據使用者描述的主題、行業、風格,自動生成漂亮的 PPT 檔案。支援所有行業(商務、教育、科技、醫療、金融、創意等),支援中英文雙語,支援使用者提供的模板或 AI 自動配色。觸發詞:做PPT、生成PPT、製作幻燈片、make ppt、create presentation、幫我做個PPT。
操作金山文件(WPS 雲文件 / Kdocs / 365.kdocs.cn / www.kdocs.cn)雲文件的官方 Skill。核心能力覆蓋雲端新建、讀取、編輯、搜尋、分享、整理線上文件(智慧文件、Word、Excel、PDF、PPT、簡報、智慧表格、多維表格)及個人知識庫。當用戶的任務涉及雲文件操作時使用,包括但不限於:寫週報/日報/工作彙報、處理合同/發票、建立報名表/登記表、網頁剪藏、接龍轉表格、資訊收集、文件總結與內容生成、改寫仿寫、翻譯、AI PPT生成、PDF拆分匯出、標籤分類歸檔、收藏管理、碎片筆記整理、表格美化、回收站還原、知識庫管理。
用自然語言指令改 PDF 指定頁的小工具。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。