帮助你管理飞书文档与文件的访问权限、共享范围和协作者设置
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "feishu-perm" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/feishu/skills/feishu-perm/SKILL.md 2. 保存为 ~/.claude/skills/feishu-perm/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我把这份飞书文档的权限改成仅团队成员可查看,外部人员禁止访问,并保留当前协作者的编辑权限。
返回权限调整结果,说明文档可见范围、外部访问限制和协作者权限是否已更新。
请检查这个飞书文件夹里的文件权限,找出对外公开或可被任意转发的文件,并给出修复建议。
输出风险文件清单,并标注问题类型与建议的权限收紧方案。
帮我给这份飞书表格添加两位协作者:张三可编辑,李四仅可评论,并关闭链接分享。
返回协作者添加与权限分配结果,并确认链接分享状态已关闭。
Single tool feishu_perm for managing file/document permissions.
{ "action": "list", "token": "ABC123", "type": "docx" }
Returns: members with member_type, member_id, perm, name.
{
"action": "add",
"token": "ABC123",
"type": "docx",
"member_type": "email",
"member_id": "[email protected]",
"perm": "edit"
}
{
"action": "remove",
"token": "ABC123",
"type": "docx",
"member_type": "email",
"member_id": "[email protected]"
}
| 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 |
| 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 |
| Perm | Description |
|---|---|
view | View only |
edit | Can edit |
full_access | Full access (can manage permissions) |
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"
}
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.
Required: drive:permission
帮助团队检索重复的 PR 与问题单,并自动分组同步重复状态。
帮助用户监控和发送飞书消息,并自动上传文档与执行定时任务