southleft/figma-console-mcp-skills

figma-library-variables

Discover and import design tokens from SUBSCRIBED Figma team libraries into the current file.

First seen Jun 1, 2026

Installation

$ npx skills add southleft/figma-console-mcp-skills --skill figma-library-variables

Summary

  • Discover and import design tokens from SUBSCRIBED Figma team libraries into the current file.
  • Use when the user wants to reuse tokens that live in a shared library: triggers 'list library variables', 'what tokens are in our shared library', 'import a variable from our design system library', 'pull in the brand color token from the library'.
  • Works on ANY plan via the Plugin API teamLibrary methods.
  • For LOCAL variables use figma-export-tokens / figma-manage-variables.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from southleft/figma-console-mcp-skills · top by installs.

npx skills add southleft/figma-console-mcp-skills

Browse all from southleft/figma-console-mcp-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 80
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,501 B
  • docs SUMMARY.md 501 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 90 installs

SKILL.md

figma-library-variables — discover & import team-library variables

Browse the variables published by libraries the current file subscribes to, then import the ones you need. Imported variables get a local id that behaves like any local variable (bind it, read it, reference it).

Skill boundaries

  • use_figma rules — load the official figma-use skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level await + return (no IIFE, no figma.closePlugin(); console.log is not returned), inputs inlined as const at the top of each script, colors in 0–1 range, load fonts before any text op, await figma.getNodeByIdAsync(...), and atomic errors (a failed script applies nothing — read the error, fix, retry).
  • Local (non-library) variables → figma-export-tokens, figma-manage-variables.

Workflow

  1. Discover. Run [scripts/list-library-variables.js](scripts/list-library-variables.js) via

usefigma (skillNames: "figma-library-variables"). Optionally set the LIBRARYNAME / COLLECTION_NAME / TYPE filters. It returns each subscribed collection and the key of every variable in it.

  1. Import. Put the variable key(s) into

[scripts/import-library-variable.js](scripts/import-library-variable.js) and run it. It returns the new localId for each. Re-importing is idempotent (same local id).

  1. Use. Bind the imported variable to node properties or reference it from local semantic tokens

(see figma-use / figma-manage-variables for binding).

Notes

  • Only subscribed libraries appear. If a collection is missing, enable the library in the file's

library settings first (a manual Figma step).

  • getVariablesInLibraryCollectionAsync takes the collection key, not its id.
  • Library variables are read-only references to the source — edit values in the library file, not

here.