ds-add

ds-add is a command for Claude Code from atezer/FMCP. It costs 0 tokens per session (2,502 once invoked), scanned A, original, MIT.

A command for adding a design system from one or more Figma links. A design system is a shared set of UI components, styles, and reusable values.

In plain words
What is it for?
Starting a design-system import from Figma, checking connected files, and reading file names and variables. It asks for a link when none is supplied and explains how to connect an unavailable file.
Why use it?
It checks whether the links are valid and whether the Figma files are connected before deciding whether the system is new or needs updating.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the figma-mcp-bridge plugin — 29 skills, 10 commands, 3 agents, 1 MCP server shipped together

Good fit Starting a design-system import from Figma, checking connected files, and reading file names and variables. It asks for a link when none is supplied and explains how to connect an unavailable file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/atezer/fmcp/ds-add
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.

Clone the repo
git clone --depth 1 https://github.com/atezer/FMCP

Made for: Claude Code.

Or install figma-mcp-bridge, the plugin that ships this one along with the rest of its 29 skills, 10 commands, 3 agents, 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 ds-add

README.md
[![agentmods](https://agentmods.dev/badge/commands/atezer/fmcp/ds-add/github.svg)](https://agentmods.dev/commands/atezer/fmcp/ds-add)
Your own site
<a href="https://agentmods.dev/commands/atezer/fmcp/ds-add"><img src="https://agentmods.dev/badge/commands/atezer/fmcp/ds-add/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 ds-add

Your own site · 80×15
<a href="https://agentmods.dev/commands/atezer/fmcp/ds-add"><img src="https://agentmods.dev/badge/commands/atezer/fmcp/ds-add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,502 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.00000 $0.02502
Opus 5.5 $0.00000 $0.01001
Sonnet 5.5 $0.00000 $0.00500
Haiku 4.5 $0.00000 $0.00250

Measured 4d ago against content hash 30b960be6259, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ds-add 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 4d 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.

commands/ds-add.md · 258 lines

How it starts

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

Design System Ekle (Akıllı Tespit)

Kullanıcı bir Figma linki ile yeni tasarım sistemi eklemek istediğinde bu komutu kullan. Bu komut yeni ekleme ve güncelleme arasındaki farkı otomatik tespit eder.

Argüman

$ARGUMENTS

Argüman olabilir:

  • Tek Figma linki
  • Birden fazla Figma linki (boşlukla ayrılmış)
  • Boş (kullanıcıdan iste)

Adım 1: Argüman Kontrolü

  • $ARGUMENTS boşsa → kullanıcıya şöyle de: "Hangi Figma linkini eklemek istersin? Lütfen yapıştır."
  • Link(ler) varsa → regex ile file key(ler)'i çıkar: figma\.com/design/([a-zA-Z0-9]+)
  • Geçersiz link varsa → "Bu Figma linki gibi durmuyor. Format: https://figma.com/design/..."

Adım 2: Her File Key İçin Figma Analizi

Her file key için paralel çağrı yap:

  1. mcp__figma-mcp-bridge__figma_list_connected_files → bağlı mı kontrol et

    • Bağlı DEĞİLSE → DUR ve kullanıcıya talimat:
      ❌ Bu Figma dosyası plugin'e bağlı değil.
      Lütfen:
      1. Figma'da dosyayı aç
      2. F-MCP Bridge plugin'i çalıştır (Plugins → F-MCP ATezer Bridge)
      3. Sonra tekrar dene
      
  2. mcp__figma-mcp-bridge__figma_get_file_data (verbosity: "summary") → dosya adını al

  3. mcp__figma-mcp-bridge__figma_get_variables (verbosity: "summary") → token sayısı

  4. mcp__figma-mcp-bridge__figma_get_styles (verbosity: "summary") → stil sayısı

  5. mcp__figma-mcp-bridge__figma_search_components (query: "", currentPageOnly: false, limit: 500) → bileşen sayısı

Hata yönetimi: Her çağrı için try-catch. Başarısız olanı "0" say ama diğerlerine devam.


Adım 3: Mevcut Kütüphane Tespiti

.claude/design-systems/ altındaki tüm _meta.md dosyalarını oku ve bu yeni file key(ler) ile karşılaştır.

Kontrol 1: File Key Eşleşmesi (Kesin)

Bu file key zaten bir kütüphanede kayıtlı mı?

Varsa:

📋 Bu Figma dosyası zaten "<library-name>" kütüphanesinde kayıtlı.
Son güncelleme: <tarih>

Güncellemek ister misin? (evet / iptal)
  • evet → /ds-sync <library-name> mantığı uygulanır, DUR.
  • iptal → İşlem sonlandırılır.

Read the full file on GitHub · 258 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. 4d ago Changed 30b960be6259
  2. 1mo ago First seen · 258 lines · 0 tokens per session scan A 8e5a1c411cdb

Subscribe to this mod's changes

ds-add is a command published in the GitHub repository atezer/FMCP (10 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,502 tokens. 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.