bind-figma-unity

bind-figma-unity is a skill for Claude Code, Codex from chav0/UnityFigmaMCP. It costs 106 tokens per session (1,116 once invoked), scanned A, original, MIT.

A linking workflow that connects existing Unity prefabs and sprites to matching Figma components.

In plain words
What is it for?
It helps map Figma objects to Unity assets by recording their links for later prefab building, only when explicitly requested.
Why use it?
It lets an old interface asset set reuse existing Unity files without downloading, creating, or rebuilding them.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/chav0/unityfigmamcp/bind-figma-unity
Any agent
npx skills add chav0/UnityFigmaMCP --skill bind-figma-unity
Clone the repo
git clone --depth 1 https://github.com/chav0/UnityFigmaMCP

Made for: Claude Code, Codex.

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 bind-figma-unity

README.md
[![agentmods](https://agentmods.dev/badge/skills/chav0/unityfigmamcp/bind-figma-unity.svg)](https://agentmods.dev/skills/chav0/unityfigmamcp/bind-figma-unity)
Your own site
<a href="https://agentmods.dev/skills/chav0/unityfigmamcp/bind-figma-unity"><img src="https://agentmods.dev/badge/skills/chav0/unityfigmamcp/bind-figma-unity.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,116 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00106 $0.01116
Opus 5 $0.00053 $0.00558
Sonnet 5 $0.00021 $0.00223
Haiku 4.5 $0.00011 $0.00112

Measured 3d ago against content hash ec1c8621904c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bind-figma-unity 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 3d 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.

.claude/skills/bind-figma-unity/SKILL.md · 129 lines

How it starts

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

Bind Figma–Unity — Component & Sprite Matching

Binding means linking Figma objects to Unity assets that already exist. It does not download, create, or rebuild anything — it only writes entries in the component map and sprite map so that unity_build_prefab can reuse them instead of rebuilding subtrees.

When to use (opt-in only)

Do not run this skill unless the user asks to bind, map, or link assets.

It is not a step before /build-prefab. The pipeline already registers keys when you download sprites and build prefabs.

Use it only when:

  • The user explicitly asks to bind / map / link Figma to existing Unity assets
  • You are working with an old UI kit: prefabs and sprites already live in the project, but they were made without Figma keys and are not connected to Figma components

Do not re-bind assets that already have a figmaKey.

Input

The user needs to provide:

  • Figma file key — the key from the Figma URL
  • Node ID — the root node to scan (a page, frame, or component set)

If the user gives a Figma URL, extract the file key and node ID from it.

Workflow

Step 1 — Fetch the Figma tree

Call figma_get_node with the file key and node ID to download the full subtree. Then call figma_get_node_names to get the slim hierarchy for analysis.

Step 2 — Get existing Unity assets

Call unity_list_assets twice in parallel:

  • kind: "prefab" — all prefabs with their names, paths, and existing bindings
  • kind: "sprite" — all sprites with their names, paths, and existing bindings

Each entry carries a figmaKey — null means the asset is not bound yet.

Step 3 — Match by name

Walk the Figma node tree and collect components, component sets, and image/icon nodes. For each, try to find a matching unbound Unity asset by name:

  • Normalize both names (lowercase, strip spaces/hyphens/underscores) for comparison
  • A Figma component "Button / Primary" should match a prefab "ButtonPrimary", "button-primary", "Button_Primary", etc.
  • Skip assets that already have a figmaKey

Read the full file on GitHub · 129 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. 3d ago First seen · 129 lines · 106 tokens per session scan A ec1c8621904c

Subscribe to this mod's changes

bind-figma-unity is a skill published in the GitHub repository chav0/UnityFigmaMCP (2 stars, last pushed 18d ago), licensed MIT. It adds 106 tokens to every session and 1,116 once invoked, about $0.0005 per session on Opus 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-08-31.

Related

Other skills, from other repositories

figma-typings-audit

Upgrade @figma/plugin-typings and absorb what the new version exposes. Diffs the .d.ts between the installed and the target version (that package ships no changelog), sorts the changes into breakage / new API / silently-added fields, maps each onto the sandbox handlers, the hand-written Zod mirrors in shared, and the…

awdr74100/figwright · 133 tokens

mcp-sdk-audit

Upgrade @modelcontextprotocol/server (the MCP TypeScript SDK v2) and prove the wire contract survived. The SDK is a runtime dependency whose breakage lands on the wire, not in the type checker — so this sorts each release by which SDK source files it touched (Figwright uses only the server + stdio slice of a…

awdr74100/figwright · 159 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

figma-build

Build a Figma design from code or a description — the reverse of figma-codegen. Reuses the connected file's existing design system (components, variables, styles) instead of drawing primitives with hardcoded values. Triggers whenever the user wants something created or updated IN Figma from code or a spec — e.g.…

awdr74100/figwright · 180 tokens

unity-runtime-bug-hunt

Unity Editor PlayMode 中のランタイム挙動不具合・例外・応答不能の原因特定スキル。uloop execute-dynamic-code でランタイム状態を広く浅くダンプし、JetBrains Rider debugger で狭く深く変数/BPヒットを観測する。TRIGGER when: (1) ユーザーのメッセージに PlayMode 実行時のランタイム例外スタックトレースが貼られている(NullReferenceException / TimeoutException / IndexOutOfRangeException 等)(2)…

moorestech/moorestech · 473 tokens

unity-playmode-recorded-playtest

Unity Editor を PlayMode 起動し、録画付きで end-to-end gameplay を検証する枠組み。第一選択はプレイテストDSL(Client.Playtest asmdef + 本スキル同梱の scripts/run-scenario.sh)による1コマンド一発実行で、preflight→PlayMode起動→シナリオ投入→result.json回収まで自動化される(実測ready26秒)。UI経路設置(ビルドメニュー→クリック/ドラッグ)とホットバー割当(建築ショートカット。歯車チェーンポール等)もDSLで操作可能。ユースケース別の詳細は references/…

moorestech/moorestech · 487 tokens