据 AlphaMoat 统计,截至 2026-09,feishu-doc-editor 累计下载 3,308 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,422 位,在「办公效率」分类(435 个)中排名第 249 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 105 | 3,203 | 1 | - |
| SkillHub ↗ | 105 | 3,308 | 1 | — |
各平台的计数口径不同,站内汇总取各平台中的较大值,不相加。
使用文档 ID 读取纯文本,按块结构写入内容。应用需具备相应读写权限并获文档协作者授权,认证凭据用于换取租户 access token。
资料发布于 2026-10-26
以下是根据技能文档生成的示例,不代表实际运行结果。
依据技能文档中的声明整理,未经实际安装或运行验证。
2026-09 起为新口径(全目录统计);此前为旧口径(只统计安装量为正的技能、同名技能合并计数)。两段不可直接比较,图中不跨口径连线,也不计算跨口径的增长。
| 月份 | 累计下载 | 环比 | 星标 | 累计安装 |
|---|---|---|---|---|
| 2026-09 | 3,308 | — | 1 | 105 |
| 2026-08旧口径 | 3,135 | +3.5% | 1 | 105 |
| 2026-07旧口径 | 3,030 | +9.9% | 1 | 105 |
| 2026-06旧口径 | 2,758 | +5.5% | 1 | 103 |
| 2026-05旧口径 | 2,613 | — | 1 | 47 |
| 2026-03旧口径 | 1,748 | — | 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),按月更新。口径说明见数据方法。