lark-base

lark-base is a skill for Claude Code, Codex from ddpie/lark-mcp-on-agentcore. It costs 82 tokens per session (4,998 once invoked), scanned A, original, MIT.

A tool for managing Feishu Base, a database-like workspace for tables, fields, records, views, forms, dashboards, formulas, workflows, and permissions. Unlike a regular spreadsheet, a Base organizes records into structured tables with connected fields and views.

In plain words
What is it for?
Use it to create or edit Base tables and records, design fields and views, build forms or dashboards, configure workflows, and manage formulas or permissions.
Why use it?
It gives an agent a way to work directly with Base data and its configuration instead of treating everything as unstructured cells. It also supports lookups, calculations, filtering, summaries, and derived values.

Skill for Claude CodeCodex

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

Good fit Use it to create or edit Base tables and records, design fields and views, build forms or dashboards, configure workflows, and manage formulas or permissions.

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

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/ddpie/lark-mcp-on-agentcore/lark-base/github.svg)](https://agentmods.dev/skills/ddpie/lark-mcp-on-agentcore/lark-base)
Your own site
<a href="https://agentmods.dev/skills/ddpie/lark-mcp-on-agentcore/lark-base"><img src="https://agentmods.dev/badge/skills/ddpie/lark-mcp-on-agentcore/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/ddpie/lark-mcp-on-agentcore/lark-base"><img src="https://agentmods.dev/badge/skills/ddpie/lark-mcp-on-agentcore/lark-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,998 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 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.00082 $0.04998
Opus 5 $0.00041 $0.02499
Sonnet 5 $0.00016 $0.01000
Haiku 4.5 $0.00008 $0.00500

Measured 8d ago against content hash 2a5b359f8188, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 8d 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.

docker/skills/lark-base/SKILL.md · 151 lines

How it starts

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

base

何时使用

使用本 skill:

  • 用户明确提到 Base / 多维表格 / bitable,或给出 /base/ 链接。
  • 用户要在 Base 内建表、改表、管理字段、写记录、查记录、配视图。
  • 用户要在 Base 内做公式字段、lookup 字段、跨表计算、派生指标、筛选聚合、TopN、统计分析。
  • 用户要管理 Base 表单、仪表盘、workflow、高级权限或角色。
  • 用户要把旧 Base 聚合式命令或旧写法迁移到当前 shortcut。

不要使用本 skill:

  • 只是认证、初始化配置、切换身份、处理 scope 或权限授权恢复(MCP server 自动处理认证)。
  • 把本地 Excel / CSV / .base 导入成 Base,转 lark_drive_import(type="bitable")
  • 泛化数据分析、字段设计、公式讨论,但没有 Base/多维表格上下文。

使用边界

  • Base 业务操作只使用 lark_base_* 工具,不使用旧聚合式命令。
  • 本轮 Base 不依赖 lark_discover。SKILL 只保留路由、风险和复杂 JSON/DSL;简单命令由命令自身的参数、tips 和错误恢复承接。
  • 用户要把 Excel / CSV / .base 导入成 Base 时,先转 lark_drive_import(type="bitable"),导入完成后再回到 Base 工具。
  • 认证由 MCP server 自动处理;Base 文档只保留会影响 Base 路径选择的权限规则。

先获取 Base Token 和所需 ID

进入任何需要目标 Base 的工具前,必须先拿到可用的 base_token,以及当前任务需要的 table_id / view_id / record_id / form_id / dashboard_id / workflow_id 等真实 ID;不要把完整 URL、wiki token、workspace token 或孤立 raw token 直接当作 base_token

  • 用户输入 URL 或分享链接:先调用 lark_base_url_resolve(url="<url>"),用返回的 base_token 和相关 ID 继续后续命令。
  • 用户输入 Base 标题、关键词或不确定名称:先调用 lark_base_title_resolve(title="<keyword>")title 传入标题中的短关键词,不超过 30 个字符;过长标题先取最有区分度的短关键词;多候选时先让用户消歧,不要猜。
  • 文档嵌入 Base 标签:直接读取 <bitable> / <base_refer>token 作为 base_tokentable-id 作为 table_idview-id 作为 view_id;孤立 raw token 不走 lark_base_url_resolve()
  • 仍无法定位且用户不是要新建 Base 时,先反问用户要操作哪一个 Base;用户要新建时才用 lark_base_base_create()

快速路由

用户目标 优先工具 何时读 reference
查 Base 本体 lark_base_base_get() 用返回确认 Base 名称、owner、权限和可继续操作的 token
创建/复制 Base lark_base_base_create() / lark_base_base_copy() 新建时强烈推荐用 table_name + fields 同时配置新 Base 里唯一一个初始数据表的 name 和 schema;写入后报告新 Base 标识和 permission_grant
查看 Base 内资源目录 lark_base_base_block_list() 想先了解一个 Base 里有哪些 table/docx/dashboard/workflow/folder 时优先用它;返回 ID 关系和 fewshot 看 lark_discover(query="base.base-block.list")
管理 Base 内资源目录 lark_base_base_block_create/move/rename/delete 创建或整理 Base 直接管理的 folder/table/docx/dashboard/workflow;资源内容继续用对应工具
管理数据表 lark_base_table_list/get/create/update/delete 处理 table 的列出、详情、创建、重命名和删除
列/查/删字段 lark_base_field_list/get/delete/search_options 写入前用 list/get 确认字段类型、选项、ID;删除前确认目标字段
创建/更新字段 lark_base_field_create() / lark_base_field_update() 必读 lark_get_skill(domain="base", section="field-json");公式读 lark_get_skill(domain="base", section="formula-field-guide");lookup 读 lark_get_skill(domain="base", section="lookup-field-guide");命令细节读 lark_get_skill(domain="base", section="field-create") / lark_get_skill(domain="base", section="field-update")
读记录明细 lark_base_record_get() / lark_base_record_list() / lark_base_record_search() 涉及筛选、排序、Top/Bottom N、聚合、多表关联、全局结论时读 lark_get_skill(domain="base", section="data-analysis-sop")
写记录 lark_base_record_upsert() / lark_base_record_batch_create() / lark_base_record_batch_update() 必读 lark_get_skill(domain="base", section="record-upsert") / lark_get_skill(domain="base", section="record-batch-create") / lark_get_skill(domain="base", section="record-batch-update")lark_get_skill(domain="base", section="cell-value")
附件字段 lark_base_record_upload_attachment() / lark_base_record_download_attachment() / lark_base_record_remove_attachment() 附件不要伪造成普通 CellValue;上传走本地文件,下载/删除按 file token 或字段定位
删除记录 / 分享记录链接 / 历史 lark_base_record_delete() / lark_base_record_share_link_create() / lark_base_record_history_list() 删除前确认 record;分享链接最多 100 条;历史读 lark_get_skill(domain="base", section="record-history-list"),只查单条记录,不做整表审计
管理视图 lark_base_view_* lark_base_view_set_filter()lark_get_skill(domain="base", section="view-set-filter");其余配置先 get 现状,再按返回结构更新
一次性聚合统计 lark_base_data_query() 必读 lark_get_skill(domain="base", section="data-analysis-sop") 和入口 lark_get_skill(domain="base", section="data-query-guide");完整 DSL 再读 lark_get_skill(domain="base", section="data-query")
公式字段 lark_base_field_create(json='{"type":"formula",...}') 必读 lark_get_skill(domain="base", section="formula-field-guide"),读后再加隐藏确认 flag i_have_read_guide=true
Lookup 字段 lark_base_field_create(json='{"type":"lookup",...}') 必读 lark_get_skill(domain="base", section="lookup-field-guide"),读后再加隐藏确认 flag i_have_read_guide=true
表单提交 lark_base_form_submit() 先读 lark_get_skill(domain="base", section="form-detail") 获取题目、filter 和附件所需 base_token;提交 JSON 读 lark_get_skill(domain="base", section="form-submit")
表单题目创建/更新 lark_base_form_questions_create() / lark_base_form_questions_update() lark_get_skill(domain="base", section="form-questions-create") / lark_get_skill(domain="base", section="form-questions-update")
其他表单管理 lark_base_form_list/get/detail/create/update/delete / lark_base_form_questions_list/delete lark_base_form_detail()lark_get_skill(domain="base", section="form-detail");删除前确认目标表单
仪表盘与组件 lark_base_dashboard_* / lark_base_dashboard_block_* 提到图表/看板/block 时先读 lark_get_skill(domain="base", section="dashboard");组件 data_configlark_get_skill(domain="base", section="dashboard-block-data-config");读取图表计算结果用 lark_base_dashboard_block_get_data()
Workflow lark_base_workflow_* 创建/更新或理解 steps 时读入口 lark_get_skill(domain="base", section="workflow-guide") 和 steps JSON SSOT lark_get_skill(domain="base", section="workflow-schema");list/get/enable/disable 只处理 workflow ID 与启停状态
高级权限与角色 lark_base_advperm_* / lark_base_role_* 角色操作先读入口 lark_get_skill(domain="base", section="role-guide");角色 create/update 或解读完整配置再读权限 JSON SSOT lark_get_skill(domain="base", section="role-config");系统角色不可删除;关闭高级权限会影响自定义角色

Read the full file on GitHub · 151 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. 8d ago First seen · 151 lines · 82 tokens per session scan A 2a5b359f8188

Subscribe to this mod's changes

lark-base is a skill published in the GitHub repository ddpie/lark-mcp-on-agentcore (8 stars, last pushed 11d ago), licensed MIT. It adds 82 tokens to every session and 4,998 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

bitable

Access Lark Bitable databases - list tables, view fields, and read records. Use when user asks about a Bitable, database, or wants to query structured data.

yjwong/lark-cli · 38 tokens

django-migration-psql

Reviews Django migration files for PostgreSQL best practices specific to Prowler. Trigger: When creating migrations, running makemigrations/pgmakemigrations, reviewing migration PRs, adding indexes or constraints to database tables, modifying existing migration files, or writing data backfill migrations. Always use…

prowler-cloud/prowler · 96 tokens

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing…

prowler-cloud/prowler · 108 tokens

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens

dynamodb

AWS DynamoDB NoSQL database for scalable data storage. Use when designing table schemas, writing queries, configuring indexes, managing capacity, implementing single-table design, or troubleshooting performance issues.

itsmostafa/aws-agent-skills · 39 tokens

rds

AWS RDS relational database service for managed databases. Use when provisioning databases, configuring backups, managing replicas, troubleshooting connectivity, or optimizing performance.

itsmostafa/aws-agent-skills · 31 tokens