feishu-cli-data

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

A Feishu tool for working with ordinary spreadsheets and Bitable databases. Bitable is Feishu's database-style workspace for storing records in tables, views and forms.

In plain words
What is it for?
Reading and editing cells, importing or exporting sheets, changing spreadsheet styles and filters, and managing Bitable tables, fields, records, views, forms, workflows and aggregations.
Why use it?
It separates spreadsheet and database operations from document, messaging and permission tasks, reducing the risk of using the wrong workflow.

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 Reading and editing cells, importing or exporting sheets, changing spreadsheet styles and filters, and managing Bitable tables, fields, records, views, forms, workflows and aggregations.

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-data

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-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-data/github.svg)](https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-data)
Your own site
<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.

agentmods 80×15 button for feishu-cli-data

Your own site · 80×15
<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>
Per session 238 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,295 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.00238 $0.01295
Opus 5.5 $0.00095 $0.00518
Sonnet 5.5 $0.00048 $0.00259
Haiku 4.5 $0.00024 $0.00129

Measured 15d ago against content hash 3b9ba0b61d30, 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-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.

skills/feishu-cli-data/SKILL.md · 41 lines

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

执行规则

  1. /wiki/ 链接或类型不明的 token 先 drive inspect --url 解析;Bitable 链接用 bitable resolve(?table= 不一定是数据表, /record/、表单分享链接也不能直接拆)。/sheets/ 是 Sheet,/base/ 是 Bitable。
  2. 表格参数与 --base-token 都可直接传链接(含 /spreadsheets/、知识库 /wiki/)。
  3. 身份:Sheet 不传 --as 时 User 优先、不可用时告警后回退 Bot;Bitable 默认 --as auto。cron / 无人值守显式 --as bot; --as bot 报 91403 是 Bot 不是协作者,按工作流把 Bot 加为协作者,不要反复换 token。
  4. Sheet 范围前缀可写 sheetId 或子表名(Sheet1!A1);多子表时必须带前缀或 --sheet-id/--sheet-name。行列命令 --range "3:5" 是 1 起始两端包含,--start/--end 是 0 起始且不含 end;删除行列/子表前先 --dry-run 核对实际行号。
  5. 长 ID、前导零编码写成 JSON 字符串(超过约 15 位的数字会被舍入);table-put 数字列 dtype 用 int64 / float64(number 不合法,会按文本写入)。 sheet find/replace 必须带 --range。
  6. Bitable 写入用 base/v3 结构:字段 JSON 顶层 type,不要包 field / property;record batch-create 用 create_records 或 fields+rows,不是 v1 的 records。写前先用少量记录验证字段类型与选项。
  7. 布尔 flag 写 --flag 或 --flag=false,不要写 --flag false(会被当成 true)。删除表/字段/记录/视图没有确认门禁、 执行即生效;form field delete 默认连字段和整列数据一起删,只移除题目时用 --keep-field。
  8. 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。

Read the full file on GitHub · 41 lines

Files

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.

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 · +6 lines · +35 tokens per session 3b9ba0b61d30
  2. 1mo ago Changed · +7 tokens per session 452cf68fd608
  3. 1mo ago First seen · 35 lines · 196 tokens per session scan A 4124543d27c1

Subscribe to this mod's changes

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.