feishu-cli-platform

feishu-cli-platform is a skill for Claude Code, Codex from riba2534/feishu-cli. It costs 276 tokens per session (875 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 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/riba2534/feishu-cli/feishu-cli-platform
Any agent
npx skills add riba2534/feishu-cli --skill feishu-cli-platform
Clone the repo
git clone --depth 1 https://github.com/riba2534/feishu-cli

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-platform.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 276 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00276 $0.00875
Opus 5 $0.00138 $0.00438
Sonnet 5 $0.00055 $0.00175
Haiku 4.5 $0.00028 $0.00088

Measured 3d ago against content hash e0362b29e188, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

feishu-cli-platform scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(feishu-cli:*), Bash(./feishu-cli:*), Bash(jq:*), Bash(curl:*), Bash(python3:*), Read, Write
skills/feishu-cli-platform/SKILL.md · 51 lines

What it actually says

飞书平台能力

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

路由

意图 读取文件
登录、登出、scope 预检、Token、profile、config、doctor references/workflows/auth/workflow.md
调任意 OpenAPI、--as、分页和 dry-run references/workflows/api/workflow.md
查询本地 OpenAPI path、参数和 scope references/workflows/schema/workflow.md
搜索文档、消息或应用 references/workflows/search/workflow.md
查询用户、邮箱、手机号、部门 references/workflows/directory/workflow.md

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

执行规则

  1. 优先运行仓库当前编译产物 ./feishu-cli;安装环境才使用 PATH 中的 feishu-cli
  2. User Token 操作先执行 auth check --scope。不要在输出、文件或命令历史中暴露真实 Token。
  3. 多 Bot / 不确定当前是哪个应用时,先 profile list --json;单次目录/Token 选择用 --profile <name>,不要为一条命令去 profile use。若 env_overrides.app_id/app_secret=true,环境变量仍覆盖 App 凭证,需先提示用户 unset 对应变量。
  4. 写请求先用 --dry-run;API 不支持 dry-run 的端点需明确告知用户副作用。
  5. 搜索与通讯录结果默认只读取;用户要求后续写操作时再切换到对应领域 Skill。

领域边界

  • 文档读写与导入导出:feishu-cli-docs
  • 云盘、知识库、评论和权限:feishu-cli-storage
  • 消息、群聊、卡片和事件:feishu-cli-messaging
  • Sheet/Bitable:feishu-cli-data
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. 3d 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,378 stars, last pushed 6d ago), licensed MIT. It adds 276 tokens to every session and 875 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens