lark-slides

lark-slides is a skill for Claude Code, Codex from larksuite/cli. It costs 156 tokens per session (7,970 once invoked), scanned A, original, MIT.

A tool for creating, reading, and editing Feishu presentations, which are slide-based documents. It can manage whole presentations or make targeted changes to individual slides.

In plain words
What is it for?
Use it to create presentations, read slide content, add or remove slides, and replace parts of a specific slide.
Why use it?
It provides a direct way to work with slide content without treating it as a regular document or file upload.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/larksuite/cli/lark-slides
Any agent
npx skills add larksuite/cli --skill lark-slides
Clone the repo
git clone --depth 1 https://github.com/larksuite/cli

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/larksuite/cli/lark-slides.svg)](https://agentmods.dev/skills/larksuite/cli/lark-slides)
Your own site
<a href="https://agentmods.dev/skills/larksuite/cli/lark-slides"><img src="https://agentmods.dev/badge/skills/larksuite/cli/lark-slides.svg" alt="Measured on agentmods" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,970 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found 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 $0.00156 $0.07970
Opus 5 $0.00078 $0.03985
Sonnet 5 $0.00031 $0.01594
Haiku 4.5 $0.00016 $0.00797

Measured 4d ago against content hash 1f49aad386ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lark-slides scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/iconpark_tool_test.py, scripts/iconpark_tool.py, scripts/sxsd_validator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

8. **`<img src>` 只能用上传到飞书 drive 的 `file_token`,禁止使用 http(s) 外链 URL**:飞书 slides 渲染端不会代理外链图片,外链 src 在 PPT 里通常不显示或显示破图。流程必须是「先把图存到本地 → 用 `slides +media-upload` 上传,或在 `+create --slides` 的 XML 里写 `<img src="@./path">` 占位符自动上传
skills/lark-slides/SKILL.md · 318 lines

How it starts

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

slides (v1)

本技能文档较长,务必使用 Read 工具阅读两次,必须阅读完整全文。

权威经验

权威经验是全局硬约束和高频易错点,必须牢记并严格遵守。

  • 你有充足的时间完成这个 PPT,质量永远比速度重要。
  • PPT 的尺寸是 960x540,必须严格确保主体内容在页面边界内。
  • !!!禁止交付无图产物!!! 必须使用大量图片增强视觉效果!!! 禁止重复使用同一张图!!!
  • 封面页的主视觉必须是 <img>(来自生图工具或搜图工具),不要使用 <shape><icon> 拼出封面视觉。
  • 禁止用 <shape><line> 拟形具体物项,必须使用生图工具生成的 <img>
  • 禁止在 headlinetitle 下方放置用于分隔或装饰的 rect<line>
  • 禁止在任何页面内部使用无意义的装饰线条或色块条带,页面任何一边都不要使用贴边窄条。
  • 生图工具的指令参数必须以“不要出现任何文字和颜色色号”结尾,避免生成的图片上出现干扰文字。
  • 禁止使用 emoji 图标,任何位置都不能出现。
  • 字号必须显式设置 <content>fontSize 属性,不要依赖 textType 的默认字号兜底,这些兜底值明显偏大。
  • 大数字、字号大或字数多的 <content> 必须设置 wrap="true" autoFit="normal-auto-fit" 属性自动换行和缩排,避免文字溢出。
  • 文字颜色必须用 <content>color 属性而不是 fontColor 属性。
  • 文字行间距必须设置 <content>lineSpacing="multiple:xx"lineSpacing="fixed:xx" 而不是 lineSpacing="xx"
  • 图片必须用 <img> 而不是 <image>
  • IconPark 图标必须填充颜色(设置 <fill><fillColor color="rgba(R,G,B,A)"/></fill>)并和背景有足够对比。
  • 绘制图表时原生图表(柱状、条形、折线、面积、饼(环)、雷达、组合图)用 <chart>,其他(漏斗图、金字塔图、象限图、矩阵图等)用 <shape> + <line> 模拟。
  • 隐藏 <chart> 的图例只能通过不写或删除 <chartLegend> 实现,<chartLegend> 不支持 position="none"
  • 表格优先用 recttext 模拟,其他用 <table>,没有 <shape type="table">
  • 必须设置 <table>widthheight 固定表格大小,同时设置需要保留列宽或行高的 <col>width<tr>height,其余自动分配。
  • <td> 直接子元素只有 <fill>(背景)、<content>(文字)和边框配置(一般不用),不能嵌套 <shape><img><icon>
  • <shape type="rect"> 只是形状不是容器,<icon><img><shape type="text"> 和其他 <shape> 必须与它平级靠坐标叠放。
  • 填充渐变颜色必须用 <fill><fillColor color="linear-gradient(135deg, rgba(R,G,B,A) 0%, rgba(R,G,B,A) 100%)"/></fill>
  • 编辑页面前必须阅读 workflow/slides-editing.md
  • 绘制图表前必须阅读 xml/slides_chart_demo.xml
  • 当用户要求无损复述历史上下文时,必须无损复述以上权威经验、必读的技能文档(需要重新阅读)和易错元素语法(尤其是 <table><chart>)。

豆包设计原则

适用范围:

  • 普通内容页的设计必须以豆包设计原则为最高准则,除非用户要求使用模板或直接提供设计方案。
  • 不适用于 title-coversection-dividerconclusionquote-highlightbig-number

Read the full file on GitHub · 318 lines

Files

What ships with it

49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 318 lines · 156 tokens per session scan A 1f49aad386ac

Subscribe to this mod's changes

lark-slides is a skill published in the GitHub repository larksuite/cli (16,971 stars, last pushed today), licensed MIT. It adds 156 tokens to every session and 7,970 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens