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 skills add monkilabs/opencastle --skill figma-designgit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/monkilabs/opencastle/figma-design)<a href="https://agentmods.dev/skills/monkilabs/opencastle/figma-design"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/figma-design/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.
<a href="https://agentmods.dev/skills/monkilabs/opencastle/figma-design"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/figma-design.svg" alt="Reviewed on agentmods" width="80" 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.00039 | $0.00662 |
| Opus 5.5 | $0.00016 | $0.00265 |
| Sonnet 5.5 | $0.00008 | $0.00132 |
| Haiku 4.5 | $0.00004 | $0.00066 |
Grade A, and why
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 1mo 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Figma Design
Project design system: the frontend-design skill. Docs: https://developers.figma.com/docs/figma-mcp-server/
MCP tools
Figma's own remote server (https://mcp.figma.com/mcp), signed in with OAuth. It works from a link: pass the Figma URL of the frame or layer, including its node-id. It does not see what is selected in the desktop app — that is the desktop server's feature.
| Tool | Use it for |
|---|---|
figma/get_metadata |
A sparse outline of a large frame — layer IDs, names, positions, sizes. Start here on anything big, then narrow |
figma/get_design_context |
Design context for one layer: structure, styles, layout, as a starting point for code |
figma/get_variable_defs |
The variables and styles a layer uses — colors, spacing, typography — for token mapping |
figma/get_screenshot |
A PNG of the layer, to compare against what you built |
figma/search_design_system |
Components, variables and styles in the team's libraries — reuse before rebuilding |
figma/get_code_connect_map |
Which code component a Figma component already maps to |
figma/download_assets |
Image and vector exports |
On a large frame, get the outline with get_metadata first, then ask get_design_context for the frames you need.
Workflow
get_metadataon the frame's link; pick the node IDs you need.get_design_contextandget_variable_defsfor those nodes. Checkget_code_connect_mapandsearch_design_systemfirst — a mapped component is imported, not rebuilt.- Map variables into the token files (
src/styles/tokens.cssor token JSON). Do not inline raw hex values into components; the returned code is a starting point, not the answer — translate it into the project's components and tokens. - Build the component with a
data-testidso the result can be verified programmatically. - Verify with
get_screenshotside by side, and compare DOM bounding boxes against the node metrics. Acceptance: spacing within 4px, token colors exact, font family and weight exact. - Outside threshold → fix the token mapping or ask design; re-run from step 2.
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.
- 1mo ago Changed · -2 lines · -1 tokens per session 66ccb105f646
- 1mo ago First seen · 48 lines · 40 tokens per session scan A a1de8edd5334
figma-design is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 39 tokens to every session and 662 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-10-04.
figma-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| figma-designmonkilabs/opencastle | Skill | 82 | 10d ago | MIT | A | 39 | Claude Code, Codex |
| antislop-uimiqdadbadjuber/anti-slop | Skill | 10k | yesterday | MIT | A | 39 | Claude Code |
| pi-tui-designmrclrchtr/supi | Skill | 106 | yesterday | MIT | A | 141 | Claude Code, Codex |
| visualizerojim666/SztuCode | Skill | 110 | 19d ago | MIT | A | 53 | Codex |
| format-extractrojim666/SztuCode | Skill | 110 | 19d ago | MIT | A | 218 | Claude Code, Codex |
| html-reviewrojim666/SztuCode | Skill | 110 | 19d ago | MIT | A | 165 | Claude Code, Codex |
| design-variablesrojim666/SztuCode | Skill | 110 | 19d ago | MIT | A | 43 | Claude Code |