lark-whiteboard

A tool for viewing, exporting, and editing Feishu whiteboards. Feishu is a workplace collaboration platform, and a whiteboard is a shared canvas for diagrams and notes.

In plain words
What is it for?
Use it to export previews, SVG, source code, or raw node data, and to update whiteboards from Mermaid, PlantUML, SVG, or edited node structures.
Why use it?
It lets you inspect a whiteboard’s image or underlying structure and make targeted updates without manually recreating the board.

Skill for Claude CodeCodex

Part of the lark plugin — 27 skills, 2 agents shipped together

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.

agentmods
npx agentmods add skills/dropfan/claude-code-plugins/lark-whiteboard
Any agent
npx skills add DropFan/claude-code-plugins --skill lark-whiteboard
Clone the repo
git clone --depth 1 https://github.com/DropFan/claude-code-plugins

Made for: Claude Code, Codex.

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

Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% 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 $0.00104 $0.01008
Opus 5 $0.00052 $0.00504
Sonnet 5 $0.00021 $0.00202
Haiku 4.5 $0.00010 $0.00101

Measured 3d ago against content hash afafbda182bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lark-whiteboard 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 3d 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

88% identical to lark-whiteboard — 34 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-whiteboard/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 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 直接可用。)

[!IMPORTANT]

  • 运行 lark-cli --version,确认可用,无需询问用户。
  • 运行 npx -y @larksuite/whiteboard-cli@^0.2.13 -v,确认可用,无需询问用户。

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理


快速决策

身份:画板操作默认使用 --as user。仅当需要以应用身份上传时使用 --as bot

用户需求 行动
查看画板内容 / 导出图片 +export --output-type preview
导出 SVG 矢量图 +export --output-type svg
获取画板的 Mermaid/PlantUML 代码 +export --output-type source
检查画板是否由代码绘制 +export --output-type source
仅微调节点文字/颜色 +export --output-type raw → 手动改 JSON → +update --input_format raw
用户已提供 Mermaid/PlantUML/SVG 代码,或明确指定用该格式 自己生成/使用代码 → +update --input_format mermaid/plantuml/svg
新建/创作复杂图表(架构/流程/组织等) § 创作 Workflow
修改/重绘已有画板 § 修改 Workflow

Read the full file on GitHub · 60 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. 3d ago First seen · 60 lines · 104 tokens per session scan A afafbda182bc

Subscribe to this mod's changes

lark-whiteboard is a skill published in the GitHub repository DropFan/claude-code-plugins (7 stars, last pushed 27d ago), licensed MIT. It adds 104 tokens to every session and 1,008 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to lark-whiteboard, differing in 34 lines, and is treated as a copy.