figma-cli
Installation
SKILL.md
Figma CLI Skill
Use this skill when an agent needs stable, reproducible reads from the Figma REST API through figma-cli.
CLI Setup
- Before using Figma commands, check whether
figma-cliis available withcommand -v figma-cli. - If missing, install with
brew install --cask wohsj110/tap/figma-cli; without Homebrew,go install github.com/wohsj110/figma_cli/cmd/figma-cli@latest(requires Go ≥ 1.26).
Credential Setup
- Verify access first:
figma-cli me. If it prints the current Figma user, credentials are ready. - If not configured, ask the user for a Figma personal access token, then store it in the OS keyring:
printf %s "$FIGMA_TOKEN" | figma-cli init --token-stdin