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.
npx agentmods add skills/noemuch/bridge/generating-figma-designnpx skills add noemuch/bridge --skill generating-figma-designgit clone --depth 1 https://github.com/noemuch/bridgeWrote 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.
[](https://agentmods.dev/skills/noemuch/bridge/generating-figma-design)<a href="https://agentmods.dev/skills/noemuch/bridge/generating-figma-design"><img src="https://agentmods.dev/badge/skills/noemuch/bridge/generating-figma-design.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.04707 |
| Opus 5 | $0.00041 | $0.02354 |
| Sonnet 5 | $0.00016 | $0.00941 |
| Haiku 4.5 | $0.00008 | $0.00471 |
Grade A, and why
generating-figma-design 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 542 lines — stays where its author put it; the contents beside it link to each section on GitHub.
{{ACTIVE_RULES}}
Generating Figma Design
Overview
Unified make flow: CSpec → scene graph → compiler → Figma execute → screenshot → verify. Replaces the legacy spec → design → review cycle with a single compiler-driven action. All tokens resolve against the knowledge base; all Figma API rules are enforced by the compiler.
When to Use
Invoke when the user:
- says
make,design,create,build,generate, or asks for a "new component" / "new screen" - has already run
setup(knowledge base exists) - has an MCP transport available (console or official)
Do NOT use if:
- the user is adjusting an existing design that is already in Figma — use
learning-from-correctionsinstead - the user is archiving or shipping — use
shipping-and-archiving - the knowledge base is missing — run
extracting-design-systemfirst
Procedure
Before starting, load:
references/compiler-reference.md(repo-root) — scene graph JSON format and rulesreferences/transport-adapter.md(repo-root) — transport detection and tool mapping
Prerequisites
- Knowledge base exists (registries populated) — if not: "Run
setupfirst" - MCP transport available (see
references/transport-adapter.md(repo-root) Section A)
Phase A — Context (target: 30s)
A1. Detect transport
Read references/transport-adapter.md (repo-root) Section A. Determine console vs official transport.
Console: figma_get_status() -> setup.valid: true
Official: whoami() + test use_figma call
Report:
Transport: {console | official}
A2. Load registry index
Load the summary of available DS components — names and types only, not full registry data:
registries/components.json— extract component names, variant property names, and keysregistries/variables.json— extract variable name paths (for token reference validation)registries/text-styles.json— extract style names (for$text/reference validation)registries/icons.json— extract icon names (if file exists)registries/logos.json— extract logo names (if file exists)
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 542 lines · 82 tokens per session scan A 6531cd663308
generating-figma-design is a skill published in the GitHub repository noemuch/bridge (155 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 4,707 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-30.
Other skills, from other repositories
work-with-design-systems
Inspect, build, or extend Figma design systems — and optionally sync them to code. Two modes in one skill: inspect mode (read-only audits with WCAG checks, component scoring, detached instance detection, handoff docs) and build mode (creating components with variable bindings, slot-based composition, structured…
create-anatomy
Generate a visual anatomy annotation in Figma showing numbered markers on a component instance with an attribute table. Use when the user mentions "anatomy", "anatomy annotation", "component anatomy", "create anatomy", or wants to annotate a component's structural elements.
create-property
Generate a visual property annotation in Figma showing each configurable property axis with component instance previews. Use when the user mentions "property", "properties", "property annotation", "create property", or wants to document a component's configurable properties visually.
create-structure
Generate structure specifications documenting component dimensions, spacing, padding, and how values change across density, size, and shape variants. Use when the user mentions "structure", "structure spec", "dimensions", "spacing", "density", "sizing", or wants to document a component's dimensional properties.
create-color
Generate color annotation specifications mapping UI elements to design tokens. Use when the user mentions "color", "color annotation", "color spec", "tokens", "design tokens", or wants to document which color tokens a component uses.
create-voice
Generate screen reader accessibility specifications for VoiceOver (iOS), TalkBack (Android), and ARIA (Web). Use when the user mentions "voice", "voiceover", "screen reader", "accessibility spec", "talkback", "aria", or wants to create accessibility documentation for a UI component.