Back to Skills

feishu-doc

Feishu document read/write operations + comment management. Activate when user mentions Feishu docs, cloud docs, docx links, or document comments.

4,287stars453forksUpdated 5/31/2026

Security Assessment

Safe(100/100)
Security Score100/100

About feishu-doc

The Feishu Doc skill is designed to facilitate comprehensive read and write operations for Feishu documents, including full document manipulation, structured block handling, and comment management. It addresses the common challenge of programmatically interacting with cloud-based documents, allowing users to automate content updates, append information, and manage collaborative comments without manually editing each document. By leveraging document tokens extracted from Feishu URLs, this skill provides precise access to individual documents, ensuring secure and efficient operations within the Feishu ecosystem.

This skill offers a wide range of capabilities. Users can read entire documents to retrieve plain text content and basic statistics or inspect structured content such as tables, images, and code blocks using block-level operations. Writing operations include replacing full content, creating and writing new documents atomically, appending content, and creating empty documents with optional folder placement. Block management features allow retrieval, updating, and deletion of specific blocks. Additionally, the skill provides comment handling, including listing all comments, retrieving single comments, creating new comments, and accessing comment replies for review. The workflow encourages starting with a simple read operation, then progressively handling structured content and comments as needed.

Typical use cases include content automation for corporate documentation, programmatic updates for collaborative documents, and management of document feedback through comments. Target users are developers, automation engineers, and technical teams that rely on Feishu for internal documentation and collaborative workflows. The skill is particularly useful for organizations seeking to streamline document editing, maintain versioned content, and efficiently manage comment threads without manual intervention.

FAQ

How do I retrieve structured content from a Feishu document?

Start with the 'read' action to get plain text and basic statistics. If the response indicates structured content (tables, images, code blocks), use the 'list_blocks' action to retrieve full block-level data.

Can I create a new document and write content in a single step?

Yes, use the 'create_and_write' action, optionally specifying a folder token. This is recommended over separate 'create' and 'write' calls.

Are markdown tables supported when writing documents?

No, the skill supports headings, lists, code blocks, quotes, links, images, bold, italic, and strikethrough, but markdown tables are not supported.

Which permissions are required to use this skill?

The skill requires 'docx:document', 'docx:document:readonly', 'docx:document.block:convert', and 'drive:drive' permissions.

Can I create replies to existing comments?

The current skill only exposes the 'create_comment' action for global comment creation. Replies can be retrieved using 'list_comment_replies', but creation of replies is not available in the current SDK.

All Files

2 files
SKILL.md4.0 KB
View
references/block-types.md3.5 KB
View

Install feishu-doc

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill