Feishu Comments
by @deadblue22
Read comments from Feishu documents. Use when: user asks to check/read/fetch comments on a Feishu doc, review feedback on a document, or collaborate on docum...
clawhub install feishu-commentsπ About This Skill
name: feishu-comments description: | Read comments from Feishu documents. Use when: user asks to check/read/fetch comments on a Feishu doc, review feedback on a document, or collaborate on document revisions via comments.
Feishu Document Comments
Fetch comments from Feishu docx documents via the Drive Comment API.
Requirements
~/.openclaw/openclaw.json (reads appId and appSecret from channels.feishu)curl, python3 (must be available on PATH)docs:document.comment:read or drive:driveUsage
Run the bundled script to get all comments on a document:
bash skills/feishu-comments/scripts/get_comments.sh
To fetch specific comments by ID:
bash skills/feishu-comments/scripts/get_comments.sh "id1,id2,id3"
Resolve skills/ paths relative to the workspace directory.
When to Use
feishu_doc list_blocks shows comment_ids on blocksOutput Format
Each comment shows:
Extracting doc_token
From URL https://xxx.feishu.cn/docx/ABC123def β doc_token = ABC123def
For wiki pages, first use feishu_wiki to get obj_token, then use that as the doc_token.
How It Works
The bundled shell script:
1. Reads Feishu app credentials (appId, appSecret) from ~/.openclaw/openclaw.json
2. Obtains a tenant_access_token via the Feishu auth API
3. Calls the Drive Comment API to list and batch-query comments
4. Formats and outputs comment content to stdout
No data is sent to any third party beyond the Feishu/Lark API endpoints.
Limitations
β‘ When to Use
π‘ Examples
Run the bundled script to get all comments on a document:
bash skills/feishu-comments/scripts/get_comments.sh
To fetch specific comments by ID:
bash skills/feishu-comments/scripts/get_comments.sh "id1,id2,id3"
Resolve skills/ paths relative to the workspace directory.