Skip to content
Codex DesignBETA

figma-use skill for Codex.

The figma-use skill teaches Codex how to write to Figma: it loads before every use_figma call, which runs Plugin API JavaScript in your file to create nodes, set up variables and build components. It ships in Figma’s plugin for Codex.

Updated November 12, 2026 · 3 min read

At a glance

Skill namefigma-use
Comes withThe Figma plugin, by Figma
Installcodex plugin add figma@openai-curated, or /plugins in Codex
Codex uses itBefore every use_figma call: creating or editing nodes, variables, components, auto layout or fills
Sourceopenai/plugins on GitHub

What it does

Figma calls this skill a mandatory prerequisite, because skipping it causes failures that are hard to debug. It is a rulebook for the Plugin API, with a short index and a full typings file that Codex searches instead of loading at once.

The rules it enforces include:

  • Output: send data back with return. console.log() isn’t returned and figma.notify() throws. Return the IDs of every node created or changed.
  • Small steps: at most 10 logical operations per call, building top-down with placeholders and checking with get_metadata and get_screenshot after each step.
  • API traps: colors use a 0 to 1 range, fills are read-only arrays to clone and reassign, fonts must be loaded before any text edit, and pages switch only with await figma.setCurrentPageAsync(page).
  • Editor type: it tells Design, FigJam and Slides files apart by URL, since each allows different node types.

It also points Codex to reference files on components, variables, text and effect styles and design systems, and to the companion skills for building full screens or component libraries.

When to use it

Install it whenever you want Codex to make changes inside Figma rather than just read from it: set up tokens, build a component with variants, or lay out a page from code.

Try it

Create color variables in Figma
Use the figma-use skill. In this Figma file, create a color variable collection with light and dark modes for our brand colors, scope each variable correctly, and bind them to the buttons on the Components page.

Does it work in Claude Code?

Yes, with the Figma MCP server. The skill is a standard SKILL.md with plain reference files, so you can copy the folder into ~/.claude/skills. The use_figma, get_metadata and get_screenshot tools come from Figma’s MCP server, so connect it in Claude Code first. Links to the other Figma skills only work if you copy those too.

Keep reading

An independent plugin for Codex. Not affiliated with or endorsed by OpenAI.