Feishu-skills feishu-perm
Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.
install
source · Clone the upstream repo
git clone https://github.com/autogame-17/feishu-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/autogame-17/feishu-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/feishu-perm" ~/.claude/skills/autogame-17-feishu-skills-feishu-perm && rm -rf "$T"
manifest:
feishu-perm/SKILL.mdsource content
Feishu Permission Skill
Manage collaborators and public link settings for Feishu Drive files (Docs, Sheets, Bitables, Wikis, Files).
Usage
# Add a collaborator (read-only) node skills/feishu-perm/index.js --action add --token "shttc..." --type "sheet" --member_id "ou_..." --perm "view" # List collaborators node skills/feishu-perm/index.js --action list --token "docx..." --type "docx" # Remove a collaborator node skills/feishu-perm/index.js --action remove --token "docx..." --type "docx" --member_id "ou_..." # Update a collaborator (to edit) node skills/feishu-perm/index.js --action update --token "docx..." --type "docx" --member_id "ou_..." --perm "edit" # Set public link sharing (Tenant Read) node skills/feishu-perm/index.js --action public --token "docx..." --type "docx" --link_share_entity "tenant_readable"
Arguments
:--action
,add
,remove
,list
,updatepublic
: File token (from URL)--token
:--type
,doc
,docx
,sheet
,bitable
,file
,wiki
(default:folder
)doc
: User Open ID (--member_id
) or Chat ID (ou_...
)oc_...
:--member_type
,user
,chat
,department
(default:group
)user
:--perm
,view
,editfull_access
:--link_share_entity
: Organization members can readtenant_readable
: Organization members can edittenant_editable
: Anyone with link can read (if allowed by tenant)anyone_readable
: Anyone with link can editanyone_editable
: Only invited membersclosed
:--notify
/true
(send notification to new member)false