lark-whiteboard-cli
Skill by MiniMax-AI
Guides an AI assistant in drawing architecture diagrams, flowcharts, mind maps, sequence diagrams and other charts with the whiteboard-cli tool. It is for users who work with Feishu whiteboards and want charts rendered to PNG or uploaded.
Install lark-whiteboard-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MiniMax-AI/minimax-code /tmp/minimax-code && mkdir -p ~/.claude/skills && cp -r /tmp/minimax-code/packages/local-runtime/assets/skills/lark-tools/cli-skills/lark-whiteboard-cli ~/.claude/skills/lark-whiteboard-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/MiniMax-AI/minimax-code /tmp/minimax-code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/minimax-code/packages/local-runtime/assets/skills/lark-tools/cli-skills/lark-whiteboard-cli ~/.gemini/antigravity-cli/skills/lark-whiteboard-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install lark-whiteboard-cli in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through creating diagrams with the @larksuite/whiteboard-cli Node.js tool. It picks a rendering path first. Mind maps, sequence diagrams, class diagrams and pie charts go through Mermaid. Other chart types use a JSON DSL with explicit layout, color and connector rules. Scene guides cover architecture, flowchart, swimlane, funnel, bar and line charts, among others. Some chart types need a generated JavaScript script to calculate coordinates.
The workflow renders a PNG, checks it against a symptom and fix table, and retries up to two rounds. Finished diagrams can be uploaded to a Feishu whiteboard through lark-cli. Before overwriting a non-empty board, the skill runs a dry run and asks the user to confirm. It is intended for people who need to produce diagrams in Feishu or from a text description.
Written from the project's SKILL.md and checked against it.
What it can do
- Render path selectionChooses Mermaid for mind maps, sequence, class and pie charts, and the JSON DSL for other chart types.
- Scene guidesProvides guides for architecture, organization, swimlane, comparison, fishbone, funnel, flowchart and other chart types.
- PNG renderingRenders DSL or Mermaid source files to a PNG image with the whiteboard-cli tool.
- Icon lookupLists available icons with the CLI so icons can be added to diagrams where they fit.
- Visual reviewChecks a rendered diagram for truncated text, overlapping nodes and crossing connectors, and lists fixes.
- Feishu whiteboard uploadUploads a generated layout to a Feishu whiteboard through lark-cli, using a Feishu token.
- Overwrite safety checkRuns a dry run first when the target board is not empty and asks the user to confirm before deleting nodes.
What you need
- Node.js 18 or later
- @larksuite/whiteboard-cli installed
- lark-cli installed
- Feishu authentication for uploading to a whiteboard
Try asking
- Draw a layered architecture diagram for our microservices and render it as a PNG.
- Make a flowchart of our order approval process with conditional branches.
- Upload this sequence diagram to the Feishu whiteboard in my document.
Good to know
- Once a whiteboard is uploaded, it cannot be edited in place.
- Overwriting a non-empty whiteboard deletes its existing nodes, so the skill asks for confirmation first.
- Installing new npm dependencies requires the user's consent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/local-runtime/assets/skills/lark-tools/cli-skills/lark-whiteboard-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/connectors.md5 KB -
references/content.md1 KB -
references/layout.md19 KB -
references/schema.md14 KB
Show all 21 files
-
references/style.md11 KB -
references/typography.md2 KB -
scenes/architecture.md22 KB -
scenes/bar-chart.md8 KB -
scenes/comparison.md7 KB -
scenes/fishbone.md10 KB -
scenes/flowchart.md11 KB -
scenes/flywheel.md9 KB -
scenes/funnel.md4 KB -
scenes/line-chart.md9 KB -
scenes/mermaid.md4 KB -
scenes/milestone.md4 KB -
scenes/organization.md8 KB -
scenes/pyramid.md4 KB -
scenes/swimlane.md20 KB -
scenes/treemap.md6 KB
Alternatives to lark-whiteboard-cli
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
lark-whiteboard-cli: common questions
Which diagram types use Mermaid instead of the DSL?
The skill routes mind maps, sequence diagrams, class diagrams and pie charts to Mermaid by default. All other types use the JSON DSL.
Can the skill upload a diagram to Feishu?
Yes. It uploads through lark-cli and needs Feishu authentication. If the target whiteboard already has content, it runs a dry run and asks the user to confirm before overwriting.
What happens if a rendered diagram has layout problems?
The skill maps the visible symptom to a fix, such as increasing the gap or changing the height to fit-content, and re-renders. After two rounds with serious problems, it can fall back to the Mermaid path.
How do I install lark-whiteboard-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lark-whiteboard-cli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is lark-whiteboard-cli safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lark-whiteboard-cli?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
