Skip to main content
skill CX Codex

figma-variables-tokens-generator — Claude Code skill

figma-variables-tokens-generator interviews you about design system properties and produces a W3C DTCG token ZIP archive. Useful for structuring tokens ready for import into Figma Variables.

MIT 203 installs ★ 35 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-code
Open on GitHub

What figma-variables-tokens-generator does

The skill asks about your brand colors and spacing rules. It supports up to four token tiers. Once the interview concludes, an internal Python script generates a W3C DTCG token archive. The files are divided into collections: Primitives, Theme, contextual Semantic aliases for light or dark modes, and Component tokens.

Running the bundled generator requires Python 3. It generates files locally. To bring variables into your project, you need a Figma account and the free Variables Tokens Collections Importer plugin. Without that companion plugin, you cannot load the resulting ZIP into Figma Variables.

The focus stays on Figma. If you need token pipelines directly inside code repositories, the upstream author suggests using design-tokens-skill instead.

What it helps with

  • generate W3C DTCG compliant JSON token files
  • structure design tokens into tiers from Primitives to Component
  • configure semantic alias chains across light and dark modes
  • package tokens into a ZIP ready for Figma import

Example prompts for the agent

  • Help me set up Figma variables and generate a W3C token ZIP
  • Run the token generator for a four-tier design system
  • Create theme and semantic tokens using figma-variables-tokens

How to install figma-variables-tokens-generator

1Skills CLI (Vercel)

npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-code

2Manually: put the files in place

~/.claude/skills/figma-variables-tokens-generator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/figma-variables-tokens-generator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about figma-variables-tokens-generator

How to install figma-variables-tokens-generator in Claude Code?

Run npx skills add podo/design-agent-skills --skill figma-variables-tokens-generator -a claude-code in your terminal. This writes the skill definition to ~/.claude/skills/figma-variables-tokens-generator/SKILL.md.

What does figma-variables-tokens-generator do?

It interviews you about your color palettes, spacing, and tier architecture. Then it outputs a W3C-compliant ZIP archive formatted for Figma Variables.

What dependencies are required to use this skill?

You need Python 3 installed to execute the bundled token generator. To bring the ZIP archive into your designs, install the Variables Tokens Collections Importer plugin in Figma.

Source text

SKILL.md · MIT
---
name: figma-variables-tokens-generator
description: |
  Guides creation of a W3C-compliant token system via an interview, generates
  a structured ZIP of JSON token files organized by collection tier (Primitives,
  Theme, Semantic, Component), and relies on a separate Figma plugin that imports
  them in dependency order.
triggers:
  - "Figma variables"
  - "token generator"
  - "figma-variables-tokens"
  - "W3C token ZIP"
  - "Shanmus4"
  - "token collection tiers"
das:
  type: package
  category: figma-code
  upstream: "https://github.com/Shanmus4/figma-variables-tokens-generator"
  upstream_path: "figma-variables-tokens-generator/SKILL.md"
  version: latest
  install: false
---

# figma-variables-tokens-generator

> Catalogue stub — full package: [Shanmus4/figma-variables-tokens-generator](https://github.com/Shanmus4/figma-variables-tokens-generator)

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->
## Decision tree

1. **Is the full skill already installed?**
   - Global: `f=~/.agents/skills/figma-variables-tokens-generator/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - Project: `f=.agents/skills/figma-variables-tokens-generator/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - `installed` → the skill is installed as `figma-variables-tokens-generator`, invoke it and proceed
   - `pointer` → go to step 2

2. **Detect scope, then install:**

   ```bash
   [ -e ~/.agents/skills/figma-variables-tokens-generator ] && echo "global" || echo "project"
   ```

   **Global:**
   ```bash
   npx skills add Shanmus4/figma-variables-tokens-generator --skill figma-variables-tokens-generator -g -y
   ```

   **Project:**
   ```bash
   npx skills add Shanmus4/figma-variables-tokens-generator --skill figma-variables-tokens-generator -y
   ```
   > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation.

**Heads-up**

- **Requires:** Python 3 (the skill generates the token ZIP by running its bundled Python generator); A Figma account and the free Figma Community plugin "Variables Tokens Collections Importer" (not part of this install) to import the ZIP
- **License:** Apache-2.0
<!-- das:install:end -->

## Invoke after install

- Skill name: `figma-variables-tokens-generator`
- Triggers: "Figma variables", "token generator", "W3C token ZIP", "Shanmus4"

## What it does

Interviews you about your brand colours, spacing, typography and the token architecture you want (from a flat single tier up to four tiers), then generates a W3C Design Token Community Group (DTCG) compliant ZIP archive with a bundled Python generator. The ZIP contains JSON token files organized into collection tiers: Primitives (raw values), Theme, Semantic (contextual aliases, with light/dark modes) and Component (component-specific tokens), with Figma variable scoping applied and alias chains kept stable across modes. The ZIP is imported into Figma Variables with the companion Figma Community plugin "Variables Tokens Collections Importer", which respects dependency order across tiers; that plugin is a separate install and is not fetched by this pointer.

## When NOT to use

- Code-side token management and pipelines — use `design-tokens-skill`
- Existing design systems not based in Figma
- Figma design operations unrelated to tokens — use the Figma MCP (`figma-official-skills`)

© podo · MIT · podo/design-agent-skills

Similar skills

All skills for Design →

From the same set108

The whole set →
data-viz-agent data-viz-agent builds charts that hold up: picks the chart type from the data relationship, orders encodings by perceptual accuracy, and checks contrast and keyboard access. CX Codex +1 204installs hig-doctor Points the HIG Doctor CLI at your interface code, whatever the framework, and turns the report into a severity-ranked list of Apple HIG and accessibility problems you can actually fix. CX Codex +1 203installs claude-wireframe-skill Generates 5 UX design approaches as interactive prototypes. Starts with black-and-white wireframes, then builds color versions using parallel agents. CX Codex +1 203installs pm-skills pm-skills — a set of product-management skills maps work to the Triple Diamond method, from problem framing through experiments and iteration. CX Codex +1 203installs microsoft-skills Two Microsoft skills for interface review and dark React UI. Use them for design-system checks or dashboards built with Tailwind and Framer Motion. CX Codex +1 203installs service-blueprint Draws a service blueprint with five swim lanes and the lines of interaction, visibility and internal interaction, then renders it to HTML or Mermaid. CX Codex +1 203installs nimbalyst-skills Three visual slash commands from Nimbalyst: Excalidraw diagrams, UI wireframes and database ERDs. They run inside the desktop app, not on their own. CX Codex +1 203installs figma-catalogue The figma-catalogue Claude Code skill points to tools for Figma, design systems, and design-to-code work. It activates on requests about token management, Figma workflows, or official platform skill collections. CX Codex +1 202installs

Project sponsors

Companies that keep this analytics open