lark-slides Skill for Claude: Build and Edit Lark Presentations
lark-slides lets Claude create and edit Lark (Feishu) slide decks, one page at a time, with a planning and layout check step.
- Installs
- 426.5K
- on skills.sh
- Stars
- 17.9K
- on GitHub
- Files
- 49
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
lark-slides tells Claude how to build a Lark presentation: write a slide plan, generate each page as XML, run a layout linter, create the deck with lark-cli, then read it back to check. Later you can add, replace, update, delete and screenshot pages, upload images, and view or revert history versions.
It needs lark-cli, a signed-in Lark account and Python (it ships scripts/xml_lint.py and an icon tool). SKILL.md is written in Chinese and is long, with strict design rules such as 960x540 pages and images on every page. It does not edit Lark docs or whiteboards.
Good for
- Lark or Feishu users who build decks and want Claude to draft them
- Teams that edit one slide of an existing deck without touching the rest
- Developers automating slide creation through lark-cli
Install lark-slides
Claude Code
- 1
Copy this prompt.
Install the lark-slides skill in Claude Code. Run this command: npx @larksuite/cli@latest install Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
This skill drives the lark-cli program and starts by reading the lark-shared skill for sign-in and permissions, so install the whole set from the Lark CLI repo, not this folder alone. Pick one install route. The skills-only route assumes lark-cli is already on your machine.
From the project README. Source.
What's in the skill
When it loads
飞书幻灯片:创建和编辑幻灯片。创建演示文稿、读取幻灯片内容、管理幻灯片页面(创建、删除、读取、局部替换)。当用户需要创建或编辑幻灯片、读取或修改单个页面时使用。当用户给出 doubao.com 的 /slides/ URL/token 时,也应直接使用本 skill,不要因为域名不是飞书而回退到 WebFetch;路由依据是 URL 路径模式和 token,而不是域名。不负责:云文档内容编辑(走 lark-doc)、云文档里的独立画板对象(走 lark-whiteboard)、上传或下载普通文件(走 lark-drive)。
Sections in SKILL.md
- 权威经验
- 豆包设计原则
- Quick Reference
- 身份选择
- 执行前必做
- Workflow
- Design Ideas
- 生成流程
- 大纲模板
- 核心概念
- URL 格式与 Token
- Wiki 链接特殊处理(关键!)
- 资源关系
- Shortcuts
- 核心规则
Key facts
- License
- MIT
- Installs on skills.sh
- 426,475 as of 2026-11-02
- GitHub stars
- 17,911 for the whole larksuite/cli repo
- skills.sh audits
- Gen Agent Trust Hub pass, Socket pass, Snyk pass
- What is inside
- 50 files: SKILL.md and 49 others, including reference docs, XML samples and Python scripts (xml_lint.py, iconpark_tool.py)
- Last commit to the repo
- 2026-10-30
What it includes
Writes a plan file before any XML
For new or heavily rewritten decks it saves .lark-slides/plan/<id>/slide_plan.json with layout, focus and asset needs per page.
Try: “Make a 10-slide Q4 review deck in Lark Slides.”
Write ·
Plan first (slide_plan.json)Lints slide XML before upload
SKILL.md says the error count must be 0 before calling +create, +add-slide or +update-slide. It checks structure, bounds, overlap and sparse pages.
Runs code ·
scripts/xml_lint.pyCreates a deck, one step or two
Creates the presentation; for longer decks pages are added with +add-slide.
Write ·
slides +createAdds one page to a deck
One page at a time; --slide accepts @file to avoid shell escaping.
Write ·
slides +add-slideChanges one block on a page
Replaces or inserts a single title, text block or image without touching other elements.
Write ·
slides +replace-slideOverwrites a whole page
Elements missing from the new content are deleted, so use it for bulk changes only.
Write ·
slides +update-slideDeletes a page
SKILL.md says to read the deck back before deleting.
Delete ·
slides +delete-slideReads the whole deck or one page as XML
Used after creating to verify page count and key elements.
Network ·
slides +xml-get+history-list, +history-revert, +screenshot, +media-upload, +media-download
View or roll back versions, take page screenshots, and upload or download images.
Write ·
History and media
From the official docs
Permissions
Medium risk
Claude can create, overwrite and delete slides in your Lark account and runs a bundled Python lint script. Keep a copy of important decks and check history before big edits.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can overwrite and delete slides
+update-slide drops elements you leave out and +delete-slide removes a page. Read the deck back first; Lark keeps history versions.
It writes plan files into your folder
Plans and XML are saved under .lark-slides/ in your working directory. Add it to .gitignore if needed.
It acts as your signed-in Lark account
lark-cli signs in with your own Lark account. Check the permissions you grant at login.
Technical details
| Talks to | Lark / Feishu Open Platform APIs through lark-cli |
|---|---|
| Scopes |
|
Questions
What does the lark-slides skill do?
It lets Claude create and edit Lark (Feishu) presentations. It plans the deck, writes each slide as XML, checks the layout, creates it through lark-cli and then reads it back to verify.
How do I install lark-slides?
Use the install box at the top of this page. It installs the Lark CLI skills together. The skill also relies on lark-cli, the lark-shared skill and Python for its lint script.
Does it need an API key or image tool?
No key is named in SKILL.md, you sign in with lark-cli. It does require images on every page from an image-generation or image-search tool, so check that your setup has one.
Can it edit one slide without breaking the rest?
Yes. +replace-slide changes only the block you name. +update-slide overwrites the full page and deletes anything not in the new content, so SKILL.md reserves it for bulk edits.
Can it delete slides or revert a deck?
Yes. It can delete a page by its slide ID and revert to an earlier history version. Ask for a read-back before either.
Is the skill in English?
No. SKILL.md is written in Chinese. It also accepts doubao.com slides links.
Is lark-slides safe?
It creates, overwrites and deletes slides in your account and runs a bundled Python linter. On skills.sh the audits read Gen Agent Trust Hub pass, Socket pass and Snyk pass.
Information
updated Nov 2, 2026
- Repository
- larksuite/cli
- Folder
skills/lark-slides
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- larksuite/cli README · github.com
- lark-slides SKILL.md · github.com
- skills.sh listing and audits · skills.sh