Skip to content

Guide · Agent skill

How to use the Lark Slides Builder agent skill (lark-slides)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The lark-slides skill is a set of instructions and bundled tools that teaches an AI agent how to work with Feishu (Lark) presentations through the lark-cli command-line tool. It covers creating a new deck from a planned outline, reading existing slides as XML, editing individual pages, and rolling back to earlier versions. This guide explains what the skill does, how to install it, how to trigger it with normal requests, and what it needs to run.

Lark Slides Builderlarksuite/cli · MIT

Quick start

  1. 1Install lark-cli and sign in. Install the lark-cli tool and authenticate with your Feishu/Lark account, following the lark-shared skill. Confirm that the slides commands are available with lark-cli slides --help.
  2. 2Download and unzip the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project.
  3. 3Restart or load the skill. Make the skill available to your agent. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
  4. 4Make a request. Ask in plain language to create or edit slides, or give a Lark slides link to read. Name the deck and the result you want.
  5. 5Review the output. Ask the agent to read back the XML or take a screenshot of the affected pages to confirm the result.
  6. 6Revert if needed. If a change is wrong, ask the agent to list the history and revert to an earlier version.

What the lark-slides skill makes the agent do

An agent skill is a folder of instructions (a SKILL.md file plus reference documents and scripts) that an AI agent reads when a task matches the skill's description. This one is specific to Feishu (Lark) Slides. Once it is loaded, the agent follows a playbook for creating decks, reading slides, and changing pages.

The skill's documented capabilities include creating a presentation, reading slide content, replacing or updating individual slides or elements, adding and deleting pages, taking screenshots, uploading and downloading images, and viewing or reverting history versions. It also sets strict design rules, such as a 960x540 page size, explicit font sizes and image-heavy layouts, which shape the slides the agent produces.

  • Create a new deck from a planned outline
  • Read a deck as XML, either whole or one page at a time
  • Replace a single block, or overwrite a whole page
  • Add, insert or delete pages
  • Take screenshots of pages
  • Upload images, or download them from a deck
  • Roll back to an earlier version using history

What you need before installing

The skill cannot work without the lark-cli command-line tool and a Feishu/Lark account with access to the target documents. The skill's metadata names lark-cli as the required binary, and its authentication and permissions are defined in the separate lark-shared skill, which the agent is told to read first.

The skill also refers to an image generation or image search tool for cover and content images. The source does not specify which tool, so you need to supply one yourself if you want the agent to add generated or searched pictures.

  • lark-cli installed and available as the lark-cli command
  • A Feishu/Lark login with permission to the presentations you want to work on
  • The lark-shared skill, which defines authentication and global options
  • An image generation or search tool for cover and content images (not named in the source)
lark-cli slides --help

How to install the lark-slides skill

Download the ZIP for this skill from this page and unzip it. To make it available to Claude Code for all your projects, place the folder in ~/.claude/skills/. To limit it to one project, place it in that project's .claude/skills/ folder.

If you use the Claude apps instead, open Settings, go to Capabilities, then Skills, and upload the skill there.

  • Personal (all projects): ~/.claude/skills/lark-slides
  • Single project: .claude/skills/lark-slides inside the project folder
  • Claude apps: Settings → Capabilities → Skills, then upload

How to trigger the skill with a natural request

You do not need special syntax. The skill's description tells the agent to use it when you ask to create or edit slides, or to read or change a single page. Describe the result you want in plain language and name the deck if you have one.

If you give the agent a doubao.com URL whose path contains /slides/, the skill is meant to be used directly rather than falling back to web fetching. Routing is based on the URL path pattern and token, not the domain. Requests about Lark cloud documents, whiteboards or ordinary Drive files are handled by other skills, not this one.

  • "Create a 6-page slide deck from this outline in Feishu Slides."
  • "Read this Lark slides link and summarise each page."
  • "Replace the title on slide 3 of this deck with a shorter version."
  • "Show me the history of this presentation and roll back to the previous version."

