Feishu Doc Editor for Openclaw

Programmatically create, edit, and manage Feishu documents through a powerful OpenAPI integration.

zhuligu
v1.0.0
Feb 15, 2026
1
3.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-doc-editor

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-doc-editor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu Doc Editor?

The Feishu Doc Editor is a specialized skill designed to bridge the gap between automated workflows and collaborative document management. By leveraging the Feishu OpenAPI, this skill allows users to programmatically interact with the docx platform, enabling high-volume content generation and real-time document updates. Integrating this into your Openclaw Skills library ensures your AI agents can maintain up-to-date documentation and report directly within the Feishu ecosystem.

Feishu Doc Editor Use Cases

  • Automated report generation and formatting within Feishu documents.
  • Synchronizing external database records into collaborative docs for team review.
  • Programmatic content migration from legacy systems to Feishu docx.
  • Building bot-driven interactive documentation tools for internal workflows.

How Feishu Doc Editor Works

  1. Authentication is established via the Feishu Open Platform to obtain a valid tenant_access_token.
  2. The target document is identified using a unique document_id extracted directly from the document URL.
  3. Access is provisioned by manually adding the application as a collaborator with edit permissions to the document.
  4. The skill executes REST API calls to create or modify specific blocks within the document structure.
  5. Existing content can be retrieved using the plaintext endpoint for data auditing or content analysis.

Feishu Doc Editor Setup

1. App Configuration

Create a self-built app in the Feishu Open Platform and add the "Bot" capability. In Permission Management, enable docx:document:write_only and docx:document:readonly permissions.

2. Authentication

Obtain your access token using the following command:

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"}'

3. Grant Permissions

Open your document in the Feishu client, navigate to More -> Add document app, and search for your app to grant edit access.

Feishu Doc Editor Data Schema & Taxonomy

The skill interacts with the Feishu Docx schema through structured JSON blocks. Below are the primary data identifiers used in Openclaw Skills integration:

Attribute Description Data Type
document_id Unique identifier extracted from the document URL String
block_id Identifier for specific content nodes (root is document_id) String
block_type Defines content style (e.g., 2 for text blocks) Integer
tenant_access_token Bearer token used for authenticated API requests String

Feishu Doc Editor Advanced Features

  • Support for bulk block creation to build complex document structures in a single request.
  • Native handling of multimedia elements including tables and images through the OpenAPI.
  • Comprehensive error diagnostics for common issues like 403 Forbidden and 404 Not Found.
  • Extensible architecture allowing for multi-agent support and automated collaborative editing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*