feishu-cli-platform

feishu-cli-platform is a skill for Claude Code from riba2534/feishu-cli. It costs 228 tokens per session (1,300 once invoked), scanned A, original, MIT.

A Feishu command-line skill for account setup, login, tokens, API discovery, search, and user or department lookup. An API is a programmed way to access a service.

In plain words
What is it for?
Use it to sign in, diagnose configuration, check permissions, inspect API schemas, call unsupported endpoints, search Feishu content, and find users or departments.
Why use it?
It helps identify the correct Feishu account and interface before making requests, while keeping tokens and write operations controlled.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(feishu-cli:*) Bash(./feishu-cli:*) Bash(./bin/feishu-cli:*) Bash(jq:*) Read Write.

Good fit Use it to sign in, diagnose configuration, check permissions, inspect API schemas, call unsupported endpoints, search Feishu content, and find users or departments.

Compare 6 skills from other repositories ↓
About the project

feishu-cli is a command-line tool for controlling the Feishu collaboration platform, including documents, knowledge bases, spreadsheets, messages, calendars, and tasks. People and AI coding agents use it to manage Feishu through commands, with particular support for converting Markdown to Feishu documents and back. Its catalogue skills provide ready-made AI-agent workflows for these operations.

riba2534/feishu-cli · 1,425 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/riba2534/feishu-cli
agentmods
npx agentmods add skills/riba2534/feishu-cli/feishu-cli-platform

Made for: Claude Code.

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-cli-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-platform/github.svg)](https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-platform)
Your own site
<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-platform"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-platform/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-cli-platform

Your own site · 80×15
<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-platform"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 228 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,300 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.00228 $0.01300
Opus 5.5 $0.00091 $0.00520
Sonnet 5.5 $0.00046 $0.00260
Haiku 4.5 $0.00023 $0.00130

Measured 15d ago against content hash c1300f989e8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feishu-cli-platform 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 15d 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.

skills/feishu-cli-platform/SKILL.md · 51 lines

How it starts

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

飞书平台能力

先判断意图,再读取对应工作流。不要一次加载全部 reference。 加载后,将工作流中的 references/、scripts/、templates/、examples/ 相对路径按该 workflow.md 所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。

路由

意图 读取文件
登录、登出、scope 预检、应用已开通 scope 诊断(auth scopes)、Token、profile、config、doctor、技能安装/漂移(skills)、CLI 升级(update) references/workflows/auth/workflow.md
调任意 OpenAPI、--as、分页和 dry-run references/workflows/api/workflow.md
查询本地 OpenAPI path、参数和 scope references/workflows/schema/workflow.md
全局搜索文档(含 drive search 按文件夹/知识库/创建者精筛)、消息或应用 references/workflows/search/workflow.md
查询用户、邮箱、手机号、部门,搜索机器人(user search-bot) references/workflows/directory/workflow.md

涉及身份选择,或遇到 Token、身份、scope 报错(如 99991663/99991668/99991672/99991679)时读取 references/workflows/auth/references/identity.md,排错表见 references/workflows/auth/workflow.md;auth check 不是 Bot 权限检查。 判断命令成败、编写脚本或遇到退出码 10(需确认)时读取 references/workflows/auth/references/agent-contract.md。

Schema 只负责发现接口;API 负责执行请求。通常先查 schema,再调用 api。

执行规则

  1. 仓库开发优先使用刚编译的 bin/feishu-cli(make build)或 ./feishu-cli;安装环境使用 PATH 中的 feishu-cli。技能与 CLI 版本不一致时(命令或 flag 对不上),以 --help 为准,并用 feishu-cli skills read <技能> <相对路径> 读取与当前二进制配套的文档;每个命令 --help 末尾会列出相关技能与工作流。
  2. 先确定执行身份。auth check --scope 只检查当前 profile 的本地 User Token,不能验证 Bot 权限或显式 Token;应用侧是否开通(区分 99991672 应用未开通与 99991679 用户未授权)用 auth scopes --scope,Bot 能否访问具体资源以实际接口结果为准。不要回显真实 Token。
  3. 多 Bot / 不确定当前应用时先 profile list --json;单次用 --profile <name>,不改默认指针。环境变量覆盖了目标 App 时,沿用已有授权在本次进程移除对应覆盖,或用 --bot-app-id/--bot-app-secret 指定正确凭证,不修改用户全局环境。
  4. api 的所有写请求均可先用 CLI 本地 --dry-run 预览;预览不代表服务端接受。其他命令按各自帮助选择验证方式。
  5. 搜索与通讯录结果默认只读取;用户要求后续写操作时再切换到对应领域 Skill。
  6. 退出码、确认门禁(退出码 10 须经用户同意才追加 --yes)、stdout/stderr 约定与目标实体解析见 references/workflows/auth/references/agent-contract.md。

领域边界

  • 文档读写与导入导出:feishu-cli-docs
  • 云盘、知识库、评论和权限:feishu-cli-storage
  • 消息、群聊、卡片和事件:feishu-cli-messaging
  • Sheet/Bitable:feishu-cli-data
  • 画板、Slides、HTMLBox 与妙搭应用:feishu-cli-visual
  • 日历、任务、审批、考勤和 OKR:feishu-cli-work
  • 飞书邮箱:feishu-cli-mail
  • 视频会议与妙记:feishu-cli-meetings

Read the full file on GitHub · 51 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. 15d ago Changed · -1 lines · -50 tokens per session c1300f989e8d
  2. 1mo ago Changed · +1 lines · +2 tokens per session d5c2123fb491
  3. 1mo ago First seen · 51 lines · 276 tokens per session scan A e0362b29e188

Subscribe to this mod's changes

feishu-cli-platform is a skill published in the GitHub repository riba2534/feishu-cli (1,425 stars, last pushed 15d ago), licensed MIT. It adds 228 tokens to every session and 1,300 once invoked, about $0.0009 per session on Opus 5.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.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

agui-dotnet-protobuf

Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…

ag-ui-protocol/ag-ui · 162 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

fastapi-router-py

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

microsoft/skills · 46 tokens

dev-runtime

How the Node side of a dev stack runs without haven, and the backend host: pnpm dev (UI built once, backend reloading), pnpm dev:hmr (adds the Vite ui lane), tools/dev-runtime (api + worker in one Node process), backend reload on a file change, the debounce (quiet window + max wait), ports derived from PORT. Use when…

langwatch/langwatch · 172 tokens

migrate-segw-to-rap

Reverse-engineer a SEGW-built OData V2 service (MPC/DPC/MPCEXT/DPCEXT) into a modern RAP V4 service — tables, CDS views (interface + projection), behavior definitions, draft entities, service definition + binding. Use when asked to "migrate this SEGW service to RAP", "convert OData V2 to V4 RAP", "modernize this…

arc-mcp/arc-1 · 106 tokens