token

feishu-doc-editor

Officev1.0.0
By tokenUpdated 2026-05-17@clawhub_zhuligu/feishu-doc-editor
Documents#Feishu#Document

According to AlphaMoat, as of 2026-09, feishu-doc-editor has 3,308 downloads and 1 stars — ranked #3,422 of 5,078 AI skills overall, and #249 of 435 in Office.

Installs
105
Downloads
3.3K
Stars
1
Overall Rank
#3,422
Top 68% overall · Top 58% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗1053.2K1-
SkillHub ↗1053.3K1—

Platforms count differently. AlphaMoat’s totals use the higher figure across platforms, not the sum.

What this skill does

Uses document IDs to read plain text and writes content as blocks. The app needs relevant API permissions and document collaborator access, with app credentials exchanged for a tenant access token.

Profile published 2026-10-26

What you can do with it

  • Write generated content into a Feishu document

When to use it

  • When a self-built app and document permissions are configured

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Read this Feishu document and append the specified text

Requirements

Compiled from what the skill’s documentation declares; not verified by installing or running it.

Authentication
Access token
Authentication notes
Exchange the self-built app’s app_id and app_secret for a tenant_access_token.
Configuration
  • Publish the app and grant relevant API permissions; editing also needs document collaborator access.

Monthly Trend

Installs105
3472110Current methodLegacy method2026-03 · Installs 39 (Legacy method)2026-05 · Installs 47 (Legacy method)2026-06 · Installs 103 (Legacy method)2026-07 · Installs 105 (Legacy method)2026-08 · Installs 105 (Legacy method)2026-09 · Installs 10526-0326-09
Downloads3.3K
1.6K2.5K3.4KCurrent methodLegacy method2026-03 · Downloads 1.7K (Legacy method)2026-05 · Downloads 2.6K (Legacy method)2026-06 · Downloads 2.8K (Legacy method)2026-07 · Downloads 3.0K (Legacy method)2026-08 · Downloads 3.1K (Legacy method)2026-09 · Downloads 3.3K26-0326-09
Stars1
-12Current methodLegacy method2026-03 · Stars 1 (Legacy method)2026-05 · Stars 1 (Legacy method)2026-06 · Stars 1 (Legacy method)2026-07 · Stars 1 (Legacy method)2026-08 · Stars 1 (Legacy method)2026-09 · Stars 126-0326-09

From 2026-09 the figures use the current method (full catalog). Earlier months use the legacy method (only skills with installs, same-name skills merged). The two are not directly comparable, so the chart does not connect them or compute growth across them.

MonthDownloadsMoMStarsInstalls
2026-093.3K—1105
2026-08Legacy method3.1K+3.5%1105
2026-07Legacy method3.0K+9.9%1105
2026-06Legacy method2.8K+5.5%1103
2026-05Legacy method2.6K—147
2026-03Legacy method1.7K—139

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

Show original (3.4 KB · ClawHub v1.0.0)
---
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.
Other files archived by AlphaMoat (fetched selectively, may be incomplete)
  • skill-card.md · 2.4 KB

Popular in Office

腾讯文档 TENCENT DOCSOffice

腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/思维导图/流程图/智能表格/收集表)(2) 管理知识库空间(创建空间、查询空间列表)(3) 管理空间节点、文件夹结构 (4) 读取/搜索文档内容 (5) 编辑操作智能表 (6) 编辑操作在线文档 (7) 文件管理(重命名、移动、删除、复制、导入导出)(8) 网页剪藏、本地文件/html/文档上云。

↓ 1.3M★ 312u_b0de8114
Excel / XLSXOffice

Create, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation...

↓ 217.1K★ 452Iván
Word / DOCXOffice

Create, inspect, and edit Microsoft Word documents and DOCX files with reliable styles, numbering, tracked changes, tables, sections, and compatibility check...

↓ 215.6K★ 540Iván
GogOffice

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

↓ 206.0K★ 950Peter Steinberger
PDF和图片文字提取Office

从图片或 PDF 文档中识别并提取文字内容,支持多种图片格式和 PDF 文件,自动判断是否包含文字并保留原始格式输出结构化结果;v2.1 采用零额外依赖方案:扫描版 PDF 自动渲染为图片交由 AI 视觉识别(无需 tesseract/rapidocr)、表格用 pymupdf 内置 find_tables 结构化提取(无需 pdfplumber)、批量处理目录(PDF+图片一次性提取);当用户需要从图片或 PDF 提取文字、进行 OCR 识别、处理含文字的文档、提取 PDF 表格、批量处理文件夹或转换为可编辑文本时使用。该skill能力来自RedFoxHub,官网:https://redfox.hk/skills。

↓ 169.8K★ 183user_5f9c21aa
ppt-generator-skillOffice

智能 PPT 生成助手。根据用户描述的主题、行业、风格,自动生成漂亮的 PPT 文件。支持所有行业(商务、教育、科技、医疗、金融、创意等),支持中英文双语,支持用户提供的模板或 AI 自动配色。触发词:做PPT、生成PPT、制作幻灯片、make ppt、create presentation、帮我做个PPT。

↓ 155.7K★ 301user_3b34947d
kdocs skillOffice

操作金山文档(WPS 云文档 / Kdocs / 365.kdocs.cn / www.kdocs.cn)云文档的官方 Skill。核心能力覆盖云端新建、读取、编辑、搜索、分享、整理在线文档(智能文档、Word、Excel、PDF、PPT、演示文稿、智能表格、多维表格)及个人知识库。当用户的任务涉及云文档操作时使用,包括但不限于:写周报/日报/工作汇报、处理合同/发票、创建报名表/登记表、网页剪藏、接龙转表格、信息收集、文档总结与内容生成、改写仿写、翻译、AI PPT生成、PDF拆分导出、标签分类归档、收藏管理、碎片笔记整理、表格美化、回收站还原、知识库管理。

↓ 154.6K★ 123user_5ea84866
Nano PdfOffice

A small CLI that edits a chosen PDF page from a natural language instruction.

↓ 135.5K★ 293Peter Steinberger

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.