figma-cli
Talk in plain English. Watch Figma build.
You describe what you want, an AI assistant builds it live in your Figma.
No API key. No copy-paste. No plugin to babysit. No code to write.
Built by Sil Bormüller: Founder of Into Design Systems
Join my AI conference: AI Design Conference 2027 on March 10 and 11 2027 online
What is this?
figma-cli lets an AI assistant build directly in your Figma, while you talk to it in normal language.
You don't run commands or write code. You open Claude in this project and say things like:
"Create three pricing cards."
"Use my brand's design system."
"Make those buttons look like Stripe."
"Check the contrast on this screen."
Claude does the rest. Figma updates in real time, in front of you.
It works with real, editable Figma , actual frames, components, variants and variables , not a flat image. And it runs locally: no API key, nothing sent to a cloud service. No rate limits either (why).
Setup in 4 steps
You need Google Chrome, a Figma account and Claude Code. You never type a command yourself
1. Install Claude Code
Claude Code is the AI assistant that runs figma-cli for you. Install Claude Code
2. Open Claude Code and paste this
Download github.com/silships/figma-cli into my home folder, set it up and connect it to Figma
3. Sign in to Figma in the Chrome window that opens
You sign in only the first time. Then open a design file or create a new one. Claude connects as soon as the file is open
4. Tell Claude what to build
Create a primary button and a secondary button
Figma builds it in the Chrome window while you watch
Next time open Claude Code in the figma-cli folder and say "connect to Figma". Chrome opens your last file by itself
No Chrome? Edge, Brave and Chromium work too. Working in the Figma Desktop app instead? See How it connects to Figma. Using Cursor? See Using Cursor
Install as a Claude Code plugin (optional)
Prefer Claude Code's plugin system? This repo is also a plugin marketplace, so
Claude Code learns the figma-cli workflow in any project (not just this one) after
a two-line install:
/plugin marketplace add silships/figma-cli
/plugin install figma-cli@intodesignsystems
That installs a skill that teaches Claude Code how to drive figma-cli (connect
modes, the render/JSX rules, tokens, verify, a11y). The CLI itself still needs
Node ≥ 18 and its dependencies , clone this repo and run npm install once (or
ask Claude to), then say "connect to Figma in the browser". The plugin
supplies the know-how; the local CLI does the work.
Using Codex
Codex uses the same skill already included in this repo. Add the marketplace and
install the plugin with:
codex plugin marketplace add silships/figma-cli
codex plugin add figma-cli@intodesignsystems
The plugin teaches Codex how to drive figma-cli. The CLI itself still needs
Node ≥ 18 and its dependencies, so clone this repo and run npm install once.
Then ask Codex to connect to Figma in the browser.
For project-only guidance without the plugin, run
figma-cli init-agent --tool codex. It adds the existing figma-cli rules to an
AGENTS.md without touching any CLAUDE.md or Cursor rules.
Using Cursor