lark-doc

lark-doc is a skill for Claude Code, Codex from Pinvou/pinvou-agent. It costs 183 tokens per session (1,390 once invoked), scanned A, original, MIT.

A tool for working with documents, wikis, images, attachments, whiteboards, and notes in Feishu, also called Lark. It supports reading, creating, editing, exporting, and restoring document content.

In plain words
What is it for?
Use it to create or update Feishu documents, fetch or download their contents, manage media, work with whiteboards, and inspect or restore document history.
Why use it?
It gives an agent a defined way to handle Feishu documents and their supporting materials while preserving the correct document workflow. It also separates document work from spreadsheets and other Feishu services.

Skill for Claude CodeCodex

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

Good fit Use it to create or update Feishu documents, fetch or download their contents, manage media, work with whiteboards, and inspect or restore document history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinvou/pinvou-agent/lark-doc
About the project

Pinvou/pinvou-agent is an open-source desktop workspace where an AI agent helps with work, visual design, and software development. People use it to work with files and knowledge, create editable visual artifacts, connect coding agents to projects, and extend the workspace with tools, MCP servers, skills, and workflows; the catalogue skills add capabilities to that environment.

Pinvou/pinvou-agent · 1,779 stars · on GitHub · pinvou.com

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 Pinvou/pinvou-agent --skill lark-doc
Clone the repo
git clone --depth 1 https://github.com/Pinvou/pinvou-agent

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/pinvou/pinvou-agent/lark-doc/github.svg)](https://agentmods.dev/skills/pinvou/pinvou-agent/lark-doc)
Your own site
<a href="https://agentmods.dev/skills/pinvou/pinvou-agent/lark-doc"><img src="https://agentmods.dev/badge/skills/pinvou/pinvou-agent/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/pinvou/pinvou-agent/lark-doc"><img src="https://agentmods.dev/badge/skills/pinvou/pinvou-agent/lark-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,390 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
  • 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.00183 $0.01390
Opus 5 $0.00092 $0.00695
Sonnet 5 $0.00037 $0.00278
Haiku 4.5 $0.00018 $0.00139

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

pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-doc/SKILL.md · 52 lines

How it starts

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

docs

场景与 Shortcut 路由

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

身份:文档操作推荐显式指定 --as user。例外:如果 doc_token / note_doc_token 等是从 bot 链路(如 vc +detail --as botnote +detail --as bot)取得的,应继续显式使用 --as bot,不要无条件切回 user——身份延续规则见 ../lark-shared/SKILL.md

所有表示本地文件的 @path 均使用 @./xxx 形式的相对路径,并以运行 lark-cli 时的当前工作目录(CWD)为基准。

文档内容

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

辅助能力

资源、画板与思维笔记

  • 插入本地素材 — +media-insert:在文末插入本地图片或文件。
  • 预览素材 — +media-preview:预览文档中的图片、附件或素材。
  • 下载素材 — +media-download:下载文档中的图片、附件、素材或画板缩略图。
  • Docx 封面 — +resource-download / +resource-update / +resource-delete:下载、更新或删除 Docx 封面。
  • 画板 — 画板工作流:创建或更新画板时先读取工作流;更新已有画板必须复用现有 token,禁止新建空白画板。lark-whiteboard skill 未随包收录,写入用 lark-cli whiteboard +update(用法以 --help 为准)。
  • 思维笔记 — mindnotes:已有思维笔记走 思维笔记链路。新建思维笔记暂无专门的 docs/mindnotes 创建命令:要新建到知识库,用 wiki +node-create --obj-type mindnote(见 lark-wiki-node-create.md),创建后按思维笔记链路维护节点;思维笔记不是画板(whiteboard),不要路由到画板工作流。

认证与 Scope

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

Read the full file on GitHub · 52 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 52 lines · 183 tokens per session scan A 5135fe4220c4

Subscribe to this mod's changes

lark-doc is a skill published in the GitHub repository Pinvou/pinvou-agent (1,779 stars, last pushed today), licensed MIT. It adds 183 tokens to every session and 1,390 once invoked, about $0.0009 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-30.

Related

Other skills, from other repositories

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

PM-Shawn/Abu-Cowork · 168 tokens

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers.…

PM-Shawn/Abu-Cowork · 77 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

PM-Shawn/Abu-Cowork · 201 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

PM-Shawn/Abu-Cowork · 92 tokens

pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying…

PM-Shawn/Abu-Cowork · 152 tokens

skill-creator

A skill for creating, editing, improving, and testing skills for coding agents.

PM-Shawn/Abu-Cowork · 47 tokens