lark-whiteboard

lark-whiteboard is a skill for Claude Code, Codex from yokingma/weclaws. It costs 194 tokens per session (2,135 once invoked), scanned A, a copy of lark-whiteboard, MIT.

A tool for viewing and editing Feishu whiteboards, shared visual canvases used for diagrams and other structured ideas. It can work with preview images, node data, Mermaid, PlantUML, and Feishu's native format.

In plain words
What is it for?
Use it to export whiteboards as images or source, edit node text and colours, and create or update architecture diagrams, workflows, timelines, organisations, and other visual structures.
Why use it?
It gives a coding agent ways to inspect or update diagrams without manually rebuilding every visual element.

Skill for Claude CodeCodex

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

Good fit Use it to export whiteboards as images or source, edit node text and colours, and create or update architecture diagrams, workflows, timelines, organisations, and other visual structures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yokingma/weclaws/lark-whiteboard
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 yokingma/weclaws --skill lark-whiteboard
Clone the repo
git clone --depth 1 https://github.com/yokingma/weclaws

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-whiteboard

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yokingma/weclaws/lark-whiteboard"><img src="https://agentmods.dev/badge/skills/yokingma/weclaws/lark-whiteboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,135 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.
Origin 100% 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.1 $0.00194 $0.02135
Opus 5 $0.00097 $0.01068
Sonnet 5 $0.00039 $0.00427
Haiku 4.5 $0.00019 $0.00214

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

Origin

This is a copy

100% identical to lark-whiteboard — 0 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.

resources/skills/managed/lark-whiteboard/SKILL.md · 145 lines

How it starts

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

[!IMPORTANT]

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

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


快速决策

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

⚠️ 强制规范(通过 stdin 更新): 数据来源于本地文件时,必须使用 --source - --input_format <格式>。 例:cat chart.mmd | lark-cli whiteboard +update <token> --source - --input_format mermaid

Shortcuts

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

创作 Workflow

此 workflow 用于独立创作一个画板。 需要在文档中批量创建多个画板时,由 lark-doc 负责调度,见 lark-doc 技能的 references/lark-doc-whiteboard.md

Step 1:获取 board_token

用户给了什么 怎么获取
直接给了 whiteboard token(wbcnXXX 直接使用
文档 URL 或 doc_id,文档中已有画板 lark-cli docs +fetch --api-version v2 --doc <URL> --as user,从返回的 <whiteboard token="xxx"/> 提取
文档 URL 或 doc_id,需要新建画板 lark-cli docs +update --api-version v2 --doc <doc_id> --command append --content '<whiteboard type="blank"></whiteboard>' --as user,从响应 data.new_blocks[0].block_token 取得(block_type == "whiteboard" 的那条;参数详见 lark-doc SKILL.md)

Step 2:渲染 & 写入

→ 进入 § 渲染 & 写入画板 章节,按流程完成后直接返回结果给用户。


修改 Workflow

Step 1:获取 board_token(同创作 Workflow Step 1)

Read the full file on GitHub · 145 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. 10d ago First seen · 145 lines · 194 tokens per session scan A d7e6a5f48795

Subscribe to this mod's changes

lark-whiteboard is a skill published in the GitHub repository yokingma/weclaws (38 stars, last pushed 3mo ago), licensed MIT. It adds 194 tokens to every session and 2,135 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to lark-whiteboard, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

khromov/codebay · 43 tokens

dxf

Generate, regenerate, and validate 2D DXF drawings from Python build123d sources. Use for DXF files, .py drawing scripts, @dxf models, 2D profiles, outlines, templates, gaskets, panels, flat patterns, laser/plasma/waterjet cut layouts, and 2D drawing exports of CAD geometry.

earthtojake/text-to-cad · 75 tokens

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

wxjava-upgrade-guide

A migration guide for upgrading WxJava, a Java software development kit for WeChat services, from one version or dependency setup to another. It checks dependencies, Java versions, configuration, HTTP clients, and public programming interfaces.

binarywang/WxJava · 72 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

last30Days

Resolve "last30Days" to a concrete ISO date range relative to your run time — a rolling 30-day window ending today. Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a "last 30 days" / trailing-month task…

chaitanyagiri/munder-difflin · 83 tokens