feishu-doc — feishu-doc install feishu-doc, clawdbot-feishu, community, feishu-doc install, ide skills, feishu-doc token extraction, feishu-doc comment management, feishu-doc JSON action parameters, feishu-doc document operations, Claude Code, Cursor

v1.0.0
GitHub

About this Skill

Perfect for Document Management Agents needing seamless Feishu document integration and token extraction capabilities. feishu-doc is a document management tool that allows for token extraction and document operations, including comment management, using a single tool with action parameters.

Features

Extracts doc_token from Feishu document URLs
Supports read action to retrieve document title, plain text content, and block statistics
Manages comments using the feishu_doc tool
Returns structured content with hint field, if present
Uses JSON format for action parameters, such as { "action": "read", "doc_token": "ABC123def" }

# Core Topics

m1heng m1heng
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The feishu-doc skill by m1heng is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for feishu-doc install, feishu-doc token extraction, feishu-doc comment management.

Ideal Agent Persona

Perfect for Document Management Agents needing seamless Feishu document integration and token extraction capabilities.

Core Value

Empowers agents to manage documents and comments via a single tool, supporting actions like reading documents and extracting tokens from URLs using the feishu-doc protocol, enabling efficient document analysis and automation.

Capabilities Granted for feishu-doc

Extracting document tokens from Feishu URLs
Reading and analyzing Feishu document content
Automating comment management on Feishu documents

! Prerequisites & Limits

  • Requires Feishu document URL or doc_token
  • Limited to Feishu document operations
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

feishu-doc

Install feishu-doc, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

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/ABC123defdoc_token = ABC123def From URL https://xxx.feishu.cn/docs/doccn123cdoc_token = doccn123c

Actions

Read Document

json
1{ "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)

json
1{ "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.

json
1{ 2 "action": "create_and_write", 3 "title": "New Document", 4 "content": "# Title\n\nMarkdown content..." 5}

With folder:

json
1{ 2 "action": "create_and_write", 3 "title": "New Document", 4 "content": "# Title\n\nMarkdown content...", 5 "folder_token": "fldcnXXX" 6}

Creates the document and writes content in one call. Prefer this over separate create + write.

Append Content

json
1{ "action": "append", "doc_token": "ABC123def", "content": "Additional content" }

Appends markdown to end of document.

Create Document

json
1{ "action": "create", "title": "New Document" }

With folder:

json
1{ "action": "create", "title": "New Document", "folder_token": "fldcnXXX" }

Creates an empty document (title only).

List Blocks

json
1{ "action": "list_blocks", "doc_token": "ABC123def" }

Returns full block data including tables, images. Use this to read structured content.

Get Single Block

json
1{ "action": "get_block", "doc_token": "ABC123def", "block_id": "doxcnXXX" }

Update Block Text

json
1{ "action": "update_block", "doc_token": "ABC123def", "block_id": "doxcnXXX", "content": "New text" }

Delete Block

json
1{ "action": "delete_block", "doc_token": "ABC123def", "block_id": "doxcnXXX" }

List Comments

json
1{ "action": "list_comments", "doc_token": "ABC123def", "page_size": 50 }

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).

Get Single Comment

json
1{ "action": "get_comment", "doc_token": "ABC123def", "comment_id": "comment_xxx" }

Create Comment

json
1{ "action": "create_comment", "doc_token": "ABC123def", "content": "Comment text" }

List Comment Replies

json
1{ "action": "list_comment_replies", "doc_token": "ABC123def", "comment_id": "comment_xxx", "page_size": 50 }

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

  1. Start with action: "read" - get plain text + statistics
  2. Check block_types in response for Table, Image, Code, etc.
  3. If structured content exists, use action: "list_blocks" for full data

Configuration

yaml
1channels: 2 feishu: 3 tools: 4 doc: true # default: true

Note: feishu_wiki depends on this tool - wiki page content is read/written via feishu_doc.

Permissions

Required: docx:document, docx:document:readonly, docx:document.block:convert, drive:drive

For comment operations:

  • Read comments: docx:document.comment:read
  • Write comments: docx:document.comment (optional, for create_comment)

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is feishu-doc?

Perfect for Document Management Agents needing seamless Feishu document integration and token extraction capabilities. feishu-doc is a document management tool that allows for token extraction and document operations, including comment management, using a single tool with action parameters.

How do I install feishu-doc?

Run the command: npx killer-skills add m1heng/clawdbot-feishu/feishu-doc. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for feishu-doc?

Key use cases include: Extracting document tokens from Feishu URLs, Reading and analyzing Feishu document content, Automating comment management on Feishu documents.

Which IDEs are compatible with feishu-doc?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for feishu-doc?

Requires Feishu document URL or doc_token. Limited to Feishu document operations.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add m1heng/clawdbot-feishu/feishu-doc. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use feishu-doc immediately in the current project.

Related Skills

Looking for an alternative to feishu-doc or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI