/SKILL.md
Read-only Figma REST API workflows for file inspection, audits, token extraction, typography analysis, component listing, asset export, comment retrieval, text extraction, text search, node style inspection, node diffing, and combined node inspection. Use when a user provides a Figma file key or URL and needs implementation-facing design data without opening Figma manually.
npx skillsauth add iannuttall/figma-cli figmaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the local fig command for fast Figma analysis and exports.
Assume fig is already installed and authenticated.
If a command fails with FIGMA_TOKEN is not configured, tell the user to run:
fig auth
source ~/.zshrc
Then retry the original fig ... command.
Every command accepts either:
5264IJYvl05aFGo7uC5X7Ghttps://www.figma.com/design/5264IJYvl05aFGo7uC5X7G/...fig --help
fig <command> --help
Use help first when you're unsure about flags on a specific command.
fig exportfig textfig stylesfig colorsfig inspectfig treefig commentsfig searchfig difffig info (no --node-id)fig auditfig typographyfig tokensfig componentsfig quickfig comments <file-or-url> --unresolved
fig inspect <file-or-url> --node-id <node-id-from-comment>
fig export <file-or-url> --node-ids <same-node-id> --format png --retina
Why: comments gives feedback, inspect gives code-ready details, export gives visual confirmation.
fig text <file-or-url> --node-id <node-id>
Why: this is copy/pasteable text. PNG export is not.
fig styles <file-or-url> --node-id 2039-16736
fig styles <file-or-url> --node-ids 2039:16736,2039:6114,2039:6200
fig colors <file-or-url> --node-id 2039:16736
fig colors <file-or-url> --node-id 2039:16700 --depth 2
fig search <file-or-url> --text "Shortened copy"
fig inspect <file-or-url> --node-id <match-node-id>
fig inspect <file-or-url> --node-id <match-node-id> --deep
fig inspect <file-or-url> --node-id <match-node-id> --recursive 2
fig diff <file-or-url> --node-ids 2039:16736,2039:6114
fig tree <file-or-url> --node-id 2039-16700 --depth 3
fig styles <file-or-url> --node-ids 2039:16701,2039:16702,2039:16703
fig export <file-or-url> --node-ids 2039:16700 --format png --retina
Optional close-up crop:
fig export <file-or-url> --node-ids 2039:16700 --format png --crop 0,0,800,120
--node-id works on: audit, typography, comments, text, search, styles, colors, inspect, tree--node-ids works on: export, diff, styles--page works on: info, audit, comments, text, search, components, treefig info does not support --node-idtext and search, use --node-id or --page, not both--page does not work on: styles, inspect, export, diff, tokens, typography--crop works only on export with --format png2005-5651 and 2005:5651diff needs two IDs separated by comma:
--node-ids 2005:5651,2005:6000fig comments <file-or-url> --unresolved --format json
fig inspect <file-or-url> --node-id 2039-16736 --format json
fig styles <file-or-url> --node-id 2039-16736 --format json
fig styles <file-or-url> --node-ids 2039:16736,2039:6114 --format json
fig colors <file-or-url> --node-id 2039:16700 --depth 2 --format json
fig tree <file-or-url> --node-id 2039:16700 --depth 3 --format json
fig diff <file-or-url> --node-ids 2039:16736,2039:6114 --format json
FIGMA_TOKEN is not configured:
run fig auth then source ~/.zshrc, then retry.Node <id> not found:
confirm the node ID from fig comments, fig search, or Figma inspect panel.unknown option --node-id on fig info:
expected; info is file/page level only.fig tree <file-or-url> --node-id <id> --depth 3fig inspect <file-or-url> --node-id 2070:20929
then try 2070:20930, 2070:20931, etc.fig info --page behaviorfig info <file-or-url> --page "<name>" now lists top-level items on that page with IDs and types, not just count.fig styles sample output.figma-node-2039-16736 {
width: 160px;
height: 48px;
padding: 12px 20px 12px 20px;
border-radius: 8px;
background-color: #0d6efd;
font-size: 16px;
}
development
Read-only Figma REST API workflows for file inspection, audits, token extraction, typography analysis, component listing, asset export, comment retrieval, text extraction, text search, node style inspection, node diffing, and combined node inspection. Use when a user provides a Figma file key or URL and needs implementation-facing design data without opening Figma manually.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.