lark-base

Manage Lark Base tables, fields, records, views, dashboards, and app-mode pages via lark-cli.

Updated May 28, 2026
One-click install
npx skills add https://github.com/changfengpro/agent-skills --skill lark-base-changfengpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-base
Source: https://github.com/changfengpro/agent-skills/tree/main/skills/lark-base
Command: npx skills add https://github.com/changfengpro/agent-skills --skill lark-base-changfengpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) components.

What problem does it solve? Operating Feishu (Lark) Bitable through raw APIs is error-prone: tokens get confused, field JSON is complex, and formulas, lookups, dashboards, workflows, and app-mode pages each have their own protocols. This Skill routes every Base operation through the correct lark-cli shortcut with the right tokens, references, and safety gates. ## Core Features & Use Cases - Full Base CRUD: Create, copy, and inspect Bases; manage tables, fields, records, views, forms, and attachments with validated JSON payloads. - Analytics & Visualization: Query and analyze records via a jq/Python/Cloud SOP, build formula and lookup fields, and configure dashboard charts with data_config templates. - App Mode & Governance: Manage BaseApp pages and blocks, Workspace directories, workflows, and advanced permission roles. - Use Case: A user pastes a /base/ link and asks to add a formula field summing order amounts per customer; the Skill resolves the URL, reads the table schema, follows the formula guide, and creates the field safely. ## Quick Start Ask the assistant to create a new Lark Base table with specified fields, or paste a Base URL and request an operation such as listing records or adding a chart to a dashboard.

Frequently Asked Questions about lark-base

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a table in Lark Base with lark-cli?

Use lark-cli base +table-create with --fields to define the schema in one call, or +base-create with --table-name and --fields for a new Base. Field JSON structure must follow the lark-base-field-json reference; do not guess field properties.

How do I write records to a Feishu Bitable from the command line?

Use +record-upsert, +record-batch-create, or +record-batch-update with JSON keyed by field name or ID. First run +field-list to confirm field types, then build CellValues per the cell-value reference: arrays for select, objects with id for user and link fields.

Should I use a formula field or a lookup field in Lark Base?

Use formula by default; it is a strict superset of lookup and handles cross-table references, aggregations, and computed values with FILTER expressions. Only use lookup when the user explicitly requests it, and read the corresponding guide before creating either type.

Can lark-cli copy a BaseApp or duplicate an app-mode page?

No. BaseApp copy, page copy, and page icons are not supported in the current CLI. The Skill explicitly stops on these requests rather than faking them with +app-page-create; only creating a new empty page is possible after explicit user request.

Why does my Lark Base command fail with an invalid base_token error?

The error usually means a wiki token, workspace token, or full URL was passed as --base-token. Resolve the real token first with lark-cli base +url-resolve for URLs or +title-resolve for title keywords before running data commands.

What are the limitations of dashboard block configuration in lark-cli?

The CLI cannot set exact block position or size (x/y/w/h); +dashboard-arrange only performs server-side smart layout. UI-only settings like view row height, frozen columns, and column widths are also unsupported by Base CLI and OpenAPI.