Automates Feishu permission management including listing, adding, and removing collaborators from docs, sheets, and folders.

Install

mkdir -p .claude/skills/feishu-perm && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2077" && unzip -o skill.zip -d .claude/skills/feishu-perm && rm skill.zip

Installs to .claude/skills/feishu-perm

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.
118 chars · catalog description✓ has a “when” trigger
Intermediate

Key capabilities

  • List document collaborators
  • Add collaborators to files
  • Remove collaborators
  • Manage permission levels

How it works

It interfaces with the Feishu API to perform CRUD operations on permission lists for various document and file types.

Inputs & outputs

You give it
File token and member details
You get back
Updated file permission status

When to use feishu-perm

  • Share a document with a team member via email
  • Grant edit access to a folder for a specific group chat
  • Remove a collaborator from a spreadsheet
  • List all users with access to a wiki node

About this skill

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

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": "[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

When not to use it

  • When the user lacks drive:permission scope
  • When the file token is invalid

Prerequisites

Feishu API accessdrive:permission scope

Limitations

  • Tool is disabled by default for security
  • Requires specific API scopes

How it compares

It provides a centralized, tool-based interface for managing permissions instead of using the Feishu web UI.

Compared to similar skills

feishu-perm side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
feishu-perm (this skill)36moNo flagsIntermediate
notion-knowledge-capture109moNo flagsIntermediate
feishu-doc145moNo flagsIntermediate
openspec-continue-change46moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry