Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Feishu document read/write operations + comment management. Activate when user mentions Feishu docs, cloud docs, docx links, or document comments.
Feishu Document Tool
Single tool feishu_doc with action parameter for all document operations including comment management.
Token Extraction
From URL https://xxx.feishu.cn/docx/ABC123def → doc_token = ABC123def
From URL https://xxx.feishu.cn/docs/doccn123c → doc_token = doccn123c
Actions
Read Document
{"action":"read","doc_token":"ABC123def"}
Returns: title, plain text content, block statistics. Check hint field - if present, structured content (tables, images) exists that requires list_blocks.
Returns all comments for the document. Use page_token for pagination. Comments include is_whole field to distinguish between whole-document comments (true) and block-level comments (false).
page_size should be a positive integer. If omitted, tool defaults to 50.
Comment Write Scope
Current tool provides documented comment write action create_comment (global comment creation).
For replies, use list_comment_replies for retrieval; the reply creation endpoint is not exposed in current SDK surface.
Reading Workflow
Start with action: "read" - get plain text + statistics
Check block_types in response for Table, Image, Code, etc.
If structured content exists, use action: "list_blocks" for full data
Configuration
channels:feishu:tools:doc:true# default: true
Note:feishu_wiki depends on this tool - wiki page content is read/written via feishu_doc.