# Figma-use – CLI to control Figma for AI agents

I'm Dan, and I built a CLI that lets AI agents design in Figma. What it does: 100 commands to create shapes, text, frames, components, modify styles, export assets. JSX importing that's ~100x faster than any plugin API import. Works with any LLM coding assistant. Why I built it: The official Figma…

- **Page:** https://magpie.gallery/i/figma-use-cli-to-control-figma-for-ai-agents-6fih
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** windows, macos, linux
- **Tags:** figma, cli, ai-agents, design, automation

## Source

Web · dannote: Figma-use – CLI to control Figma for AI agents

- **Original:** https://news.ycombinator.com/item?id=46665169

> I'm Dan, and I built a CLI that lets AI agents design in Figma. What it does: 100 commands to create shapes, text, frames, components, modify styles, export assets. JSX importing that's ~100x faster than any plugin API import. Works with any LLM coding assistant. Why I built it: The official Figma MCP server can only read files. I wanted AI to actually design — create buttons, build layouts, generate entire component systems. Existing solutions were either read-only or required verbose JSON schemas that burn through tokens. Demo (45 sec): https://youtu.be/9eSYVZRle7o Tech stack: Bun + Citty for CLI, Elysia WebSocket proxy, Figma plugin. The render command connects to Figma's internal multiplayer protocol via Chrome DevTools for extra performance when dealing with large groups of objects. Try it: bun install -g @dannote/figma-use Looking for feedback on CLI ergonomics, missing commands, and whether the JSX syntax feels natural. https://github.com/dannote/figma-use

## GitHub projects

- https://github.com/dannote/figma-use

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
