export-tokens

export-tokens is a skill for Claude Code from bromso/metapowers. It costs 79 tokens per session (299 once invoked), scanned A, original, MIT.

A tool that exports Figma design tokens—shared values such as colors, spacing, and type settings—as CSS custom properties, a Tailwind configuration, or JSON. It can display the result or save it to a file.

In plain words
What is it for?
Use it with a Figma file URL or key to export its variables for CSS, Tailwind, or other code and data workflows.
Why use it?
It removes the need to copy design values by hand when bringing a Figma design system into code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the design plugin — 8 skills, 1 MCP server shipped together

Good fit Use it with a Figma file URL or key to export its variables for CSS, Tailwind, or other code and data workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bromso/metapowers/export-tokens
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bromso/metapowers --skill export-tokens
Clone the repo
git clone --depth 1 https://github.com/bromso/metapowers

Made for: Claude Code.

Or install design, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for export-tokens

README.md
[![agentmods](https://agentmods.dev/badge/skills/bromso/metapowers/export-tokens/github.svg)](https://agentmods.dev/skills/bromso/metapowers/export-tokens)
Your own site
<a href="https://agentmods.dev/skills/bromso/metapowers/export-tokens"><img src="https://agentmods.dev/badge/skills/bromso/metapowers/export-tokens/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for export-tokens

Your own site · 80×15
<a href="https://agentmods.dev/skills/bromso/metapowers/export-tokens"><img src="https://agentmods.dev/badge/skills/bromso/metapowers/export-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 299 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.00299
Opus 5.5 $0.00032 $0.00120
Sonnet 5.5 $0.00016 $0.00060
Haiku 4.5 $0.00008 $0.00030

Measured 1mo ago against content hash fc551fb50517, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

export-tokens scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/design/skills/export-tokens/SKILL.md · 29 lines

What it actually says

Export Tokens

Export design tokens from the Figma design system to a code-ready format.

Process

  1. Identify the Figma file. The user should provide a Figma file key or URL. Extract the file key from the URL if needed (the key is the string between /design/ or /file/ and the next /).

  2. Fetch design tokens:

    • Call figma_get_variables with the file key
    • If the user specified a format, pass exportFormat as "css", "tailwind", or "json"
    • Default to "css" if no format is specified
  3. Present the exported tokens to the user.

  4. Optionally save to file. If the user requests, write the output to a file:

    • CSS: tokens.css
    • Tailwind: tailwind.tokens.json
    • JSON: tokens.json

Output

The exported tokens displayed to the user and optionally saved to a file.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 29 lines · 79 tokens per session scan A fc551fb50517

Subscribe to this mod's changes

export-tokens is a skill published in the GitHub repository bromso/metapowers (3 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 299 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.

Related

export-tokens compared with skills from other repositories

export-tokens next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
export-tokensbromso/metapowersSkill31mo agoMITA79Claude Code
design-motionfusengine/agentsSkill341mo agoMITA29Claude Code
nextjs-shadcnfusengine/agentsSkill341mo agoMITA34Claude Code
react-shadcnfusengine/agentsSkill341mo agoMITA35Claude Code
design-systemcbrock84/headcountSkill2.6k4d agoMITA82Claude Code
interface-craftcbrock84/headcountSkill2.6k4d agoMITA79Claude Code
interface-redesigncbrock84/headcountSkill2.6k4d agoMITA77Claude Code