Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/riba2534/feishu-cli/feishu-cli-perm
feishu-cli-perm logo

feishu-cli-perm

riba2534/feishu-cli
709 installs1K stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|Command ExecutionExternal Downloads|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-perm

Summary

>-

SKILL.md

飞书权限管理技能

飞书云文档权限管理:添加/更新/删除/查看协作者、公开权限管理、分享密码、批量添加、权限检查、转移所有权。

适用场景

  • 给飞书文档添加/更新/删除协作者权限
  • 查看文档协作者列表
  • 管理文档公开权限(外部访问、链接分享)
  • 设置/刷新/删除分享密码
  • 批量添加协作者
  • 检查用户对文档的权限
  • 转移文档所有权

前置条件

安装与认证

  • feishu-cli:如尚未安装,请前往 riba2534/feishu-cli 获取安装方式
  • 认证:使用 App Token(应用身份),需配置 App ID 和 App Secret(环境变量或 ~/.feishu-cli/config.yaml)。无需 auth login(User Token 不适用于权限管理 API)。

所需权限 scope

scope说明
docs:permission.member:create添加协作者
docs:permission.member:retrieve查看协作者列表
docs:permission.member:update更新协作者权限
docs:permission.member:delete删除协作者
docs:permission.member:transfer转移所有权
docs:permission.member:auth检查用户权限
docs:permission.setting:read / docs:permission.setting:readonly读取公开权限设置
docs:permission.setting:write_only更新公开权限、密码管理

快速开始

# 给用户添加编辑权限(最常用操作)
feishu-cli perm add <TOKEN> --doc-type docx --member-type email --member-id user@example.com --perm edit --notification

# 查看文档协作者列表
feishu-cli perm list <TOKEN> --doc-type docx

# 删除指定协作者
feishu-cli perm delete <TOKEN> --doc-type docx --member-type email --member-id user@example.com

命令总览

一、基础操作

命令说明
perm add添加协作者权限
perm update更新已有协作者的权限级别
perm list查看协作者列表
perm delete删除协作者

二、高级操作

命令说明
perm batch-add从 JSON 文件批量添加协作者
perm transfer-owner转移文档所有权
perm auth检查当前用户对文档的权限

三、公开设置

命令说明
perm public-get查看文档公开权限设置
perm public-update更新公开权限(外部访问、链接分享等)
perm password create创建分享密码
perm password update刷新分享密码
perm password delete删除分享密码

命令详情

添加权限

feishu-cli perm add <TOKEN> \
  --doc-type <DOC_TYPE> \
  --member-type <MEMBER_TYPE> \
  --member-id <MEMBER_ID> \
  --perm <PERM> \
  [--notification]

更新权限

feishu-cli perm update <TOKEN> \
  --doc-type <DOC_TYPE> \
  --member-type <MEMBER_TYPE> \
  --member-id <MEMBER_ID> \
  --perm <PERM>

查看协作者列表

feishu-cli perm list <TOKEN> --doc-type <DOC_TYPE>

删除协作者

feishu-cli perm delete <TOKEN> \
  --doc-type <DOC_TYPE> \
  --member-type <MEMBER_TYPE> \
  --member-id <MEMBER_ID>

批量添加协作者

feishu-cli perm batch-add <TOKEN> \
  --doc-type <DOC_TYPE> \
  --members-file <members.json> \
  [--notification]

--doc-type 默认 docx,非 docx 文档(sheet / bitable / file / wiki / slides 等)必须显式指定,否则会按 docx 处理导致 API 报错。

members.json 格式(顶层为 JSON 数组):

[
  {"member_type": "email", "member_id": "user1@example.com", "perm": "edit"},
  {"member_type": "email", "member_id": "user2@example.com", "perm": "view"}
]

转移所有权

feishu-cli perm transfer-owner <TOKEN> \
  --member-type <MEMBER_TYPE> \
  --member-id <MEMBER_ID> \
  [--notification] \
  [--remove-old-owner] \
  [--stay-put] \
  [--old-owner-perm <view|edit|full_access>]
参数默认值说明
--notificationtrue通知新所有者
--remove-old-ownerfalse移除原所有者权限
--stay-putfalse文档保留在原位置
--old-owner-permfull_access原所有者保留权限(仅 remove-old-owner=false 时生效)

权限检查

feishu-cli perm auth <TOKEN> --action <ACTION> [--doc-type <DOC_TYPE>]

可用的 action 值:view、edit、share、comment、export

查看公开权限

feishu-cli perm public-get <TOKEN>

更新公开权限

feishu-cli perm public-update <TOKEN> \
  [--external-access] \
  [--link-share-entity <anyone_readable|anyone_editable|...>]

分享密码管理

feishu-cli perm password create <TOKEN> [--doc-type <DOC_TYPE>]
feishu-cli perm password update <TOKEN> [--doc-type <DOC_TYPE>]
feishu-cli perm password delete <TOKEN> [--doc-type <DOC_TYPE>]

参数说明

perm(权限级别)

值说明使用场景
view查看权限只读分享给外部人员或大范围分享,保护文档不被误改
edit编辑权限团队协作编辑,日常最常用的权限级别
full_access完全访问权限管理员权限,包含管理协作者、文档设置、导出、查看历史版本等全部能力

member-type(协作者 ID 类型)

值别名(IM 风格)说明使用场景示例
email—邮箱最常用,精确到个人user@example.com
openidopen_idOpen ID通过开放平台获取的用户 IDou_xxx
useriduser_idUser ID企业内部用户 ID123456
unionidunion_idUnion ID跨应用统一 IDon_xxx
openchatchat_id群聊 ID按群聊授权,群内所有成员获得权限oc_xxx
opendepartmentid—部门 ID按部门授权,部门内所有成员获得权限od_xxx
groupid—群组 ID用户组gc_xxx
wikispaceid—知识空间 ID知识库空间ws_xxx

IM API 风格别名(open_id、user_id、union_id、chat_id)会自动映射为标准值,两种写法等效。

doc-type(云文档类型)

值说明
docx新版文档(默认)
doc旧版文档
sheet电子表格
bitable多维表格
wiki知识库
file文件
folder文件夹
mindnote思维笔记
minutes妙记
slides幻灯片

Token 前缀对应关系

前缀doc-type
docx_docx
doccndoc
sht_sheet
bascnbitable
wikicnwiki
fldcnfolder

示例

按邮箱添加用户为编辑者

feishu-cli perm add docx_xxxxxx \
  --doc-type docx \
  --member-type email \
  --member-id user@example.com \
  --perm edit \
  --notification

更新已有权限为完全访问

feishu-cli perm update docx_xxxxxx \
  --doc-type docx \
  --member-type email \
  --member-id user@example.com \
  --perm full_access

给群聊添加编辑权限

feishu-cli perm add sht_xxxxxx \
  --doc-type sheet \
  --member-type openchat \
  --member-id oc_xxxxxx \
  --perm edit

按部门添加查看权限

feishu-cli perm add sht_xxxxxx \
  --doc-type sheet \
  --member-type opendepartmentid \
  --member-id od_xxxxxx \
  --perm view

转移所有权并保留原所有者查看权限

feishu-cli perm transfer-owner docx_xxxxxx \
  --member-type email \
  --member-id user@example.com \
  --old-owner-perm view

设置文档为"链接可读"

feishu-cli perm public-update docx_xxxxxx \
  --external-access \
  --link-share-entity anyone_readable

创建文档后标准授权流程

# 1. 授予完全访问权限
feishu-cli perm add <TOKEN> \
  --doc-type docx \
  --member-type email \
  --member-id user@example.com \
  --perm full_access \
  --notification

# 2. 转移文档所有权
feishu-cli perm transfer-owner <TOKEN> \
  --doc-type docx \
  --member-type email \
  --member-id user@example.com \
  --notification

错误排障

错误原因解决方法
Permission denied / 权限不足App 未开通相关权限 scope在飞书开放平台 -> 权限管理中申请 docs:permission.member:create 等权限
doc-type mismatch / Token 无效doc-type 与实际文档类型不匹配检查 Token 前缀:docx_ -> docx、sht_ -> sheet、bascn -> bitable
member not foundmember-id 不存在或 member-type 不正确确认邮箱/ID 正确,注意 email 类型需要用户的飞书注册邮箱
password create: Permission denied分享密码为企业版功能确认企业是否开通此功能,或联系管理员开启
transfer-owner: no permission只有文档所有者或管理员可转移先用 perm list 确认当前 App 身份,确保是文档创建者

参考文档

perm add 命令的详细参数枚举和输入检查清单见 references/add_permission.md。

Score

0–100
57/ 100

Grade

C

Popularity17/30

709 installs — growing adoption. Source repo has 1,207 GitHub stars.

Completeness19/30

Documented: full SKILL.md body, one-line install. Missing: description, category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Feishu Cli Perm skill score badge previewScore badge

Markdown

[![Feishu Cli Perm skill](https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-perm/badges/score.svg)](https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-perm)

HTML

<a href="https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-perm"><img src="https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-perm/badges/score.svg" alt="Feishu Cli Perm skill"/></a>

Feishu Cli Perm FAQ

How do I install the Feishu Cli Perm skill?

Run “npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-perm” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Feishu Cli Perm skill do?

>- The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Feishu Cli Perm skill free?

Yes. Feishu Cli Perm is a free, open-source skill published from riba2534/feishu-cli. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Feishu Cli Perm work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Feishu Cli Perm works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

817K installsInstall
frontend-design logo

frontend-design

anthropics/skills

762K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

696K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

671K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

652K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before InstallingGuideOpenclaw Skills Complete Guide

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed