Community编程与开发github.com

飞书权限管理

用于检查或修改飞书文档的协作者与权限设置。当用户明确要求查看或更改分享、权限或协作者时激活。

飞书权限管理 是什么?

该技能通过单一工具 `feishu_perm` 管理飞书(Feishu)文档的协作者与权限,主要适用于飞书平台(如文档、表格等)。其核心价值在于提供安全、最小权限原则的协作操作流程:在添加协作者时自动选择最低必要权限,移除协作者前要求明确确认,并在每次变更前自动检查当前权限状态。技能默认处于禁用状态(需在配置中启用 `channels.feishu.tools.perm`),以防止意外修改用户数据。工作流程遵循严格的步骤:首先解析文件 token 和类型,然后通过 list 命令审查当前协作者,再进行增删操作,最后报告变更结果。特别强调不能仅凭显示名称推断邮箱、用户 ID、部门或群组,所有操作必须基于准确的标识符。技能文档明确列出了支持的文件类型(doc、sheet、mindnote、file、folder 等)和成员类型(user、chat、department),并详细说明了五种权限级别(view、edit、share、full_access、comment)及其含义。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/feishu/skills/feishu-perm

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

飞书权限管理 是做什么的?

使用单一工具 feishu_perm 及其当前的 action schema。此工具默认处于禁用状态,因为它会更改用户数据的访问权限;如果工具不可用,请说明必须启用 channels.feishu.tools.perm。

工作流程

  1. 解析确切的文件 token 和类型。
  2. 在更改访问权限之前,先使用 list 检查当前协作者。
  3. 对于 add 操作,解析协作者的确切标识符,并选择能满足请求的最小权限。
  4. 对于 remove 操作,当请求模糊或范围较广时,确认确切的协作者和文件。
  5. 报告最终的权限变更结果,不暴露无关的协作者数据。

切勿仅凭显示名称推断邮箱、用户 ID、部门或群组。请遵循当前 schema 中支持的成员类型、token 类型和权限级别。

支持的 token 类型

类型描述
doc飞书文档
sheet飞书电子表格
mindnote飞书思维导图
file飞书文件
folder飞书文件夹
wiki飞书知识库
bitable飞书多维表格
docx飞书新版文档

支持的成员类型

类型描述
user单个用户
chat飞书群组
department飞书部门

权限级别

级别说明
view只读
edit可编辑
share可分享
full_access完全访问
comment仅可评论

注意事项

  • full_access 权限级别允许协作者管理文件权限本身。
  • 添加协作者时,始终选择最小权限以满足请求。
  • 移除协作者时,如果请求不明确,请先与用户确认。
  • 报告结果时,仅显示变更涉及的信息,不暴露无关协作者数据。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能