@steipete/feishu-perm

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

View in AI SkillSafe app
705554 downloads
0 stars
0 demos
SKILL.md
namefeishu-perm
description|

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": "[email protected]",
  "perm": "edit"
}

Remove Collaborator

{
  "action": "remove",
  "token": "ABC123",
  "type": "docx",
  "member_type": "email",
  "member_id": "[email protected]"
}

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": "[email protected]",
  "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

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@steipete/feishu-perm/verified)](https://skillsafe.ai/skill/@steipete/feishu-perm/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@steipete/feishu-perm/installs)](https://skillsafe.ai/skill/@steipete/feishu-perm/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@steipete/feishu-perm/scan)](https://skillsafe.ai/skill/@steipete/feishu-perm/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@steipete/feishu-perm/eval)](https://skillsafe.ai/skill/@steipete/feishu-perm/)