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.
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.
git clone --depth 1 https://github.com/riba2534/feishu-clinpx agentmods add skills/riba2534/feishu-cli/feishu-cli-dataWrote 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.
[](https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-data)<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-data"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-data/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.
<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-data"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00238 | $0.01295 |
| Opus 5.5 | $0.00095 | $0.00518 |
| Sonnet 5.5 | $0.00048 | $0.00259 |
| Haiku 4.5 | $0.00024 | $0.00129 |
Grade A, and why
feishu-cli-data 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.
How it starts
The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
飞书表格与多维表格
加载工作流后,将其中 references/、scripts/、templates/、examples/ 相对路径按该
workflow.md 所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。
路由
| 意图 | 读取文件 |
|---|---|
| Sheet 筛选视图与条件、下拉菜单、浮动图片 / 单元格图片、批量样式,以及全部 sheet 命令的决策要点 | references/workflows/sheet/workflow.md |
Sheet 创建与元信息、读写追加、table-get / table-put 类型保真、行列与子表管理、查找替换、筛选、保护、Markdown 互转 |
references/workflows/sheet/workflow.md,再读 references/workflows/sheet/references/basic-commands.md |
| Bitable/Base 链接解析(resolve、block)、表、字段、记录(含附件、批量、分页)、视图与视图配置、data-query | references/workflows/bitable/workflow.md |
| Bitable 角色与协作者、高级权限、工作流、仪表盘与图表块、表单与分享 | references/workflows/bitable/workflow.md |
执行规则
/wiki/链接或类型不明的 token 先drive inspect --url解析;Bitable 链接用bitable resolve(?table=不一定是数据表,/record/、表单分享链接也不能直接拆)。/sheets/是 Sheet,/base/是 Bitable。- 表格参数与
--base-token都可直接传链接(含/spreadsheets/、知识库/wiki/)。 - 身份:Sheet 不传
--as时 User 优先、不可用时告警后回退 Bot;Bitable 默认--as auto。cron / 无人值守显式--as bot;--as bot报 91403 是 Bot 不是协作者,按工作流把 Bot 加为协作者,不要反复换 token。 - Sheet 范围前缀可写 sheetId 或子表名(
Sheet1!A1);多子表时必须带前缀或--sheet-id/--sheet-name。行列命令--range "3:5"是 1 起始两端包含,--start/--end是 0 起始且不含 end;删除行列/子表前先--dry-run核对实际行号。 - 长 ID、前导零编码写成 JSON 字符串(超过约 15 位的数字会被舍入);
table-put数字列 dtype 用int64/float64(number不合法,会按文本写入)。sheet find/replace必须带--range。 - Bitable 写入用 base/v3 结构:字段 JSON 顶层
type,不要包field/property;record batch-create用create_records或fields+rows,不是 v1 的records。写前先用少量记录验证字段类型与选项。 - 布尔 flag 写
--flag或--flag=false,不要写--flag false(会被当成 true)。删除表/字段/记录/视图没有确认门禁、 执行即生效;form field delete默认连字段和整列数据一起删,只移除题目时用--keep-field。 - Sheet 单元格图片用
sheet image write-image(单张)/write-batch(批量),不要用=IMAGE()公式或 Markdown 图片语法。
删除、覆盖类命令返回退出码 10 时,向用户确认目标与影响后追加全局 --yes 重跑,不要自行添加。身份或 scope 报错(如 99991663/99991668/99991672/99991679)读取 ../feishu-cli-platform/references/workflows/auth/references/identity.md;判断成败、编写脚本或处理确认门禁读取 ../feishu-cli-platform/references/workflows/auth/references/agent-contract.md。
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 15d ago Changed · +6 lines · +35 tokens per session 3b9ba0b61d30
- 1mo ago Changed · +7 tokens per session 452cf68fd608
- 1mo ago First seen · 35 lines · 196 tokens per session scan A 4124543d27c1
feishu-cli-data is a skill published in the GitHub repository riba2534/feishu-cli (1,425 stars, last pushed 15d ago), licensed MIT. It adds 238 tokens to every session and 1,295 once invoked, about $0.0010 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.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
gog
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…