Skip to content
AI & Agents
Skill

/feishu-perm

Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.

From plugin
clawdbot-feishu
4.3k11 skills
Install
$ npx -y skills add m1heng/clawdbot-feishu --skill feishu-perm --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/feishu-perm

Context preview

The summary Claude sees to decide when to auto-load this skill.

Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.

SKILL.md

feishu-perm.SKILL.md
name: feishu-perm
description: |
  Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.

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 | |------|-------------| | `doc` | Old format document | | `docx` | New format document | | `sheet` | Spreadsheet | | `bitable` | Multi-dimensional table | | `folder` | Folder | | `file` | Uploaded file | | `wiki` | Wiki node | | `mindnote` | Mind map |

Member Types

| Type | Description | |------|-------------| | `email` | Email address | | `openid` | User open_id | | `userid` | User user_id | | `unionid` | User union_id | | `openchat` | Group chat open_id | | `opendepartmentid` | Department open_id |

Permission Levels

| Perm | Description | |------|-------------| | `view` | View only | | `edit` | Can edit | | `full_access` | 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`

Read more
Ships withclawdbot-feishu

Feishu/Lark (飞书) channel plugin for OpenClaw. 中文社区资料 - 配置教程、常见问题、使用技巧:Wiki Contributing / 贡献指南: CONTRIBUTING.md Issue Reporting / 问题反馈: Please check Discussions first for common solutions, then open a structured Issue Form if needed.

Get the whole plugin
Stats
4,252
Stars
444
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
4mo ago
Last commit
6mo ago
Created

Repo: m1heng/clawdbot-feishu