⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
figma-agent
Figma MCP integration for OpenClaw. Use when the user wants to read Figma designs, inspect design tokens/variables, work with Code Connect, or create/edit Figma designs. Requires one-time bootstrap setup.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
What this skill does
Figma Agent is not just a raw MCP wrapper. It is a structured OpenClaw skill for working with Figma in two modes:
- Direct read / inspect for screenshots, metadata, design context, variables, and Code Connect inspection
- Structured write / edit workflows for building screens, reviewing existing work, applying tokens, and iterating on designs through ACP coding sessions
Typical use cases:
- "Show me this screen and tell me what is off"
- "Build the next step based on this existing screen"
- "Replace hardcoded colors with design-system tokens"
- "Inspect local variables and Code Connect mappings"
- "Create a production-ready screen using existing components"
Core architecture
The skill is intentionally split into four layers:
SKILL.md— routing surface for deciding direct read vs ACP write/editreferences/workflow-selection.md— workflow and strategy selectionreferences/core-rules.md— global execution rules and constraintsreferences/prompting-patterns.md+ playbooks — prompt structure and step-by-step execution
Runtime model
- Read / inspect goes directly to Figma MCP
- Write / create / edit goes through an ACP coding session with Figma MCP available
This hybrid model keeps inspection fast while preserving a stronger execution path for canvas changes.
Execution model
The controller should operate in three phases:
- Route & Brief — choose the workflow, identify the actual risks, and produce a lean execution brief
- Execute — perform the direct read or ACP write/edit task
- Done Gate — require structural checks first and screenshot confirmation second before reporting success
Supported workflows
Read / Inspect
- Read-only inspection — screenshots, metadata, design context, variables, Code Connect context
- Variable Discovery — inspect local tokens and styles before searching externally
- Design Audit Review — review a finished design and identify issues or cleanup opportunities
Create / Edit
- Native Screen Generation — production-ready, design-system-aligned screen creation
- Screen Review Loop — screenshot, isolate issues, apply targeted fixes, validate
- Color Tokenization — replace hardcoded values with variable bindings
- HTML-to-Figma Prototyping — rapid exploration from HTML/CSS, then cleanup
- Stitch Import Cleanup — fix imported Stitch output for native Figma quality
- State Variants / Next Steps — prefer Copy + Edit over rebuild when most of the screen already exists
Execution principles
- Design-system-first — use local variables, styles, components, and Code Connect before creating anything raw
- Component-instance-first — if a suitable component exists, instantiate it instead of rebuilding it visually
- Section-by-section — build in small validated steps, not giant write calls
- Validate after every write — structural checks first, screenshots second
Quick Start
Prerequisites
- OpenClaw installed
- Node.js available
- Figma account connected to a supported MCP client
- Full Seat in Figma for write operations (
use_figma)
Install
Via ClawHub (recommended):
clawhub install figma-agent
Manual install:
cd ~/.openclaw/skills
git clone https://github.com/rasimme/figma-agent.git
cd figma-agent
npm install
Bootstrap authentication
node ~/.openclaw/skills/figma-agent/scripts/bootstrap-token.mjs
The bootstrap script extracts or refreshes the Figma MCP token from a supported MCP client and writes the Figma server config into your OpenClaw config.
Then restart OpenClaw:
openclaw gateway restart
Verify
Check that Figma MCP is configured in ~/.openclaw/openclaw.json under mcp.servers.figma, then try a simple read action such as get_screenshot or get_metadata.
Image Delivery
For chat delivery, screenshots should be sent as actual image attachments, not inline base64 blobs.
Recommended pattern
- Save the screenshot to disk with
--out - Reply with
MEDIA:<path>
Example:
node scripts/figma-mcp-cli.mjs get_screenshot \
fileKey=<fileKey> nodeId=<nodeId> scale=2 \
--out ~/workspace-dev-botti/screenshots/validate.png
Then in chat:
MEDIA:screenshots/validate.png
Important distinction
imagetool = image analysis / vision inputMEDIA:<path>= actual chat attachment delivery
This matters especially on Telegram, where inline base64 is not the same as a native image attachment.
Tool coverage
The skill supports the official Figma Remote MCP toolset for inspection and canvas operations. Commonly used tools include:
get_design_contextget_screenshotget_metadataget_variable_defssearch_design_systemget_code_connect_mapget_figjamwhoamiuse_figmacreate_new_filegenerate_figma_designgenerate_diagram- Code Connect mapping helpers
For full tool-level details, see references/figma-api.md.
Limitations
Current known constraints:
- Write operations require a Full Seat in Figma
- Large write calls are fragile — split work into smaller sections
- Remote MCP write behavior still has edge cases — validate after each change
- Some Plugin API behavior differs in Remote MCP — see
references/plugin-api-gotchas.md - Image delivery works best through local file output +
MEDIA: - State variants should usually duplicate and edit existing screens rather than rebuild from scratch
- Playbooks guide the agent, not ACP automatically — critical execution constraints must still be injected into ACP prompts when relevant
Project structure
figma-agent/
├── SKILL.md
├── README.md
├── CHANGELOG.md
├── LICENSE
├── package.json
├── references/
│ ├── core-rules.md
│ ├── figma-api.md
│ ├── plugin-api-gotchas.md
│ ├── prompting-patterns.md
│ └── workflow-selection.md
└── scripts/
├── bootstrap-token.mjs
├── figma-mcp-cli.mjs
├── figma-mcp.mjs
└── token-scanner.mjs
License
MIT — see LICENSE.
// HOW IT'S BUILT
KEY FILES