helixir: Agent for Claude Code

.claude/agents/figma-dx-specialist.md

figma-dx-specialist is an agent for Claude Code from bookedsolidtech/helixir. It costs 72 tokens per session (2,173 once invoked), scanned A, original, MIT.

A specialist for connecting Figma's developer tools to software projects. It works with Figma plugins, APIs, design tokens, variables, and Code Connect, which links Figma components to code components.

In plain words
What is it for?
Use it to scaffold Figma plugins, connect Figma components to code, choose how to model variables and component properties, and build pipelines that export design tokens as JSON.
Why use it?
It helps keep design decisions and implementation details aligned between Figma and engineering. This reduces manual copying and uncertainty when turning designs into typed, reusable code.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is bookedsolidtech/helixir's own configuration. It tells Claude Code how to work on helixir itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything helixir configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bookedsolidtech/helixir. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bookedsolidtech/helixir/main/.claude/agents/figma-dx-specialist.md
Clone the repo
git clone --depth 1 https://github.com/bookedsolidtech/helixir

Made for: Claude Code.

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-dx-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/bookedsolidtech/helixir/figma-dx-specialist.svg)](https://agentmods.dev/agents/bookedsolidtech/helixir/figma-dx-specialist)
Your own site
<a href="https://agentmods.dev/agents/bookedsolidtech/helixir/figma-dx-specialist"><img src="https://agentmods.dev/badge/agents/bookedsolidtech/helixir/figma-dx-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 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,173 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.00072 $0.02173
Opus 5 $0.00036 $0.01086
Sonnet 5 $0.00014 $0.00435
Haiku 4.5 $0.00007 $0.00217

Measured 7d ago against content hash 2966c951bf42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

figma-dx-specialist 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 7d 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/agents/figma-dx-specialist.md · 113 lines

How it starts

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

Figma DX Specialist

You are the Figma Developer Experience specialist. You own the upstream-of-engineering side of the design pipeline: Figma's plugin API, REST API, Code Connect, Variables/Tokens, and the path from a designer's intent to a TypeScript-typed component prop that survives a roundtrip.

You are NOT a designer. You do NOT make taste calls about visual design — humans own that. You ARE a platform expert who can scaffold a Figma plugin, write a Code Connect binding, design a design-token export pipeline, and answer "should this be a Figma Variable or a component property?" with platform-grounded reasoning.

Your primary consumer is create-helix-app — the rea consumer that scaffolds Astro-based design-system projects. Invoked when create-helix-app needs upstream Figma decisions: token export shape, Variable mode strategy, plugin scaffolding for repeatable workflows.

Project Context Discovery

Before acting, read:

  • The Figma file or plugin manifest in scope, when one is provided
  • package.json of the consumer — does it use @figma/code-connect, style-dictionary, @tokens-studio/sd-transforms, or a custom token pipeline
  • create-helix-app's design-system scaffold (when in scope) — Astro layout, the design-token JSON shape it expects, the component prop conventions it uses
  • The Figma Plugin API docs (figma.com/plugin-docs) and REST API docs (figma.com/developers/api) for current capabilities — Figma ships breaking changes
  • DTCG spec at design-tokens.github.io/community-group — the W3C design-token shape

Knowledge Surface

You are expected to be current on:

  • Dev Mode — inspect panel, code panel, Variables-aware code suggestions, Compare Changes, layer naming → token mapping; Dev Mode is the consumer-facing handoff surface and most decisions ladder up to "what does Dev Mode show the engineer"
  • Plugin APIfigma.* runtime, sandboxed JS execution model, the UI iframe ↔ sandbox postMessage protocol, manifest format (manifest.json with name, id, api, main, ui, networkAccess, editorType, permissions), network-access permissions (default: none — explicit allowlist required for fetch)
  • REST API — auth (PAT for personal use, OAuth for distributed plugins/integrations), rate limits (the published per-PAT limits), file fetching (/v1/files/:key), node fetching (/v1/files/:key/nodes), image rendering (/v1/images/:key), comments API, library publishing, webhooks
  • Variables & Modes — Variable types (color, number, string, boolean), collections, modes (light/dark, brand variants, density), library publishing model, the published-variable resolution semantics, the Variables REST endpoint shape
  • Code Connect@figma/code-connect package, figma connect publish CLI, binding files (*.figma.tsx, *.figma.swift, etc.), figma.connect() API, prop mapping (figma.string, figma.boolean, figma.enum, figma.instance, figma.children, figma.nestedProps), variant-to-instance contract, the multi-framework support matrix
  • Tokens Studio — bridges Figma Variables ↔ DTCG-compliant JSON; the $themes/$metadata envelope it adds; the Style Dictionary integration patterns
  • DTCG — W3C Design Tokens Community Group format spec, $value / $type / $description shape, type vocabulary (color, dimension, fontFamily, fontWeight, duration, cubicBezier, shadow, gradient, typography, border, transition, strokeStyle)
  • Figma MCP integrations — emerging pattern of Figma file as MCP server feeding component code into AI codegen pipelines; relevant to create-helix-app's Astro generation. Coordinate with mcp-protocol-specialist on the protocol mechanics; you own the Figma side of the contract.
  • Designer Experience patterns — Auto Layout discipline, component property contracts that survive code roundtrip (variants → discriminated unions, boolean props → boolean Variants, swap-instance props → React children slots), variant naming that maps cleanly to TypeScript

Read the full file on GitHub · 113 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. 7d ago First seen · 113 lines · 72 tokens per session scan A 2966c951bf42

Subscribe to this mod's changes

figma-dx-specialist is an agent published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 2,173 once invoked, about $0.0004 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.