Read, write, and manage comments in Feishu documents with markdown support and block-level operations.
Works with
Supports full document lifecycle: read plain text, write/append markdown content, create new documents, and manage individual blocks (get, update, delete)
Comment operations include listing document and block-level comments, retrieving single comments, and creating global comments with pagination support
Structured content (tables, images, code blocks) accessible via list_blocks act
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionfeishu-docExecute the skills CLI command in your project's root directory to begin installation:
Fetches feishu-doc from m1heng/clawdbot-feishu and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate feishu-doc. Access via /feishu-doc in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
4.3K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
4.3K
stars
Single tool feishu_doc with action parameter for all document operations including comment management.
From URL https://xxx.feishu.cn/docx/ABC123def → doc_token = ABC123def
From URL https://xxx.feishu.cn/docs/doccn123c → doc_token = doccn123c
{ "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.
{ "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.
{
"action": "create_and_write",
"title": "New Document",
"content": "# Title\n\nMarkdown content..."
}
With folder:
{
"action": "create_and_write",
"title": "New Document",
"content": "# Title\n\nMarkdown content...",
"folder_token": "fldcnXXX"
}
Creates the document and writes content in one call. Prefer this over separate create + write.
{ "action": "append", "doc_token": "ABC123def", "content": "Additional content" }
Appends markdown to end of document.
{ "action": "create", "title": "New Document" }
With folder:
{ "action": "create", "title": "New Document", "folder_token": "fldcnXXX" }
Creates an empty document (title only).
{ "action": "list_blocks", "doc_token": "ABC123def" }
Returns full block data including tables, images. Use this to read structured content.
{ "action": "get_block", "doc_token": "ABC123def", "block_id": "doxcnXXX" }
{ "action": "update_block", "doc_token": "ABC123def", "block_id": "doxcnXXX", "content": "New text" }
{ "action": "delete_block", "doc_token": "ABC123def", "block_id": "doxcnXXX" }
{ "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).
{ "action": "get_comment", "doc_token": "ABC123def", "comment_id": "comment_xxx" }
{ "action": "create_comment", "doc_token": "ABC123def", "content": "Comment text" }
{ "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.
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.
action: "read" - get plain text + statisticsblock_types in response for Table, Image, Code, etc.action: "list_blocks" for full datachannels:
feishu:
tools:
doc: true # default: true
Note: feishu_wiki depends on this tool - wiki page content is read/written via feishu_doc.
Required: docx:document, docx:document:readonly, docx:document.block:convert, drive:drive
For comment operations:
docx:document.comment:readdocx:document.comment (optional, for create_comment)Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
riba2534/feishu-cli
yejinlei/pdf-ocr-skill
sammcj/agentic-coding
yejinlei/pdf-ocr-skill
kagurananaga/official-document-writing-skill
duc01226/easyplatform
Keeps context tight: feishu-doc is the kind of skill you can hand to a new teammate without a long onboarding doc.
feishu-doc has been reliable in day-to-day use. Documentation quality is above average for community skills.
feishu-doc is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in feishu-doc — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Useful defaults in feishu-doc — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
feishu-doc is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
feishu-doc fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Solid pick for teams standardizing on skills: feishu-doc is focused, and the summary matches what you get after install.
feishu-doc reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for feishu-doc matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 32