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.
npx skills add HK-hub/AgentSkills --skill figma-use-slidesgit clone --depth 1 https://github.com/HK-hub/AgentSkillsWrote 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.
[](https://agentmods.dev/skills/hk-hub/agentskills/figma-use-slides)<a href="https://agentmods.dev/skills/hk-hub/agentskills/figma-use-slides"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/figma-use-slides/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.
<a href="https://agentmods.dev/skills/hk-hub/agentskills/figma-use-slides"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/figma-use-slides.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.04906 |
| Opus 5 | $0.00022 | $0.02453 |
| Sonnet 5 | $0.00009 | $0.00981 |
| Haiku 4.5 | $0.00004 | $0.00491 |
Grade A, and why
figma-use-slides 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 7d 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.
This is a copy
95% identical to figma-use-slides — 55 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.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
use_figma — Figma Plugin API Skill for Slides
This skill contains Slides-specific context for the use_figma MCP tool. The figma-use skill provides foundational context for plugin API execution via MCP as well as the full Figma plugin API for more advanced use-cases that are not described here.
Always include figma-use-slides in the comma-separated skillNames parameter when calling use_figma for Slides operations. If this skill was loaded via an MCP resource, you MUST prefix the name with resource: (e.g. resource:figma-use-slides). This is a logging parameter used to track skill usage — it does not affect execution.
Choosing How to Build a Slides Deck
If your environment also provides a generate_deck tool, choose one approach per deck request — do not call both for the same deck.
When to use which
use_figma + this skill (default): Handles any Slides task — new decks, edits to existing decks, brand-matched designs, reference-file styling, iterative refinement, speaker notes, and full creative control over layout, color, and typography. Use this for most requests.
generate_deck: Generates a complete deck in a single call using prebuilt, curated templates. Useful for quick, straightforward decks where the user doesn't need custom design, brand matching, or reference-file styling. It cannot use custom templates, cannot reference other Figma files for design direction, and does not support iterative editing or follow-up modifications through the conversation.
When in doubt, default to use_figma + this skill — it covers everything generate_deck can do and more.
Pick one and commit
Once you choose an approach for a deck, complete the entire request with that approach. Do not generate a deck with generate_deck and then also create or populate a file with use_figma — the user ends up with duplicate, conflicting artifacts and a confusing experience.
Critical Rules (Slides-specific)
- Newly created Slides files have a default light theme. When a Slides file is created via
create_new_file, a default light theme is automatically initialized. This theme is structural scaffolding — you should overwrite the theme's color variables and text styles with your own design direction for the deck you're building. Do not rely on or be influenced by the default light theme tokens. - MUST
appendChildBEFORE settingx/y— for every node, at every level of nesting. Newly created nodes are silently auto-parented to a slide context at absolute(240, 240)(the slide grid'sGRID_PADDING). Writingx/ybeforeappendChildcauses the value to be stored against that hidden origin; the node then lands at(intended − 240, intended − 240)once you attach the real parent. The bug is intermittent — some frames in the same script escape it, so a working test is not proof you're safe. Signature to recognize: if any node ends up(−240, −240)from where you set it, your code setx/ybefore the finalappendChild. Do NOT try to compensate by adding 240 back — that produces worse output on retry. Fix the order instead. See slide-gotchas.md for the helper pattern that makes the order impossible to get wrong. - SLIDE_GRID and SLIDE_ROW are opaque nodes — do not access
.fills,.effects, or layout properties on them. OnlySLIDEnodes (type'SLIDE') extendBaseFrameMixin. Exception:SLIDE_ROW.nameIS settable — that's how plugins rename slide sections (e.g.slideRow.name = "Intro"). See slide-lifecycle.md. get_metadatadoes NOT work on Slides files. Useuse_figmaread-only scripts for validation. Return created node positions inclosePlugin()output and verify no overlapping bounding boxes.- Do NOT call
figma.createPage()in Slides. It throwsTypeError: figma.createPage no such property 'createPage' on the figma global object—createPage()is a Design-file API only (figma.com/design/...); the Slides URL isfigma.com/slides/.... Use the slide grid (SLIDE_GRID/SLIDE_ROW/SLIDE) to organize deck structure instead — see slide-lifecycle.md and slide-grid.md. - Never delete existing slides to rebuild them. When asked to improve, redesign, or restyle a deck, modify the existing slides in place. Only delete slides when the user explicitly asks to "start over" or "redo from scratch."
What ships with it
6 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.
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.
- 7d ago First seen · 215 lines · 43 tokens per session scan A 0a69a65e686d
figma-use-slides is a skill published in the GitHub repository HK-hub/AgentSkills (6 stars, last pushed 23d ago), licensed MIT. It adds 43 tokens to every session and 4,906 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to figma-use-slides, differing in 55 lines, and is treated as a copy.
Other skills, from other repositories
mermaid
Create, validate, and repair Mermaid.js diagrams. Use when generating flowcharts, sequence, class, ER, state, or Gantt diagrams, or any visualization.
loft
Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks.…
plannotator-annotate
Open Plannotator's annotation UI for a file, folder, or URL, then address the returned annotations.
visual-qa
Runs rigorous visual QA across web, terminal, and paginated surfaces with screenshot evidence and a verdict. Use for any UI build or change, or when asked whether a page, component, or TUI looks right.
frontend
Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.
layout-skill
Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…