New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Feishu Bitable operations for records, fields, tables, views, permissions, formulas, and links via API.

skills.sh installs
865
GitHub stars
64
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers record CRUD with batch create, update, delete, and paginated search up to 500 records per call
  • Includes field management for 17 field types with write formats, plus formula and link field examples
  • Enforces the rule that tables created via API are visible only to the bot until a user is added as collaborator
  • Designed for agents that automate Feishu multidimensional tables and need exact field payload formats

Install

$ npx -y skills add alextangson/feishu_skills --skill feishu-bitable -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

飞书多维表格

通过 Bitable API 操作数据、字段、视图和权限。

Base URL: https://open.feishu.cn/open-apis/bitable/v1

认证与 Token 获取

从 feishu_skills 根目录执行共享脚本:

TOKEN="$(./scripts/get_feishu_token.sh)"

请求头统一使用 Authorization: Bearer ${TOKEN}。

如果业务接口返回 token 无效、过期或 401,强制刷新后仅重试一次原请求:

TOKEN="$(./scripts/get_feishu_token.sh --force-refresh)"

环境变量:

  • FEISHU_APP_ID
  • FEISHU_APP_SECRET

本地缓存: ./.feishu_token_cache.json(未过期直接复用,默认提前 5 分钟刷新)

关键参数:

  • app_token: 多维表格 URL 中 /base/ 后的字符串
  • table_id: 调用列表 API 获取

记录操作

API端点说明
新增单条POST /apps/{app_token}/tables/{table_id}/records-
批量新增POST .../records/batch_create最多 500 条,支持 Upsert
更新PUT .../records/{record_id}-
批量更新POST .../records/batch_update最多 500 条
批量删除POST .../records/batch_delete最多 500 条
查询POST .../records/search支持 filter/sort/分页

Details

Repository
github.com/alextangson/feishu_skills
Categories
Productivity & Notes, Databases, Workflow Automation
First seen
Apr 16, 2026

More from alextangson/feishu_skills

All 3

Similar to Feishu Bitable

More Productivity & Notes