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 alvinindra/figma-mcp-rust --skill style-auditgit clone --depth 1 https://github.com/alvinindra/figma-mcp-rustWrote 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/alvinindra/figma-mcp-rust/style-audit)<a href="https://agentmods.dev/skills/alvinindra/figma-mcp-rust/style-audit"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/style-audit/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/alvinindra/figma-mcp-rust/style-audit"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/style-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00057 | $0.00511 |
| Opus 5 | $0.00028 | $0.00255 |
| Sonnet 5 | $0.00011 | $0.00102 |
| Haiku 4.5 | $0.00006 | $0.00051 |
Grade A, and why
style-audit 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 10d 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.
What it actually says
Style Audit Strategy
Find all nodes that use raw (unlinked) fill colors, text styles, or effect styles instead of the design system's named styles or variables. Report findings and optionally fix them.
Steps
-
Collect the design system
- Call get_styles() to list all local paint, text, effect, and grid styles (note their names and IDs).
- Call get_variable_defs() to list all local COLOR variables (note their names and IDs).
-
Scan the design
- Call get_design_context() with detail="compact" to get the full node tree.
- For each node that has a fills, strokes, or textStyle property:
- If the node's style field shows a named style (e.g. "fillStyle": "Brand/Primary"), it is already linked; skip it.
- If the node shows a raw fill color (e.g. "fills": [{"type":"SOLID","color":...}]) without a style name, flag it.
- If a TEXT node shows raw fontFamily/fontSize without a textStyle name, flag it.
-
Match raw values to existing styles
- For each flagged node, check whether the raw hex color matches any existing paint style color.
- If a match is found, recommend apply_style_to_node() to link the node to that style.
- If no match is found, note the raw value as a design system gap (a new style may be needed).
-
Report findings Present a table:
Node ID Node Name Issue Raw Value Matching Style -
Fix (optional, ask user first) For each node with a matching style, call: apply_style_to_node(nodeId, styleId, target) Batch nodes by styleId to minimize round trips.
Rules
- Never change a node's visual appearance; only link it to a style that already matches.
- Skip INSTANCE nodes whose overrides intentionally diverge from the main component.
- Process in chunks of 20 nodes at a time when scanning large trees.
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.
- 10d ago First seen · 43 lines · 57 tokens per session scan A e98b63f1afe0
style-audit is a skill published in the GitHub repository alvinindra/figma-mcp-rust (38 stars, last pushed 5d ago), licensed MIT. It adds 57 tokens to every session and 511 once invoked, about $0.0003 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
clean-interface-design
Design clean, calm, uncluttered interfaces that don't read as templated AI output. Use when building or restyling any UI (web, iOS, Android, macOS) and it needs visual hierarchy, restraint, spacing discipline, one clear primary action, and a cohesive look. Covers accent color, whitespace, corner radius, type scale…
landing-page-conversion
Build or improve landing pages and marketing sites that convert, not just look good. Use when writing a hero, structuring a page, choosing a CTA, adding social proof, or diagnosing why a page isn't converting. Covers positioning, copy-first workflow, the above-the-fold contract, page narrative, CTAs, trust, and…
ship-quality-gate
Run the deterministic auditors over a real project before it ships — design drift, security headers, generated-default tells, SEO/GEO signals, delivery signals, Apple and Android project configuration — and read the results correctly, disclosure list included. Use when someone asks "audit this", "is this ready to…
apple-platform-design
Design iOS, iPadOS, and macOS apps that feel native, in the Liquid Glass era. Use when building or reviewing Apple-platform UI — navigation, controls, sheets, materials, typography, haptics — or deciding what must change when porting from web/Android. Covers Apple's HIG, the Liquid Glass design language (iOS 26 /…
design-system-audit
Find out whether a codebase actually has a design system or is re-deciding the basics on every screen — count the distinct colors, sizes, radii, shadows and spacings, collapse the near-duplicates, and migrate onto tokens. Use when inheriting a codebase, before a redesign, when a UI "feels inconsistent but I can't say…
motion-and-animation
Add motion and animation that feels great, not like slop. Use when animating any UI — transitions, hovers, presses, sheets, drawers, modals, page transitions, gestures — or when an animation feels "off". Covers the easing rules agents get wrong (ease-out for enter, ease-in for exit), springs, interruptibility…