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 generate-color-palettegit 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/generate-color-palette)<a href="https://agentmods.dev/skills/alvinindra/figma-mcp-rust/generate-color-palette"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/generate-color-palette/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/generate-color-palette"><img src="https://agentmods.dev/badge/skills/alvinindra/figma-mcp-rust/generate-color-palette.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.00061 | $0.00765 |
| Opus 5.5 | $0.00024 | $0.00306 |
| Sonnet 5.5 | $0.00012 | $0.00153 |
| Haiku 4.5 | $0.00006 | $0.00076 |
Grade A, and why
generate-color-palette 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 3mo 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Color Palette
Given one or more brand colors, generate a full design-system color palette with a primitive scale and semantic aliases, then create them as Figma variables.
Input
Ask the user for:
- Primary brand color (hex), required
- Secondary/accent color (hex), optional
- Whether to include neutral/gray scale, default yes
- Whether to generate dark mode, default yes
Color Scale Algorithm
For each brand color, generate a 9-step scale (50, 100, 200, 300, 400, 500, 600, 700, 800, 900) by varying lightness in HSL space:
- 50: lightest tint (~95% lightness)
- 100: ~90% lightness
- 200: ~80% lightness
- 300: ~70% lightness
- 400: ~60% lightness
- 500: base color (the input hex)
- 600: ~45% lightness
- 700: ~35% lightness
- 800: ~25% lightness
- 900: darkest shade (~15% lightness)
For neutrals: use the primary hue but desaturate to 5-10% saturation.
Show the full color table to the user for review before creating anything.
Semantic Aliases
After the primitive scale, create semantic tokens that reference primitives:
Light mode:
- Color/Background/Default: Neutral/50
- Color/Background/Subtle: Neutral/100
- Color/Text/Default: Neutral/900
- Color/Text/Subtle: Neutral/600
- Color/Text/Disabled: Neutral/400
- Color/Primary/Default: Primary/500
- Color/Primary/Hover: Primary/600
- Color/Primary/Active: Primary/700
- Color/Primary/Subtle: Primary/100
- Color/Border/Default: Neutral/200
- Color/Border/Focus: Primary/500
Dark mode (add a "Dark" mode to the same collection):
- Color/Background/Default: Neutral/900
- Color/Background/Subtle: Neutral/800
- Color/Text/Default: Neutral/50
- Color/Text/Subtle: Neutral/300
- Color/Primary/Default: Primary/400
- (etc.)
Creation Steps
- create_variable_collection(name="Primitives", modeName="Value")
- For each color in the scale: create_variable(type="COLOR", name="Primary/500", collectionId=...) then set_variable_value(variableId, modeId, value="#hexcolor")
- Repeat for secondary and neutrals.
- create_variable_collection(name="Semantic Colors", modeName="Light")
- add_variable_mode(collectionId, modeName="Dark") if dark mode is requested
- For each semantic alias: create_variable + set_variable_value for Light mode, then Dark mode.
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.
- 3mo ago First seen · 79 lines · 61 tokens per session scan A 10815d6961b2
generate-color-palette is a skill published in the GitHub repository alvinindra/figma-mcp-rust (90 stars, last pushed 9d ago), licensed MIT. It adds 61 tokens to every session and 765 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-08-30.
generate-color-palette compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-color-palettealvinindra/figma-mcp-rust | Skill | 90 | 9d ago | MIT | A | 61 | Claude Code |
| figmaseaworld008/Commonly-used-high-value-skills | Skill | 75 | yesterday | MIT | A | 30 | Codex |
| htmlpioneerdotai/pioneer | Skill | 22 | today | MIT | A | 38 | Claude Code |
| clean-interface-designHalidSaglam/saglitzdesign-mcp | Skill | 7 | 2mo ago | MIT | A | 95 | Claude Code |
| landing-page-conversionHalidSaglam/saglitzdesign-mcp | Skill | 7 | 2mo ago | MIT | A | 86 | Claude Code |
| ship-quality-gateHalidSaglam/saglitzdesign-mcp | Skill | 7 | 2mo ago | MIT | A | 86 | Claude Code |
| apple-platform-designHalidSaglam/saglitzdesign-mcp | Skill | 7 | 2mo ago | MIT | A | 95 | Claude Code |