feishu-perm

A Feishu permission-management skill for documents, files, folders, spreadsheets, wikis, and related items. Feishu is a collaboration platform, and the skill can manage who may access an item.

In plain words
What is it for?
Viewing collaborators, granting access such as edit or view permission, and removing collaborators using an item token and member identifier.
Why use it?
It avoids handling sharing changes manually by allowing collaborators and their access levels to be listed, added, or removed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/apiliumcode/mayros/feishu-perm
Any agent
npx skills add ApiliumCode/mayros --skill feishu-perm
Clone the repo
git clone --depth 1 https://github.com/ApiliumCode/mayros

Made for: Claude Code, Codex.

Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 638 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00024 $0.00638
Opus 5 $0.00012 $0.00319
Sonnet 5 $0.00005 $0.00128
Haiku 4.5 $0.00002 $0.00064

Measured 2d ago against content hash db64b7c5ccb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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

This is a copy

100% identical to feishu-perm — 81 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

The opening of the file, as written. The whole thing — 120 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:

{
  "action": "add",
  "token": "fldcnXXX",
  "type": "folder",
  "member_type": "openchat",
  "member_id": "oc_xxx",
  "perm": "view"
}

Read the full file on GitHub · 120 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. 2d ago First seen · 120 lines · 24 tokens per session scan A db64b7c5ccb4

Subscribe to this mod's changes

feishu-perm is a skill published in the GitHub repository ApiliumCode/mayros (12 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 638 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to feishu-perm, differing in 81 lines, and is treated as a copy.