Skip to content
Back to skills

Feishu Comments

ASecurity

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.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
securitypythonshellbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill feishu-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feishu Comments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feishu Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-feishu-comments/badge)](https://www.skillsdirectory.com/skills/modbender-feishu-comments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- **Feishu app credentials** configured in `~/.openclaw/openclaw.json` (reads `appId` and `appSecret` from `channels.feishu`)
- **System dependencies**: `curl`, `python3` (must be available on PATH)
- **Feishu app permission**: `docs:document.comment:read` or `drive:drive`

## Usage

Run the bundled script to get all comments on a document:

```bash
bash skills/feishu-comments/scripts/get_comments.sh <doc_token>
```

To fetch specific comments by ID:

```bash
bash skills/feishu-comments/scripts/get_comments.sh <doc_token> "id1,id2,id3"
```

Resolve `skills/` paths relative to the workspace directory.

## When to Use

- After `feishu_doc` `list_blocks` shows `comment_ids` on blocks
- When user asks to review or check comments on a document
- During document collaboration review cycles

## Output Format

Each comment shows:
- Comment ID, status (Open/Resolved), scope (Global/Local)
- Quoted text (for local/inline comments)
- All replies with user ID and text content

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

- Read-only (cannot create or reply to comments)
- API error responses are printed to stderr (may contain request IDs but no sensitive data)

Files in this skill

  • SKILL.md2.1 KB
  • scripts/get_comments.sh4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…