lark-base

lark-base is a skill for Claude Code from DropFan/claude-code-plugins. It costs 131 tokens per session (6,695 once invoked), scanned A, a copy of lark-base, MIT.

A tool for managing Feishu Base, a cloud database made from tables, fields, records, and views. It also covers calculations, forms, dashboards, workflows, and access roles.

In plain words
What is it for?
Use it to create and edit tables, fields, records, views, formulas, reports, forms, dashboards, workflows, and permissions in Feishu Base.
Why use it?
It lets an agent manage structured business data inside Feishu without confusing it with ordinary documents or local files. It supports both data changes and the surrounding Base setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the lark plugin — 28 skills shipped together

Good fit Use it to create and edit tables, fields, records, views, formulas, reports, forms, dashboards, workflows, and permissions in Feishu Base.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dropfan/claude-code-plugins/lark-base
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 DropFan/claude-code-plugins --skill lark-base
Clone the repo
git clone --depth 1 https://github.com/DropFan/claude-code-plugins

Made for: Claude Code.

Or install lark, the plugin that ships this one along with the rest of its 28 skills.

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/dropfan/claude-code-plugins/lark-base/github.svg)](https://agentmods.dev/skills/dropfan/claude-code-plugins/lark-base)
Your own site
<a href="https://agentmods.dev/skills/dropfan/claude-code-plugins/lark-base"><img src="https://agentmods.dev/badge/skills/dropfan/claude-code-plugins/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/dropfan/claude-code-plugins/lark-base"><img src="https://agentmods.dev/badge/skills/dropfan/claude-code-plugins/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,695 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.
Origin 97% copy Near-identical to another mod 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.06695
Opus 5.5 $0.00052 $0.02678
Sonnet 5.5 $0.00026 $0.01339
Haiku 4.5 $0.00013 $0.00670

Measured 25d ago against content hash 8a64cf73ec3d, 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 25d 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

This is a copy

97% identical to lark-base — 394 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/lark/skills/lark-base/SKILL.md · 297 lines

How it starts

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

⚙️ Cowork / Claude Desktop 执行环境说明(自动注入)

本技能依赖本地 lark-cli(@larksuite/cli,可用 command -v lark-cli 定位)及其 ~/.lark-cli 登录态(应用密钥存于 macOS keychain)。

在 Cowork 中运行任何 lark-cli 命令时,必须在本地 macOS 上执行(使用 Desktop Commander 的 start_process / interact_with_process,或其它本地 shell 工具),不要用隔离的 Linux 沙箱 mcp__workspace__bash——沙箱里没有 lark-cli、也读不到 keychain。 执行前确保 npm 全局 bin 目录(npm prefix -g 输出目录下的 bin)在 PATH 中。

(在 Claude Code 中可忽略本说明,lark-cli 在本机 shell 直接可用。)

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。

Read the full file on GitHub · 297 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. 25d ago Changed · +110 lines · +47 tokens per session 8a64cf73ec3d
  2. 1mo ago First seen · 187 lines · 84 tokens per session scan A b6e9cc0c9c02

Subscribe to this mod's changes

lark-base is a skill published in the GitHub repository DropFan/claude-code-plugins (8 stars, last pushed 26d ago), licensed MIT. It adds 131 tokens to every session and 6,695 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to lark-base, differing in 394 lines, and is treated as a copy.