feishu-permClaude Skill

Feishu permission management for documents and files.

269.8k Stars
51.5k Forks
2025/11/24

Install & Download

Linux / macOS:

请登录后查看安装命令

Windows (PowerShell):

请登录后查看安装命令

Download and extract to ~/.claude/skills/

namefeishu-perm
descriptionFeishu 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

TypeDescription
docOld format document
docxNew format document
sheetSpreadsheet
bitableMulti-dimensional table
folderFolder
fileUploaded file
wikiWiki node
mindnoteMind map

Member Types

TypeDescription
emailEmail address
openidUser open_id
useridUser user_id
unionidUser union_id
openchatGroup chat open_id
opendepartmentidDepartment open_id

Permission Levels

PermDescription
viewView only
editCan edit
full_accessFull 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

Similar Claude Skills & Agent Workflows