feishu-perm

feishu-perm is a skill for Claude Code, Codex from OPPO-Mente-Lab/X-OmniClaw. It costs 24 tokens per session (770 once invoked), scanned A, original, Apache-2.0.

A Feishu tool for managing who can access documents, spreadsheets, folders, files, wikis, mind maps, and other Feishu resources.

In plain words
What is it for?
Use it to list collaborators, give users or groups viewing or editing access, and remove access from Feishu resources.
Why use it?
It removes the need to change sharing settings manually when checking or updating access. It can show collaborators, add them, or remove them with specific permission levels.

Skill for Claude CodeCodex

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

Good fit Use it to list collaborators, give users or groups viewing or editing access, and remove access from Feishu resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oppo-mente-lab/x-omniclaw/feishu-perm
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 OPPO-Mente-Lab/X-OmniClaw --skill feishu-perm
Clone the repo
git clone --depth 1 https://github.com/OPPO-Mente-Lab/X-OmniClaw

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/oppo-mente-lab/x-omniclaw/feishu-perm/github.svg)](https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/feishu-perm)
Your own site
<a href="https://agentmods.dev/skills/oppo-mente-lab/x-omniclaw/feishu-perm"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/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/oppo-mente-lab/x-omniclaw/feishu-perm"><img src="https://agentmods.dev/badge/skills/oppo-mente-lab/x-omniclaw/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 770 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.
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.00770
Opus 5 $0.00012 $0.00385
Sonnet 5 $0.00005 $0.00154
Haiku 4.5 $0.00002 $0.00077

Measured 12d ago against content hash 3c614d8c69d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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.

extensions/feishu/skills/feishu-perm/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

Read the full file on GitHub · 138 lines

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 · 138 lines · 24 tokens per session scan A 3c614d8c69d1

Subscribe to this mod's changes

feishu-perm is a skill published in the GitHub repository OPPO-Mente-Lab/X-OmniClaw (261 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 770 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.