← Back to Skills Marketplace
ramlee77

Feishu Bitable Data Sync

by ramlee77 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
165
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-bitable-sync
Description
Feishu Bitable Data Sync - Sync data between multiple bitables or external sources. **Features**: - Sync data between two bitables - Import data from externa...
README (SKILL.md)

Feishu Bitable Data Sync

⚠️ Pre-requisites

  • Get app_token: From bitable URL or list API
  • Get table_id: From bitable table list
  • Field types: Must match exactly (text=1, number=2, date=5, person=11, etc.)

📋 Quick Reference

Intent Tool action Required Params
List bitables feishu_bitable_app list -
List tables feishu_bitable_app_table list app_token
Query records feishu_bitable_app_table_record list app_token, table_id
Create records feishu_bitable_app_table_record batch_create app_token, table_id, records
Update records feishu_bitable_app_table_record batch_update app_token, table_id, records
Delete records feishu_bitable_app_table_record batch_delete app_token, table_id, record_ids

🛠️ Sync Patterns

1. One-way Sync (Source → Destination)

// Step 1: Read source data
{
  "action": "list",
  "app_token": "source_token",
  "table_id": "source_table",
  "page_size": 500
}

// Step 2: Transform and write to destination
{
  "action": "batch_create",
  "app_token": "dest_token", 
  "table_id": "dest_table",
  "records": [
    {"fields": {"字段A": "值1", "字段B": "值2"}}
  ]
}

2. Two-way Sync with Conflict Resolution

Compare records by unique identifier and handle conflicts:

// Pseudo-code for sync:
// 1. Fetch both bitables
// 2. Compare by unique field (如: 任务ID)
// 3. If source is newer: update dest
// 4. If dest is newer: update source (or skip)
// 5. Report sync results

{
  "action": "list",
  "app_token": "token",
  "table_id": "table",
  "filter": {
    "conjunction": "and",
    "conditions": [{"field_name": "同步状态", "operator": "is", "value": ["未同步"]}]
  }
}

3. Import from CSV

Convert CSV to bitable records:

任务名称,负责人,截止日期,优先级
任务A,张三,2026-04-01,高
任务B,李四,2026-04-02,中
{
  "action": "batch_create",
  "app_token": "Mxxx",
  "table_id": "Txxx",
  "records": [
    {"fields": {"任务名称": "任务A", "负责人": [{"id": "ou_xxx"}], "截止日期": 1743446400000, "优先级": "高"}},
    {"fields": {"任务名称": "任务B", "负责人": [{"id": "ou_yyy"}], "截止日期": 1743532800000, "优先级": "中"}}
  ]
}

4. Scheduled Sync Marker

Use a special field to track sync status:

唯一标识 数据 同步时间 同步状态
TASK_001 {...} 1743446400000 已同步
{
  "action": "batch_update",
  "app_token": "Mxxx",
  "table_id": "Txxx",
  "records": [
    {"record_id": "rec_xxx", "fields": {"同步状态": "已同步", "同步时间": 1743446400000}}
  ]
}

💰 Pricing

Version Price Features
Free ¥0 Manual sync, up to 100 records
Pro ¥15/month Auto sync, 500 records, conflict resolution
Team ¥45/month Scheduled sync, API, unlimited

📝 Example

User says: "把A表格的任务同步到B表格,只同步未完成的任务"

Execute:

  1. List records from source with filter for 未完成
  2. Transform records to match destination schema
  3. Batch create or update destination records
  4. Mark source records as 已同步

🔧 Field Type Reference

Type ID Field Type
1 Text
2 Number
3 Single Select
4 Multi Select
5 Date
7 Checkbox
11 Person
13 Phone
15 URL
17 Attachment
1001 Created Time
1002 Modified Time
Usage Guidance
This skill is a descriptive guide for syncing Feishu Bitable data and appears coherent. Before using it: (1) Confirm your agent environment provides the Feishu connector tools referenced (feishu_bitable_app*). (2) Provide app_token and table_id only when needed and ensure tokens have least-privilege scopes (read/write limited to the relevant tables). (3) Test syncs on a sample/staging table first and back up data before running batch updates/deletes. (4) Verify how tokens will be stored or passed to the agent (avoid embedding long-lived credentials in chat history). (5) Check the conflict-resolution logic and mappings (field types and person IDs) to avoid accidental data corruption. If you need the skill to run autonomously, restrict the token permissions and set clear safeguards (dry-run, limits, confirmation prompts).
Capability Analysis
Type: OpenClaw Skill Name: feishu-bitable-sync Version: 1.0.0 The skill bundle provides standard instructions and patterns for synchronizing data between Feishu (Lark) Bitables. The documentation in SKILL.md outlines legitimate API interactions for record management (listing, creating, and updating) and includes a field type reference consistent with Feishu's official API. No evidence of data exfiltration, unauthorized execution, or malicious prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description match the runtime instructions (list, query, batch_create/update/delete, conflict resolution, CSV import). All referenced capabilities are Feishu Bitable operations; there are no unrelated environment variables or binaries requested.
Instruction Scope
SKILL.md stays focused on Feishu Bitable actions and sync patterns. It assumes the presence of platform connector tools (feishu_bitable_app, feishu_bitable_app_table, feishu_bitable_app_table_record) and that the agent will be given app_token and table_id inputs; it does not instruct reading arbitrary local files or unrelated env vars. The doc shows CSV import examples but does not include explicit instructions for securely obtaining or storing tokens.
Install Mechanism
No install spec and no code files — this is instruction-only, which minimizes risk from downloads or executed installers.
Credentials
The skill does not declare required environment variables, but the instructions require Feishu app_token values and table/record identifiers to operate. That is proportional to its purpose, but the SKILL.md does not describe how tokens are supplied to the agent or stored, so operators should confirm token handling and scope.
Persistence & Privilege
always:false (default) and user-invocable:true — the skill does not request forced or persistent inclusion. It also does not attempt to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-bitable-sync
  3. After installation, invoke the skill by name or use /feishu-bitable-sync
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
First release: Sync data between bitables
Metadata
Slug feishu-bitable-sync
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Feishu Bitable Data Sync?

Feishu Bitable Data Sync - Sync data between multiple bitables or external sources. **Features**: - Sync data between two bitables - Import data from externa... It is an AI Agent Skill for Claude Code / OpenClaw, with 165 downloads so far.

How do I install Feishu Bitable Data Sync?

Run "/install feishu-bitable-sync" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu Bitable Data Sync free?

Yes, Feishu Bitable Data Sync is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu Bitable Data Sync support?

Feishu Bitable Data Sync is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu Bitable Data Sync?

It is built and maintained by ramlee77 (@ramlee77); the current version is v1.0.0.

💬 Comments