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 11d 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.
- 11d ago Changed · -2 lines · -1 tokens per session 66ccb105f646
- 12d ago First seen · 48 lines · 40 tokens per session scan A a1de8edd5334
figma-design is a skill published in the GitHub repository monkilabs/opencastle (80 stars, last pushed yesterday), 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.
Other skills, from other repositories
antislop-ui
UI and visual skill for antislop. Use when building or editing any interface: color, layout, components, motion. Load with the core.
visualize
Create visualizations and interactive tools directly in conversation. Use when asked to show how something works, make simulators or labs, maps, plots, charts or graphs, comparisons, UI mockups, scenarios, adjustable inputs, and exploration beyond regular text.
format-extract
A low-level tool that converts a Word document (.docx) into semantic HTML and extracts embedded images. It also reports on the quality of the resulting HTML conversion.
html-review
An automated checker for HTML documents that tests structure, styling rules, typography, document tone, and decorative elements, then produces a structured report.
design-variables
Bind/unbind design variables (tokens) on node props with $: : or $ ; create via applyvariables; switch node variable modes via batchedit variableModes.
slides
Create and edit presentation slide decks (.pptx) with PptxGenJS and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout…