Feishu Smart Doc Writer for Openclaw

An AI-powered document automation tool for Feishu and Lark that handles long-form content, smart categorization, and ownership transfer seamlessly.

terrence741-cell
v1.4.1
Feb 23, 2026
0
927
6

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install feishu-smart-doc-writer

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-smart-doc-writer 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 Smart Doc Writer?

The Feishu Smart Doc Writer is a sophisticated integration designed to bridge the gap between AI agents and the Feishu/Lark ecosystem. By utilizing Openclaw Skills, this tool solves common API limitations such as the blank document issue caused by length limits through its intelligent chunking engine. It manages the entire lifecycle of a document, from initial creation and smart categorization to automatic ownership transfer to the specific user's account via OpenID. This ensures that every piece of content generated by your agent is properly formatted, indexed, and owned by the right person within your organization.

Feishu Smart Doc Writer Use Cases

  • Generating long-form technical research reports and AI overviews directly in Feishu.
  • Archiving daily conversation histories or chat logs into organized document folders.
  • Maintaining a searchable local index of all team documents generated by AI agents.
  • Automating the transition of document ownership from a bot account to a human administrator.

How Feishu Smart Doc Writer Works

  1. The skill receives content and a title, then analyzes the payload length to determine if chunking is required.
  2. It creates a new Feishu document and writes the content in smart segments to bypass API rate and size limits.
  3. The agent triggers an ownership transfer protocol using the user's pre-configured OpenID to ensure the user has full edit rights.
  4. The content is scanned for keywords to apply smart tags like AI Tech, E-commerce, or Daily Archive.
  5. The local index file in the memory directory is updated with the new document's URL, metadata, and summary for future searchability.

Feishu Smart Doc Writer Setup

To get started with this skill, follow these essential configuration steps:

  1. Initiate the setup by attempting a write command:
/feishu-smart-doc-writer write_smart title: "Test" content: "Initial setup"
  1. Retrieve your OpenID from the Feishu Open Platform (Application -> Permission Management -> API Debug Console).
  2. Configure your OpenID within the skill to enable ownership transfers:
/feishu-smart-doc-writer configure --openid "ou_xxxxxxxx" --permission_checked true
  1. Ensure your Feishu App has the following permissions enabled and published: docx:document:create, docx:document:write, and docs:permission.member:transfer.

Feishu Smart Doc Writer Data Schema & Taxonomy

The skill maintains a structured data ecosystem to track all generated assets:

File/Data Type Location Description
Local Index memory/feishu-docs-index.md A Markdown table containing index, name, link, summary, status, and tags.
User Config user_config.json Stores OpenID and first-time usage flags.
Document Metadata Feishu API Response Tracks doc_token, chunks_count, and ownership status.

Feishu Smart Doc Writer Advanced Features

  • Smart Chunk Writing: Eliminates the risk of empty documents by automatically splitting large content blocks.
  • Auto-Categorization Engine: Uses AI-driven logic to tag documents based on content themes like Openclaw Skills or Technical Research.
  • Local Search Integration: Allows users to search through their entire Feishu document history using local index keywords.
  • Manual Transfer Override: Provides a dedicated tool to transfer ownership of existing documents to different OpenIDs if needed.

SKILL.md


Loading

Related Openclaw Skills

Featured*