Figma use_figma prerequisite
Sets the rules an agent must load before every use_figma call that runs Plugin API JavaScript in a Figma file: return values, page resets, colours, fonts, node IDs, small validated steps. Use when creating or editing anything inside a Figma file.
figma-use- Author
- OpenAI
- Source
- openai/skills/skills/.curated/figma-use @ 49f948f
- License
- Figma Developer Terms
About this skill
What it does
use_figma is the Figma MCP tool that runs JavaScript inside a Figma file through the Plugin API. This skill is the rule set the agent must load before every such call, which makes it the prerequisite for every write in the Figma set: generate-design and generate-library require it, and create-new-file points to it before the first write.
The rules target scripts that crash or quietly do the wrong thing: output only through return, colours from 0 to 1, fonts loaded before text edits, setCurrentPageAsync because every call starts on the first page, explicit scopes on every variable, and every created or changed node ID returned for the next call. A failed script changes nothing, so after an error the agent stops and reads the message instead of retrying at once. Work goes in small calls — inspect, then tokens, components, layouts — each checked with get_metadata and, at milestones, get_screenshot.
references/ carries the depth: gotchas.md with wrong and correct code per pitfall, script scaffolds, pattern files for components, variables and styles, plus the Plugin API typings plugin-api-standalone.d.ts (about 450 KB, meant for search) with an index.
When to use it, and when not
Use it for any write to a Figma file — nodes, variables, components, auto layout, bindings — and for reading file structure by script. It targets design files; in FigJam most design node types are blocked.
Reading a design to write code does not need it: that is Figma MCP design context.
How to run it
We do not copy this skill: its files fall under Figma's Developer Terms, not an open licence. Install it from the author's repository with the button to the source; in Codex the route is $skill-installer figma-use, for another agent copy the folder into its skills directory. OpenAI has marked openai/skills deprecated; newer versions live in openai/plugins. It needs the Figma MCP server with use_figma.
- Claude Code:
/figma-use, or ask for the skill by name. - Codex:
$figma-use. - Cursor: type
/in the Agent chat and pickfigma-use.
Example: /figma-use Add a "Spacing" variable collection with 4, 8, 16 and 24 to this file, scoped to gap only.
How it differs from similar skills
It is the API layer under the skills that write into Figma. Generate a Figma design from an app and Figma design system from a codebase decide what to build and in which order and load together with it; alone, it suits single edits and new components. No skill outside the Figma set covers the Plugin API.
Install
This skill is not copied to the catalog: its licence does not allow it. Install it from the author's repository.
Connect through AnyModel API
This skill runs on whatever model your agent uses. Point Claude Code, Codex or Cursor at AnyModel to run it on Claude, GPT, Gemini and more with one key — pay per token, no subscription.
AnyModel