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-code

Installs 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 (![](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..."
}

Sponsors

Details

Repository
github.com/m1heng/clawdbot-feishu
Categories
Documentation, Cloud & Infrastructure, Office & Documents

More from m1heng/clawdbot-feishu

All 8
1refoundai avatarwriting-specs-designsrefoundai/lenny-skillsHelp users write effective specs and design documents. Use when someone is creating technical specs, feature specs, design docs, or trying to communicate produc1.8Kskills.sh installs
2paulrberg avatarmd-docspaulrberg/agent-skillsUse ONLY to update or initialize README.md, CLAUDE.md, or AGENTS.md. Do not trigger for other Markdown files.1.7Kskills.sh installs
3adobe avatardocs-searchadobe/skillsUse this when you need more information about an AEM Edge Delivery Services (EDS, Franklin, Helix) feature or guidance on how to implement one, and your existin1.7Kskills.sh installs
4okx avatarokx-ai-guideokx/onchainos-skillsOKX.AI (the Agent economic system) intro & onboarding entry. Use whenever the user asks what OKX.AI is, what it can do, how to use or get started with it, wants1.6Kskills.sh installs
5boshu2 avatardocboshu2/agentopsGenerate and validate repo docs, READMEs1.6Kskills.sh installs
6cxuu avatargo-documentationcxuu/golang-skillsUse when writing or reviewing documentation for Go packages, types, functions, or methods. Also use proactively when creating new exported types, functions, or 1.3Kskills.sh installs