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/xyruscode/ai-sync/figmanpx skills add XyrusCode/ai-sync --skill figmagit clone --depth 1 https://github.com/XyrusCode/ai-syncWhat 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 | $0.00026 | $0.00668 |
| Opus 5 | $0.00013 | $0.00334 |
| Sonnet 5 | $0.00005 | $0.00134 |
| Haiku 4.5 | $0.00003 | $0.00067 |
Grade A, and why
figma 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 yesterday.
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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Figma Design Skill
Purpose: Connect to Figma via the Figma MCP server to read design context, generate new designs, and automate Figma workflows.
Prerequisites
- Figma MCP must be configured in
opencode.jsonwithtype: "remote"andurl: "https://mcp.figma.com/mcp" - OAuth must be completed (browser-based auth flow)
Available Tools
| Tool | Purpose |
|---|---|
get_screenshot |
Render a node as PNG (supports Figma design, FigJam, Slides) |
get_design_context |
Fetch design structure, layers, styles, text from a Figma file |
get_metadata |
Get file metadata (name, last modified, etc.) |
get_variable_defs |
List design token variables and their values |
get_figjam |
Retrieve FigJam board content |
get_code_connect_map |
View existing code-to-design mappings |
get_code_connect_suggestions |
Get AI suggestions for code connect mappings |
get_context_for_code_connect |
Get context data needed for code connect |
whoami |
Show current authenticated Figma user |
generate_figma_design |
Capture/import a web page as a Figma design |
generate_diagram |
Generate a diagram in Figma/FigJam |
add_code_connect_map |
Link a code component to a Figma node |
send_code_connect_mappings |
Batch-upload code connect mappings |
use_figma |
General-purpose read/write — create/edit/delete any Figma object |
get_libraries |
List available design system libraries |
search_design_system |
Search design system components and styles |
create_new_file |
Create a new Figma file |
upload_assets |
Upload image assets to Figma |
Common Workflows
Design-to-Code
get_design_contextwith a Figma file URL/node ID- Implement the component matching the design specs
add_code_connect_mapto link code back to the Figma node
Code-to-Design
- Build a UI component
generate_figma_designto create a matching Figma frame- Refine visually in Figma
Design System Sync
get_libraries+search_design_systemto find componentsget_variable_defsto read design tokens- Generate component code matching the tokens
use_figmato update variables/styles if needed
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.
- yesterday First seen · 75 lines · 26 tokens per session scan A 5410628fd23c
figma is a skill published in the GitHub repository XyrusCode/ai-sync (2 stars, last pushed 2d ago), licensed MIT. It adds 26 tokens to every session and 668 once invoked, about $0.0001 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.
Other skills, from other repositories
product-designer
Expert product design covering UI/UX design, design systems, prototyping, user research, and design thinking.
figma-design
Figma workflows, components, auto layout, constraints, prototyping, design systems, and plugin development based on Figma Plugin API documentation.
figma-bridge
Extract design information from Figma files. Pull design tokens, component structure, colors, typography, spacing, and export assets. Use when the user asks about their Figma designs, needs to extract design tokens, or wants to convert Figma designs to code. Triggers on: "figma", "design tokens", "get colors from…
wireframe
Produce low-fidelity black-and-white UI wireframes as SVGs or viewer pages. Use when asked to wireframe, sketch a screen, draft a layout, make a low-fi mockup, or publish wireframes.
design
Use when the user wants the visual/experiential design of a product done systematically — a design system, a screen, a landing page, or a visual identity — grounded in researched real-world prior art and free of AI slop. Establishes/extends the design system, invokes the matching local taste skill, dispatches the…
claude-design
Design one-off HTML artifacts (landing, deck, prototype).