larksuite/cli

lark-whiteboard

飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板? 当用户需要查看画板?

All-time #91 Trending #242 Hot #6736 First seen Mar 28, 2026
8-week activity · all time api

Installation

$ npx skills add larksuite/cli --skill lark-whiteboard

Summary

  • Query, edit, and export Lark whiteboards with support for multiple formats and diagram types.
  • Supports three output formats: preview images, diagram code (Mermaid/PlantUML), and raw node structure for direct JSON editing Handles creation, modification, and export workflows with automatic format detection and fallback strategies Renders complex diagrams (architecture, flowcharts, timelines, org charts) via Mermaid, SVG, or DSL routes based on AI model family Integrates with lark-doc for batch whiteboard creation and uses idempotent tokens to prevent duplicate writes during updates

Stronger alternatives

Audit results are mixed — compare nearby options before installing.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed May 15, 2026

This skill facilitates querying and editing Lark whiteboards using official vendor tools. It supports generating complex diagrams like architecture maps, flowcharts, and charts by utilizing utility scripts and the Lark CLI. All operations, including local script execution for layout calculations and command-line interactions with Lark services, are consistent with the skill's primary purpose of providing professional diagramming capabilities.

snyk HIGH

Analyzed May 15, 2026

[HIGH] W007: Insecure credential handling detected in skill instructions. [MEDIUM] W011: Third-party content exposure detected (indirect prompt injection risk). [MEDIUM] W012: Unverifiable external dependency detected (runtime URL that controls agent).

socket Score 0.9000 · 0 alerts

Analyzed May 15, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from larksuite/cli · top by installs.

npx skills add larksuite/cli

Browse all from larksuite/cli

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 17.1K
License LICENSE
Default branch main
Open issues 225
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
More metadata
requires
{"bins":["lark-cli"]}
cliHelp
lark-cli whiteboard --help

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,114 B
  • docs SUMMARY.md 393 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 435,600 installs

SKILL.md

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

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


快速决策

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

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

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

用户需求 行动
查看画板内容 / 导出图片 [+export --output-type preview](references/lark-whiteboard-export.md)
导出 SVG 矢量图 [+export --output-type svg](references/lark-whiteboard-export.md)
提取画板的 Mermaid/PlantUML 源码 [+export --output-type source](references/lark-whiteboard-export.md)

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

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

Shortcuts

Shortcut 说明
[+export](references/lark-whiteboard-export.md) 导出画板为预览图片、SVG 矢量图、代码或原始节点结构。
[+update](references/lark-whiteboard-update.md) 更新画板,支持 PlantUML、Mermaid、SVG 或 OpenAPI 原生格式

不在本 skill 范围

  • 文档内容编辑 → lark-doc [lark-doc](../lark-doc/SKILL.md)
  • 在文档中创建画板 → [lark-doc-whiteboard.md](../lark-doc/references/lark-doc-whiteboard.md)
  • 表格 / Base 操作 → [lark-sheets](../lark-sheets/SKILL.md) / [lark-base](../lark-base/SKILL.md)