figma

figma is a skill for Claude Code, Codex from alivirgo/Major-AI-Skills. It costs 28 tokens per session (1,215 once invoked), scanned A, original, MIT.

An automation guide for Figma, a collaborative tool for designing interfaces and graphics. It works with Figma files, reusable design components, shared variables, and exports through Figma's plugin and web interfaces.

In plain words
What is it for?
Use it to build Figma plugins, inspect components, extract design tokens, audit files, and automate comments, metadata, or exports.
Why use it?
It removes repetitive work when inspecting designs, managing shared design values, or moving design information into other systems. It can also help keep design-system information consistent across files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Part of the mas-design-knowledge plugin — 5 skills shipped together

Good fit Use it to build Figma plugins, inspect components, extract design tokens, audit files, and automate comments, metadata, or exports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/figma
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 alivirgo/Major-AI-Skills --skill figma
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code, Codex.

Or install mas-design-knowledge, the plugin that ships this one along with the rest of its 5 skills.

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 figma

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/figma/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/figma)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/figma"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/figma/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 figma

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/figma"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00028 $0.01215
Opus 5 $0.00014 $0.00607
Sonnet 5 $0.00006 $0.00243
Haiku 4.5 $0.00003 $0.00121

Measured today against content hash d3e17b569109, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

figma scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "X-Figma-Token: $FIGMA_TOKEN" \
plugins/mas-design-knowledge/skills/figma/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Figma Design Systems & Plugin AI Skill Guide (Claude)

Overview & Engine Architecture

Figma is a collaborative vector design platform with a document model of Pages → Frames → Nodes, reusable Components / Variants, and Variables (design tokens). Automation spans the in-editor Plugin API (figma global in sandbox) and the cloud REST API for file metadata, comments, and exports. Claude operates as a Principal Design Systems Engineer, specializing in plugin tooling, token extraction, component audit scripts, and REST-based CI export.

Figma Document & API Stack

┌─────────────────────────────────────────────────────────────┐
│                 Figma Architecture                          │
│                                                             │
│  Document Graph                                             │
│  ├── Document / Page / Frame / Group / Text / Vector        │
│  ├── Components / Component Sets / Instances                │
│  └── Variables / Styles / Auto Layout                       │
│                                                             │
│  In-Editor Automation                                       │
│  ├── Plugin sandbox (TypeScript/JS) + UI iframe             │
│  ├── figma.currentPage.selection / node traversal           │
│  └── clientStorage / notify / exportAsync                   │
│                                                             │
│  Cloud REST                                                 │
│  ├── Files / Nodes / Images / Comments                      │
│  ├── Variables REST (Enterprise surfaces)                   │
│  └── Personal access tokens / OAuth                         │
└─────────────────────────────────────────────────────────────┘

Operational Capabilities & Agent Directives

  1. Plugin vs REST: Use Plugin API for live canvas mutations; use REST for CI exports and metadata outside the editor.
  2. Selection Guards: Always validate figma.currentPage.selection length and node types before mutating.
  3. Token Discipline: Map Variables → platform tokens (CSS/JSON) with stable names; never invent IDs.
  4. Component Hygiene: Prefer instances over detached copies; flag detached instances in audits.
  5. Permissions: REST calls require a token with the minimum scopes; never hardcode secrets in plugins.

Read the full file on GitHub · 125 lines

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. today Changed d3e17b569109
  2. 11d ago First seen · 125 lines · 28 tokens per session scan A f5bb59f385b3

Subscribe to this mod's changes

figma is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 1,215 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prototype-to-production

Convert design prototypes (HTML, CSS, Figma exports) into production-ready components. Analyzes prototype structure, extracts design tokens, identifies reusable patterns, and generates typed React components. Adapts to existing project tech stack with React + TypeScript as default.

ArieGoldkin/ai-agent-hub · 57 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 tokens

system-pitch

Write a design system investment pitch with a business case and ROI framing. Trigger when someone says: pitch the design system, make the case for the system, sell this to leadership, justify the investment, business case for design systems, why should we invest in a design system, or anything about building an…

murphytrueman/design-system-ops · 72 tokens

token-audit

Audit a design system's token definitions for naming violations, missing semantic tiers, and structural debt. This audits how tokens are defined and organised, NOT how they are consumed in code. Trigger when someone says: audit my tokens, token naming review, are my tokens consistent, token health check, review my…

murphytrueman/design-system-ops · 93 tokens

ai-component-description

Generate AI-optimised text descriptions for components, formatted for Figma's MCP server and LLM consumption. This produces prose descriptions in a six-section format (purpose, props, anti-patterns, composition, accessibility, examples), NOT JSON schemas or structured data files. Trigger when someone says: write…

murphytrueman/design-system-ops · 132 tokens

context-engine-builder

Generate a context engine — seven structured blueprint files (UX, UI, content, accessibility, ethical, technical, business intelligence) that encode everything an AI agent needs to work with a design system. This produces YAML infrastructure in .ai/context-engine/, NOT a health score or quality assessment. Trigger…

murphytrueman/design-system-ops · 135 tokens