Examples of how the workflow runs

For a new deck, the skill asks the agent to plan the deck first, then write the slide XML, then check it. For small edits to an existing page, the agent can change only the named element and leave the rest of the page alone. Large rewrites, such as changing the background or deleting several elements, overwrite a whole page, which removes any element not included in the new content.

Before submitting slide XML, the skill requires the agent to save it to a local file and run the bundled scripts/xml_lint.py checker, and the error count must be zero. After creating or rewriting pages, the agent is expected to read the XML back and check page count and key elements.

  • Small change: replace one block on one page
  • Large change: overwrite one page, after noting that unlisted elements are removed
  • Long decks: create the empty deck first, then add pages one at a time
  • Existing PPTX template: import it into Slides first (the skill's template-editing workflow covers this)

Safety notes: scripts and network access

This skill runs scripts and uses the network. Its workflow calls lark-cli to read and write your Feishu documents, uploads local images to Feishu, and downloads images from decks. The bundled scripts include scripts/xml_lint.py, which the skill requires you to run on slide XML before submission.

Read the skill files before you install it, and use an account and documents you are prepared to let the agent change. The skill's own rules say images must be uploaded as file tokens rather than external http(s) links, so picture links are not written into slides directly.

  • It runs local scripts, including scripts/xml_lint.py
  • It sends and receives data with Feishu through lark-cli
  • Overwrites and deletions affect the live deck; use history to revert if needed
  • Check the lark-cli permissions you have granted before running it on important decks

Tips for better results

Give the agent a clear outline with the page count and purpose of each page, because the skill plans from a slide plan. For decks over 10 pages, the skill recommends creating the deck empty and adding pages one at a time. Check the result by asking for a page screenshot.

The skill's design rules are dense and image-heavy by design. If you need a fixed brand template, say so in your request so the agent uses your template instead of its default layout.

  • State the audience, page count and key message up front
  • Ask for screenshots to review each page visually
  • For brand templates, import your own PPTX rather than relying on default layouts
  • Use history to compare and revert versions before keeping large changes

What people use it for

  • Drafting a new deck from a planned outline in Feishu Slides
  • Reading and summarising an existing deck page by page
  • Replacing a title, text block or image on one slide without changing the others
  • Adding or deleting pages in a deck that is already in use
  • Taking screenshots of slides for review and rolling back a bad revision

Frequently asked questions

Is the lark-slides skill free?

The skill is published under the MIT licence, as stated in its source listing. The source does not describe pricing for Feishu or lark-cli, so check those services separately.

What do I need to install lark-slides?

You need the lark-cli command-line tool, a Feishu/Lark account with permission to the documents, and the lark-shared skill for authentication. You also need an image generation or search tool for pictures, which the source does not name.

Where do I put the skill folder?

Place it in ~/.claude/skills/ to use it across projects, or in a project's .claude/skills/ folder to limit it to that project. In the Claude apps, upload it under Settings → Capabilities → Skills.

Does lark-slides work with Google Slides or PowerPoint?

The skill is for Feishu (Lark) Slides only. To work with an existing PPTX file, the skill's workflow imports it into Feishu Slides first, using drive import with type slides.

Can the skill edit Lark documents or whiteboards?

No. The skill states that cloud document editing belongs to lark-doc, whiteboard objects to lark-whiteboard, and ordinary file upload or download to lark-drive.

Why does the skill run scripts and use the network?

It runs scripts/xml_lint.py to check slide XML and calls lark-cli to read and write Feishu content, including uploading and downloading images. Review the files and your permissions before using it on important decks.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Choose lark-slides if your team already uses Feishu/Lark and wants an agent to draft, read or revise presentations with lark-cli access. Pick something else if you do not have a Feishu account, need strict fixed brand templates, or want to edit documents, whiteboards or general files, which this skill does not handle.

Download the skill