New to Claude Skills? Learn how to install them →

larksuite on GitHub

Lark Whiteboard

Free

Manage and export content from Lark's whiteboard.

by larksuite16.3k stars on larksuite/cli
2 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Lark Whiteboard does

Lark Whiteboard is a skill designed for querying and editing whiteboard content within Lark's cloud documents. This skill allows users to view, export, and update whiteboard elements efficiently. It supports various export formats, including images and source code, making it versatile for different use cases. Users can utilize commands to either export visual representations or the underlying source code, ensuring that they have the flexibility to work with the content as needed.

The skill operates primarily in two modes: read-only and write. In read-only mode, users can view the whiteboard's content and export it as a preview image or SVG vector graphic. They can also extract the source code in formats like Mermaid or PlantUML. In write mode, users can create new diagrams or update existing ones by providing the necessary input in supported formats. This dual functionality makes Lark Whiteboard suitable for both casual users who need to export content and more advanced users who wish to edit and create complex diagrams.

This skill is particularly useful for teams collaborating on visual projects, as it allows for seamless integration with Lark's document ecosystem. It is ideal for designers, project managers, and anyone who frequently works with visual representations of data or ideas. By leveraging this skill, users can enhance their productivity while ensuring that their visual content is easily accessible and modifiable.

However, it's important to note that Lark Whiteboard does not support editing content within Lark documents or creating whiteboards within those documents. Users looking for comprehensive document editing capabilities should refer to other Lark skills designed for that purpose.

When to use it

Use this skill when you need to view, export, or update whiteboard content in Lark documents.

When not to use it

This skill is not suitable for editing content within Lark documents or creating new whiteboards directly in documents.

What you can build with it

Exporting a Whiteboard as an Image

Use the `+export --output-type preview` command to quickly export your whiteboard as a preview image.

Updating an Existing Diagram

If you have a Mermaid or SVG code ready, use the `+update` command to modify the existing whiteboard with your new content.

Creating a New Flowchart

Start from scratch by following the creation workflow to build a new flowchart diagram directly in Lark.

How to install Lark Whiteboard

View source

1. Install with the skills CLI

npx skills add larksuite/cli/lark-whiteboard --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by larksuite

[!IMPORTANT]

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

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


快速决策

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

先判断「只读还是写入」,再在对应表内按上到下匹配,命中即停

A. 只读 · 查看 / 导出(不改画板)

用户需求行动
查看画板内容 / 导出图片+export --output-type preview
导出 SVG 矢量图+export --output-type svg
提取画板的 Mermaid/PlantUML 源码+export --output-type source

B. 写入 · 创作 / 编辑(会改画板,命中即停)

场景行动写入方式对原内容
用户已提供 Mermaid/PlantUML/SVG 代码,或明确指定用该格式使用该代码 → +update--input_format 取单值 mermaid / plantuml / svg;写入非空已有画板并需要 overwrite 时,先确认会整板重建;若 SVG 用于修改已有画板,先走 routes/svg-edit.md 有损确认overwrite / append按用户要求
从零新建复杂图表(架构/流程/组织等)§ 创作 Workflow首次写入
修改 / 增补已有画板§ 编辑 Workflow见该表见该表

Shortcuts

Shortcut说明
+export导出画板为预览图片、SVG 矢量图、代码或原始节点结构。
+update更新画板,支持 PlantUML、Mermaid、SVG 或 OpenAPI 原生格式

不在本 skill 范围

Frequently asked questions about Lark Whiteboard

Similar skills