Read, write, and comment on Feishu documents through one feishu_doc tool with action-based calls.

skills.sh installs
1.9K
GitHub stars
4.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers reading, creating, writing, appending, and block-level editing of Feishu cloud documents, plus comment listing and creation
  • Includes 11 actions such as read, create_and_write, list_blocks, update_block, list_comments, and list_comment_replies
  • Enforces markdown-only writes, so tables are not supported and structured content requires list_blocks to read
  • Designed for agents working in Feishu that also need feishu_wiki, which depends on this tool for page content

Install

$ npx -y skills add m1heng/clawdbot-feishu --skill feishu-doc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Write Document (Replace All)

{ "action": "write", "doc_token": "ABC123def", "content": "# Title\n\nMarkdown content..." }

Replaces entire document with markdown content. Supports: headings, lists, code blocks, quotes, links, images (![](url) auto-uploaded), bold/italic/strikethrough.

Limitation: Markdown tables are NOT supported.

Create + Write (Atomic, Recommended)

{
  "action": "create_and_write",
  "title": "New Document",
  "content": "# Title\n\nMarkdown content..."
}

Details

Repository
github.com/m1heng/clawdbot-feishu
Categories
Office Files & Slides, Technical Documentation, Productivity & Notes

More from m1heng/clawdbot-feishu

All 7

Similar to Feishu Doc

More Office Files & Slides