Openclaw feishu-perm
install
source · Clone the upstream repo
git clone https://github.com/openclaw/openclaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/extensions/feishu/skills/feishu-perm" ~/.claude/skills/openclaw-openclaw-feishu-perm && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/extensions/feishu/skills/feishu-perm" ~/.openclaw/skills/openclaw-openclaw-feishu-perm && rm -rf "$T"
manifest:
extensions/feishu/skills/feishu-perm/SKILL.mdsource content
Feishu Permission Tool
Single tool
feishu_perm for managing file/document permissions.
Actions
List Collaborators
{ "action": "list", "token": "ABC123", "type": "docx" }
Returns: members with member_type, member_id, perm, name.
Add Collaborator
{ "action": "add", "token": "ABC123", "type": "docx", "member_type": "email", "member_id": "user@example.com", "perm": "edit" }
Remove Collaborator
{ "action": "remove", "token": "ABC123", "type": "docx", "member_type": "email", "member_id": "user@example.com" }
Token Types
| Type | Description |
|---|---|
| Old format document |
| New format document |
| Spreadsheet |
| Multi-dimensional table |
| Folder |
| Uploaded file |
| Wiki node |
| Mind map |
Member Types
| Type | Description |
|---|---|
| Email address |
| User open_id |
| User user_id |
| User union_id |
| Group chat open_id |
| Department open_id |
Permission Levels
| Perm | Description |
|---|---|
| View only |
| Can edit |
| Full access (can manage permissions) |
Examples
Share document with email:
{ "action": "add", "token": "doxcnXXX", "type": "docx", "member_type": "email", "member_id": "alice@company.com", "perm": "edit" }
Share folder with group:
{ "action": "add", "token": "fldcnXXX", "type": "folder", "member_type": "openchat", "member_id": "oc_xxx", "perm": "view" }
Configuration
channels: feishu: tools: perm: true # default: false (disabled)
Note: This tool is disabled by default because permission management is a sensitive operation. Enable explicitly if needed.
Permissions
Required:
drive:permission