feishu-perm

feishu-perm is a skill for Claude Code, Codex from m1heng/clawdbot-feishu. It costs 24 tokens per session (578 once invoked), scanned A, original, MIT.

A Feishu permission-management tool for documents, spreadsheets, folders, files, wikis, and other shared resources. Feishu is a collaboration platform with shared workspaces and files.

In plain words
What is it for?
Use it to list collaborators, grant or revoke access, and set view or edit permissions using email addresses or Feishu member identifiers.
Why use it?
It lets an agent inspect or change who can access a shared resource without manually navigating permission settings. Supported actions include listing, adding, and removing collaborators.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list collaborators, grant or revoke access, and set view or edit permissions using email addresses or Feishu member identifiers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/m1heng/clawdbot-feishu/feishu-perm
About the project

clawd-feishu is a channel plugin that connects OpenClaw to Feishu/Lark, a collaboration and messaging platform. OpenClaw users use it to interact with the agent through Feishu or Lark.

m1heng/clawdbot-feishu · 4,243 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add m1heng/clawdbot-feishu --skill feishu-perm
Clone the repo
git clone --depth 1 https://github.com/m1heng/clawdbot-feishu

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feishu-perm

README.md
[![agentmods](https://agentmods.dev/badge/skills/m1heng/clawdbot-feishu/feishu-perm/github.svg)](https://agentmods.dev/skills/m1heng/clawdbot-feishu/feishu-perm)
Your own site
<a href="https://agentmods.dev/skills/m1heng/clawdbot-feishu/feishu-perm"><img src="https://agentmods.dev/badge/skills/m1heng/clawdbot-feishu/feishu-perm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feishu-perm

Your own site · 80×15
<a href="https://agentmods.dev/skills/m1heng/clawdbot-feishu/feishu-perm"><img src="https://agentmods.dev/badge/skills/m1heng/clawdbot-feishu/feishu-perm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00578
Opus 5 $0.00012 $0.00289
Sonnet 5 $0.00005 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 12d ago against content hash 80f5cf103dd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

feishu-perm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

skills/feishu-perm/SKILL.md · 91 lines

What it actually says

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

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

Member Types

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

Permission Levels

Perm Description
view View only
edit Can edit
full_access Full 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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 91 lines · 24 tokens per session scan A 80f5cf103dd6

Subscribe to this mod's changes

feishu-perm is a skill published in the GitHub repository m1heng/clawdbot-feishu (4,243 stars, last pushed 5mo ago), licensed MIT. It adds 24 tokens to every session and 578 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.