lark-doc

lark-doc is a skill for Claude Code, Codex from larksuite/cli. It costs 142 tokens per session (1,141 once invoked), scanned A, original, MIT.

A tool for reading and editing Feishu online documents and Wiki pages. Feishu is a workplace collaboration platform; these documents are different from ordinary files in Cloud Drive and from spreadsheets or databases.

In plain words
What is it for?
Use it to fetch, create, update, and revert documents; insert, preview, or download images and attachments; work with whiteboards and mind notes; and inspect document history.
Why use it?
It routes document-content work separately from file management, comments, and table operations. It can also preserve document history and handle embedded media and whiteboards.

Skill for Claude CodeCodex

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

Good fit Use it to fetch, create, update, and revert documents; insert, preview, or download images and attachments; work with whiteboards and mind notes; and inspect document history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/larksuite/cli/lark-doc
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-doc
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-doc

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/larksuite/cli/lark-doc"><img src="https://agentmods.dev/badge/skills/larksuite/cli/lark-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 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 28 Oct 2026
  • Snyk warn 28 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.00142 $0.01141
Opus 5.5 $0.00057 $0.00456
Sonnet 5.5 $0.00028 $0.00228
Haiku 4.5 $0.00014 $0.00114

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

Security

Grade A, and why

lark-doc 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.

skills/lark-doc/SKILL.md · 50 lines

How it starts

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

docs

场景与 Shortcut 路由

CRITICAL:先判断场景,再读取该场景的参考文件;不要在任务开始时一次性读取全部参考文件。每个文件只在首次进入对应阶段时读取一次。

身份:文档操作推荐显式指定 --as user。

本地文件引用统一遵循文件访问权限:CWD 内优先使用 @./相对路径,其他目录使用 @绝对路径。XML 内的相对资源路径先查 CWD;仅文件不存在时再查源 XML 文件所在目录,同名文件以 CWD 为准。内联内容、stdin、在线文档没有源文件目录,不执行回退。

文档内容

  • 读取 / 摘要 — +fetch:先读参考再获取文档。
  • 从零创作 — 创建工作流:先完整执行创建工作流,简单任务不是跳过的理由;
  • 导入 / 空文档 — +create:仅创建空文档或原样导入用户提供的完整内容时,跳过创建工作流。
  • 编辑 / block 直达链接 — +update:语义改写、润色、重组、补写或排版均按 update 参考完成。

辅助能力

资源、画板与思维笔记

认证与 Scope

执行 Shortcut 时,不预读 lark-shared 或预跑 auth status --verify;仅遇到未认证、token / 身份或 scope 错误时读取该 Skill,修复后重试。认证、身份或 scope 管理请求则直接使用该 Skill。

不在本 Skill 范围

  • Drive 文件级操作:找文档、导入导出、云空间文件上传 / 下载 / 权限管理 → lark-drive。复制文档、创建副本或另存为副本时,按其指引使用 lark-cli drive files copy;不要用 docs +fetch + docs +create 重建正文。
  • 独立评论操作:添加、分页查看、回复评论或增删 reaction → lark-drive;只需紧凑评论上下文时,直接使用默认 JSON 响应的 docs +fetch。

Read the full file on GitHub · 50 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 · +18 tokens per session 0f1aea17fc21
  2. 2mo ago Changed 2786f9103706
  3. 3mo ago First seen · 50 lines · 124 tokens per session scan A 1c2aa910831a

Subscribe to this mod's changes

lark-doc is a skill published in the GitHub repository larksuite/cli (18,248 stars, last pushed 5d ago), licensed MIT. It adds 142 tokens to every session and 1,141 once invoked, about $0.0006 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-doc compared with skills from other repositories

lark-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lark-doclarksuite/cliSkill18k5d agoMITA142Claude Code, Codex
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37k4d agoApache-2.0A123Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10k6d agoApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex