lark-base

lark-base is a skill for Claude Code, Codex from larksuite/cli. It costs 131 tokens per session (6,511 once invoked), scanned A, original, MIT.

A toolkit for working with Feishu Base, a database-like workspace for tables, records, views, forms, dashboards, workflows, and permissions. BaseApp is a separate app-style interface for presenting Base data.

In plain words
What is it for?
Use it to create and manage tables, fields, records, views, formulas, forms, dashboards, workflows, templates, app pages, workspaces, and access roles.
Why use it?
It helps you locate the right Base or table and manage both its data and the surrounding structure without confusing tables, apps, dashboards, or workflows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and manage tables, fields, records, views, formulas, forms, dashboards, workflows, templates, app pages, workspaces, and access roles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/larksuite/cli/lark-base
About the project

Lark CLI is a command-line tool for using Lark/Feishu services such as messaging, documents, spreadsheets, calendars, mail, tasks, and meetings. It is intended for people and AI agents that need to work with these business tools through terminal commands.

larksuite/cli · 18,248 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add larksuite/cli --skill lark-base
Clone the repo
git clone --depth 1 https://github.com/larksuite/cli

Made for: Claude Code, Codex.

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 lark-base

README.md
[![agentmods](https://agentmods.dev/badge/skills/larksuite/cli/lark-base/github.svg)](https://agentmods.dev/skills/larksuite/cli/lark-base)
Your own site
<a href="https://agentmods.dev/skills/larksuite/cli/lark-base"><img src="https://agentmods.dev/badge/skills/larksuite/cli/lark-base/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 lark-base

Your own site · 80×15
<a href="https://agentmods.dev/skills/larksuite/cli/lark-base"><img src="https://agentmods.dev/badge/skills/larksuite/cli/lark-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,511 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
  • Socket pass 10 Oct 2026
  • Snyk warn 10 Oct 2026
  • 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.00131 $0.06511
Opus 5.5 $0.00052 $0.02604
Sonnet 5.5 $0.00026 $0.01302
Haiku 4.5 $0.00013 $0.00651

Measured 1mo ago against content hash b97ce3d47565, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lark-base 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • lark-base — 86% identical, 14 lines differ
skills/lark-base/SKILL.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Base

普通 Base 是数据容器,由一棵 Base Block 资源树和 Base 级配置组成。folder、table、docx、dashboard、workflow 都是 Block 类型;Advanced Permission / Role 是 Base 级配置,不属于 Block。Table 是其中承载业务数据的核心 Block。Workspace 是组织 Base 与 BaseApp 的外层容器;BaseApp(AppMode)通过 Page 和组件组织 Base 数据,不是 Base 的别名。

身份选择(优先)

操作 Base 优先使用 --as user;用户明确要求应用身份时使用 --as bot。权限失败按 lark-shared 以原身份修复 scope 或资源 ACL;只有用户明确同意更换操作者时才切换身份。

进入前必做:解析目标实体

开始操作前先确定 base_token 和目标实体类型;上下文已提供 <bitable> / <base_refer> 标签及资源 ID 时直接使用。其余情况按意图选择入口:

  1. URL 或分享链接: lark-cli base +url-resolve --url '<url>' --as user。Base URL 根据返回的 resource_type / block_type 及 table_id、view_id、record_id、dashboard_id、workflow_id、docx_token、share_token 等坐标进入对应模块;BaseApp /app/ URL 返回 app_token,并在链接携带时返回 workspace_token 和 page_id。实体类型以解析结果为准。
  2. Base 标题或关键词: lark-cli base +title-resolve --title '<keyword>' --as user。单一结果直接取得 base_token;多个候选结合标题、所有者和更新时间消歧,仍无法唯一确定时请用户选择。随后按下方 Base Block 资源模型定位目标实体。
  3. 已有 Base 候选列表: 用户要列出已有 Base 候选,且需要按最近访问、owner、创建人、时间、类型等维度筛选/排序时,转 lark-cli drive +search --doc-types bitable --as user。按标题/关键词定位单个 Base 仍用 +title-resolve。常见候选列表命令:
    • 最近访问:lark-cli drive +search --doc-types bitable --sort open_time --opened-since 3m --page-size 20 --as user
    • 只列我拥有的:加 --mine;如果要列“我创建的”,用 --created-by-me。
    • 从候选项拿到 URL 或 token 后,再用 +url-resolve 或 +base-get 进入 Base 业务命令。
  4. BaseApp: 优先使用真实 /app/ URL;已有 workspace_token 时可用 +workspace-entity-list --type baseapp 定位。两者都没有时请用户补充应用链接或 Workspace,不按名称全局猜测 app_token。

读取 Base: Base 信息用 +base-get,资源目录按下方 Base Block 资源模型读取。

写入 Base: 创建新 Base 使用一次 +base-create --name <base-name> --table-name <table-name> --fields '<field-array>' 同时创建 Base、首表和 fields;+base-copy 复制整个 Base;Base 内资源统一按下方 Block 生命周期管理。

Base 模板中心

模板中心是公开的 Base 模板库,不是用户云空间里的已有 Base。用户想用现成模板创建新 Base,且没有指向已有对象的锚点(没有 Base URL、没有“我的/最近访问的表”、没有具体已存在的 Base 名)时,可读取 lark-base-template-center.md 查找模板中心模板;+template-categories 列出公开模板分类,+template-list 按分类列出公开模板,+template-search 按业务关键词搜索公开模板。

Read the full file on GitHub · 287 lines

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. 1mo ago Changed · +1 lines b97ce3d47565
  2. 2mo ago Changed 356b708cda34
  3. 2mo ago Changed · +1 lines b363d1898d4a
  4. 3mo ago First seen · 285 lines · 131 tokens per session scan A 663f104c9393

Subscribe to this mod's changes

lark-base is a skill published in the GitHub repository larksuite/cli (18,248 stars, last pushed 5d ago), licensed MIT. It adds 131 tokens to every session and 6,511 once invoked, about $0.0005 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.

Related

lark-base compared with skills from other repositories

lark-base next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lark-baselarksuite/cliSkill18k5d agoMITA131Claude Code, Codex
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k5d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A65Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill938todayMITA79Claude Code, Codex