LaunchKit · 2026
Back to Skills

kai-tw-figma

Interact with the Figma REST API to read files, export layers/components as images, and retrieve comments.

0
797 downloads
by @kai-tw

Setup & Installation

openclaw skills install @kai-tw/kai-tw-figma

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install kai-tw-figma

Version History

v1.0.3Feb 14, 2026 - Version note by skill developer:

Fix: Declare FIGMA_TOKEN as required environment variable using proper metadata.openclaw.requires.env structure - resolves registry metadata inconsistency

What This Skill Does

Connects an agent to the Figma REST API to read file structures, export layers and components as images, and retrieve comments. Requires a Figma Personal Access Token set as an environment variable.

Lets agents fetch Figma data and export assets programmatically without manual downloads or browser access.

When to use it

  • Exporting design assets before a frontend sprint
  • Checking design comments without opening Figma
  • Pulling layer IDs to automate asset pipelines
  • Reading page and frame structure from a shared file
  • Generating SVG/PNG exports at multiple resolutions

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: export the icon components from this Figma file as 2x PNGs

AGENT
  1. 1Reads the file structure using the file key to locate component node IDs
  2. 2Identifies the relevant icon layer IDs
  3. 3Calls the export endpoint with format=png and scale=2
  4. 4Returns the image URLs or downloads the files
OUTPUT

A set of 2x PNG exports for the requested icon components

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

FIGMA_TOKEN environment variable (Figma Personal Access Token)