figma-cli
Skill by silships
figma-cli is a skill that builds and edits designs directly in Figma Desktop from the terminal. It is for designers and developers who want an AI assistant to create frames, manage design tokens and check accessibility without an API key.
Install figma-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/silships/figma-cli /tmp/figma-cli && mkdir -p ~/.claude/skills && cp -r /tmp/figma-cli/skills/figma-cli ~/.claude/skills/figma-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/silships/figma-cli /tmp/figma-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/figma-cli/skills/figma-cli ~/.gemini/antigravity-cli/skills/figma-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
figma-cli is an agent skill that lets an AI assistant control Figma Desktop through the figma-cli command. It connects to Figma over a local connection and needs no API key. The skill covers creating and rendering frames, components and variants, and binding colors to design tokens or variables.
The skill can import design tokens from shadcn, Tailwind, DTCG and CSS files, and export an open file's design system to DESIGN.md. It also includes checks such as verifying node sizes, running accessibility audits, and checking a component against its extracted spec. It is aimed at people who want to build or update Figma designs from the terminal or through an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- render and render-batchCreates Figma frames from JSX-style markup, including several top-level nodes in one batch.
- Design tokens and variablesBinds colors with var:name and imports tokens from Tailwind, CSS, DTCG or tokens.json files.
- extractExports the open file's design system to a DESIGN.md file.
- spec and spec --checkLists authoritative variant axes for a component and checks a node against them.
- verify --measureReturns a screenshot and the real width and height of a created node.
- a11y auditRuns accessibility checks for contrast, touch targets and text.
- shadcn addAdds shadcn primitives to the file, with a --count option for several copies.
- Figma Motion presetsApplies animation presets to nodes using Figma Motion, which is in beta.
- blocks createCreates pre-built layouts such as a dashboard.
What you need
- Figma Desktop
- Node.js 18 or later
- A terminal
- The figma-cli project installed from GitHub
Try asking
- Build three pricing cards in Figma using my design tokens
- Import my Tailwind config into Figma as variables
- Run an accessibility audit on my current Figma file
Good to know
- Figma Motion is marked as beta.
- Default connect mode patches Figma Desktop once. Browser mode does not modify the Figma app.
- Safe mode uses the official plugin, reached through Plugins, Development, FigCli.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/figma-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to figma-cli
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
figma-cli: common questions
Does figma-cli need a Figma API key?
No. The source says figma-cli controls Figma Desktop over a local connection and needs no API key.
Can figma-cli import my existing design tokens?
Yes. The source says it can import tailwind.config.js, globals.css and tokens.json files, and it also covers shadcn and DTCG formats.
Will figma-cli delete my existing nodes?
The skill's rules say it must never delete the user's existing nodes.
How do I install figma-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is figma-cli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figma-cli safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to figma-cli?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
