Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dylantarre/design-system-skillsnpx agentmods add skills/dylantarre/design-system-skills/icon-systemWrote 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/dylantarre/design-system-skills/icon-system)<a href="https://agentmods.dev/skills/dylantarre/design-system-skills/icon-system"><img src="https://agentmods.dev/badge/skills/dylantarre/design-system-skills/icon-system/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/dylantarre/design-system-skills/icon-system"><img src="https://agentmods.dev/badge/skills/dylantarre/design-system-skills/icon-system.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.04094 |
| Opus 5 | $0.00019 | $0.02047 |
| Sonnet 5 | $0.00008 | $0.00819 |
| Haiku 4.5 | $0.00004 | $0.00409 |
Grade A, and why
icon-system 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 — 681 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Icon System
Overview
Implement a scalable icon system with SVG sprites or icon components, proper sizing tokens, consistent stroke widths, and accessibility. Covers both sprite-based and component-based approaches.
When to Use
- Setting up icons for a new design system
- Converting icon fonts to SVG
- Creating an icon component library
- Establishing icon sizing standards
- Making icons accessible
Quick Reference: Approaches
| Approach | Best For | Bundle Size | Styling |
|---|---|---|---|
| SVG Sprite | Large icon sets, caching | One request | CSS limited |
| Inline SVG Components | Tree-shaking, full control | Per-icon | Full CSS |
| Icon Font | Legacy support | One request | Limited |
| External SVG | Simple sites | Per-icon | Limited |
The Process
- Choose approach: Sprite vs components based on project needs
- Define size scale: Icon size tokens (xs, sm, md, lg, xl)
- Establish stroke width: Consistent line weights
- Create component: Wrapper with accessibility
- Build tooling: Optimization, sprite generation
Size Tokens
Icon Size Scale
:root {
/* Icon sizes - match common UI patterns */
--icon-size-xs: 0.75rem; /* 12px - inline text */
--icon-size-sm: 1rem; /* 16px - small buttons */
--icon-size-md: 1.25rem; /* 20px - default */
--icon-size-lg: 1.5rem; /* 24px - large buttons */
--icon-size-xl: 2rem; /* 32px - feature icons */
--icon-size-2xl: 2.5rem; /* 40px - hero icons */
--icon-size-3xl: 3rem; /* 48px - illustrations */
}
Tailwind Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
width: {
'icon-xs': '0.75rem',
'icon-sm': '1rem',
'icon-md': '1.25rem',
'icon-lg': '1.5rem',
'icon-xl': '2rem',
},
height: {
'icon-xs': '0.75rem',
'icon-sm': '1rem',
'icon-md': '1.25rem',
'icon-lg': '1.5rem',
'icon-xl': '2rem',
},
},
},
};
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 First seen · 681 lines · 39 tokens per session scan A 2f86a3effe00
icon-system is a skill published in the GitHub repository dylantarre/design-system-skills (42 stars, last pushed 8mo ago), licensed MIT. It adds 39 tokens to every session and 4,094 once invoked, about $0.0002 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
moai-domain-uiux
UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.
moai-domain-frontend
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.
figma-codegen
Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…
component-template-generator
Generates starter component code using design tokens. Creates React/Vue/Svelte components with proper token usage, variants, and accessibility built in.
native-app-designer
Creates breathtaking iOS/Mac and web apps with organic, non-AI aesthetic. Expert in SwiftUI, React animations, physics-based motion, and human-crafted design. Use for iOS/Mac app UI, React/Vue animations, native-feel web apps, physics-based motion design. Activate on "SwiftUI", "iOS app", "native app", "React…
frontend-ux-engineer
Use for frontend features, Next.js/React/Vue/Svelte UI, accessibility, responsive layout, design polish, state handling, forms, visual QA, or product workflow improvements.