
Feishu Doc
A solid integration for working with Feishu documents programmatically. Handles the full lifecycle: create docs with markdown (headings, lists, code blocks, images), read plain text or drill into block-level structure for tables and embedded content, append or replace content, and manage comments with replies. The create_and_write action is smart, letting you spin up a document with content in one call instead of two. One catch: markdown tables aren't supported for writing, so you'll need block operations for those. Useful if you're building workflows that generate documentation, sync content to Feishu, or need to surface document comments in external tools.
- skills.sh installs
- 1.9K
- GitHub stars
- 4.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add m1heng/clawdbot-feishu --skill feishu-doc --agent claude-codeInstalls into .claude/skills of the current project.
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 ( 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..."
}
Sponsors
Details
- Repository
- github.com/m1heng/clawdbot-feishu
- Categories
- Documentation, Cloud & Infrastructure, Office & Documents