cpjhy

Feishu Docx

Officev1.0.2
By cpjhyUpdated 2026-05-183 versions · latest released 2026-03-04feishu-docx@clawhub_cpjhy/feishu-docx
Documents#Feishu#批量#文档#飞书

According to AlphaMoat, as of 2026-09, Feishu Docx has 1,310 downloads and 0 stars — ranked #4,888 of 5,078 AI skills overall, and #407 of 435 in Office.

Installs
101
Downloads
1.3K
Stars
-
Overall Rank
#4,888
Top 97% overall · Top 94% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗341.3K--
SkillHub ↗1011.3K-—

Platforms count differently and update at different times.

What this skill does

The core flow obtains an application access token, creates a document, appends content blocks, and batch-updates blocks. It requires an App ID and App Secret. The accompanying review flags credential-like values in the source and tenant-specific scripts that may upload local content to a fixed Feishu destination. Do not use bundled credentials; replace them securely and verify each remote upload, import, or delete target before execution.

Profile published 2026-10-29

What you can do with it

  • Plan an API workflow to create a Feishu document.
  • Outline steps to append text or batch-update document blocks.
  • Review what must be confirmed before uploading a local file to a remote document.

When to use it

  • When creating or editing Feishu cloud documents through the API.
  • When appending content or batch-updating document blocks.
  • Before configuring credentials or remotely creating, uploading, importing, or deleting files, when replacing source credentials and confirming the file, destination, and authorization.

Example prompts

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

Summarize Feishu Docx token, document-creation, and content-writing steps, including credential precautions.
Draft a destination and file-scope checklist before uploading local content to Feishu.

Monthly Trend

Downloads1.3K
2758311.4K2026-03 · Downloads 3522026-05 · Downloads 7562026-06 · Downloads 8752026-07 · Downloads 1.1K2026-08 · Downloads 1.2K2026-09 · Downloads 1.3K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.3K—-
2026-081.2K+9.1%-
2026-071.1K+23.5%-
2026-06875+15.7%-
2026-05756—-
2026-03352—-

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.

1.5 KB · ClawHub v1.0.2
---
name: feishu-docx
description: 飞书云文档(docx)的创建与编辑技能。支持通过 API 创建文档、追加内容、批量更新块等操作。使用此技能需要提供 App ID 和 App Secret。
---

# Feishu Docx Skill

本技能封装了飞书云文档(docx)API 的核心操作,允许老大快速对飞书文档进行读写操作。

## 认证信息
Show all (42 lines)

使用该技能前,需确保已设置以下环境变量或在代码中显式传入:
- `FEISHU_APP_ID`: cli_a92c5076b7789cd2
- `FEISHU_APP_SECRET`: 9jPdCn49G54RFoEoDPUCVcptnWZnTZqp

## 核心工作流

1. **获取访问令牌**: 使用 `tenant_access_token` 进行应用级别的认证。
2. **创建文档**: 调用 `POST /open-apis/docx/v1/documents` 创建一个空的或指定标题的文档。
3. **写入/编辑内容**:
    - 追加块:`POST /open-apis/docx/v1/documents/{document_id}/blocks/{block_id}/children`
    - 批量更新:`POST /open-apis/docx/v1/documents/{document_id}/blocks/batch_update`

## 使用示例 (Python)

```python
from scripts.feishu_docx_client import FeishuDocx

client = FeishuDocx(app_id="cli_a92c5076b7789cd2", app_secret="9jPdCn49G54RFoEoDPUCVcptnWZnTZqp")

# 1. 创建文档
doc_id = client.create_document("测试文档")

# 2. 追加文本
client.append_text(doc_id, "这是由 OpenClaw 写入的内容。")
```

## 资源

- **客户端脚本**: `scripts/feishu_docx_client.py` 封装了常用的 API 调用。
- **参考文档**: 请参考 [REFERENCES.md](references/api_reference.md) 了解更多 Block 类型和 API 细节。

Popular in Office

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