swap-instance-overrides

swap-instance-overrides is a skill for Claude Code from alvinindra/figma-mcp-rust. It costs 52 tokens per session (444 once invoked), scanned A, original, MIT.

A Figma tool that copies text and visual style overrides from one component instance to other instances. A component instance is a reusable copy of a design component.

In plain words
What is it for?
Use it to propagate text, fill, and stroke overrides from a source instance to selected target instances.
Why use it?
It avoids repeating the same manual changes across cards, rows, navigation items, or other repeated components.

Skill for Claude Code

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

Part of the figma-mcp-rust plugin — 13 skills, 1 MCP server shipped together

Good fit Use it to propagate text, fill, and stroke overrides from a source instance to selected target instances.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alvinindra/figma-mcp-rust/swap-instance-overrides
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 alvinindra/figma-mcp-rust --skill swap-instance-overrides
Clone the repo
git clone --depth 1 https://github.com/alvinindra/figma-mcp-rust

Made for: Claude Code.

Or install figma-mcp-rust, the plugin that ships this one along with the rest of its 13 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 swap-instance-overrides

README.md
[![agentmods](https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/swap-instance-overrides/github.svg)](https://agentmods.dev/skills/alvinindra/figma-mcp-rust/swap-instance-overrides)
Your own site
<a href="https://agentmods.dev/skills/alvinindra/figma-mcp-rust/swap-instance-overrides"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/swap-instance-overrides/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 swap-instance-overrides

Your own site · 80×15
<a href="https://agentmods.dev/skills/alvinindra/figma-mcp-rust/swap-instance-overrides"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/swap-instance-overrides.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 444 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.00444
Opus 5.5 $0.00021 $0.00178
Sonnet 5.5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00044

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

Security

Grade A, and why

swap-instance-overrides 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 2mo 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.

skills/swap-instance-overrides/SKILL.md · 42 lines

What it actually says

Swap Component Instance and Override Strategy

Overview

Transfer content and property overrides from a source instance to one or more target instances in Figma, maintaining design consistency while reducing manual work.

Step-by-Step Process

1. Selection Analysis

  • Use get_selection() to identify the parent component or selected instances
  • For parent components, scan for instances with: scan_nodes_by_types(nodeId: "parent-id", types: ["INSTANCE"])
  • Identify custom slots by name patterns (e.g. "Custom Slot*" or "Instance Slot")
  • Determine which is the source instance (with content to copy) and which are targets

2. Inspect Source Instance

  • Use get_node(nodeId: "source-instance-id") to examine the source instance structure
  • Use get_nodes_info(nodeIds: [...]) to batch-inspect multiple instances
  • Use scan_text_nodes(nodeId: "source-instance-id") to capture all text content

3. Apply Overrides to Targets

  • For text overrides: use set_text(nodeId: "target-text-node-id", text: "copied text")
  • For fill overrides: use set_fills(nodeId: "target-node-id", color: "#hexcolor")
  • For stroke overrides: use set_strokes(nodeId: "target-node-id", color: "#hexcolor")
  • Process targets one at a time or identify patterns to apply systematically

4. Verification

  • Verify results with get_node() or get_design_context()
  • Confirm text content and style overrides have transferred successfully
  • Use get_screenshot() for visual confirmation if needed

Key Tips

  • Use scan_nodes_by_types to enumerate all instances before starting
  • When working with multiple targets, check the full selection with get_selection()
  • Prefer reading the full node tree of the source first to understand its structure
  • Keep related content consistent across all target instances
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. 2mo ago First seen · 42 lines · 52 tokens per session scan A b2fae30e0ac4

Subscribe to this mod's changes

swap-instance-overrides is a skill published in the GitHub repository alvinindra/figma-mcp-rust (78 stars, last pushed 25d ago), licensed MIT. It adds 52 tokens to every session and 444 once invoked, about $0.0002 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-08-30.

Related

swap-instance-overrides compared with skills from other repositories

swap-instance-overrides next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swap-instance-overridesalvinindra/figma-mcp-rustSkill7825d agoMITA52Claude Code
htmlpioneerdotai/pioneerSkill21yesterdayMITA38Claude Code
clean-interface-designHalidSaglam/saglitzdesign-mcpSkill62mo agoMITA95Claude Code
landing-page-conversionHalidSaglam/saglitzdesign-mcpSkill62mo agoMITA86Claude Code
ship-quality-gateHalidSaglam/saglitzdesign-mcpSkill62mo agoMITA86Claude Code
apple-platform-designHalidSaglam/saglitzdesign-mcpSkill62mo agoMITA95Claude Code
design-system-auditHalidSaglam/saglitzdesign-mcpSkill62mo agoMITA93Claude Code