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 Yashraj00700/indian-gov-ui-skills --skill ux4g-design-systemgit clone --depth 1 https://github.com/Yashraj00700/indian-gov-ui-skillsWrote 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/yashraj00700/indian-gov-ui-skills/ux4g-design-system)<a href="https://agentmods.dev/skills/yashraj00700/indian-gov-ui-skills/ux4g-design-system"><img src="https://agentmods.dev/badge/skills/yashraj00700/indian-gov-ui-skills/ux4g-design-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/yashraj00700/indian-gov-ui-skills/ux4g-design-system"><img src="https://agentmods.dev/badge/skills/yashraj00700/indian-gov-ui-skills/ux4g-design-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.00147 | $0.04006 |
| Opus 5.5 | $0.00059 | $0.01602 |
| Sonnet 5.5 | $0.00029 | $0.00801 |
| Haiku 4.5 | $0.00015 | $0.00401 |
Grade A, and why
ux4g-design-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 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 — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UX4G Design System (v3.0.18)
Overview
UX4G is the Government of India's design system, published by NeGD/DIC under MeitY. It ships design tokens, ~2,700 CSS classes, 52 components, 16 service patterns and a Flutter package.
All values in this skill were extracted from the shipped CSS on 30 Jul 2026, not recalled. Reference files carry the full machine-extracted inventory.
Core principle: UX4G is a CSS class library with a two-layer token system. There is
no official React component package — ux4g-web-components is a CSS bundle plus a small
runtime, not a set of React components.
⚠️ The single most important thing: UX4G's own AI docs are wrong about token names
https://ux4g.gov.in/llms-full.txt documents a token API that does not exist in the
shipped CSS. Verified by grepping all 145 CSS files at cdn.ux4g.gov.in/[email protected]/:
Documented in llms-full.txt |
Reality |
|---|---|
--ux4g-space-xs/sm/md/lg/xl/4xl |
0 occurrences. Does not exist |
--ux4g-shadow-sm/md/lg/xl/2xl |
0 occurrences. Does not exist |
--ux4g-color-primary, --ux4g-color-surface, --ux4g-color-on-surface, --ux4g-color-error |
0 occurrences. Does not exist |
--ux4g-font-family-sans, --ux4g-font-size-sm/base/lg |
0 occurrences. Does not exist |
--ux4g-radius-sm/md/lg/xl/full |
✅ Real — these five do exist, in the semantic layer |
19 of the 24 token names in their AI documentation are fictional. CSS custom properties
fail silently — padding: var(--ux4g-space-md) produces no padding and no error.
Never take a --ux4g-* name from llms.txt/llms-full.txt. Use tokens.md in this skill,
or grep the CDN.
The real token API
Two layers. Write application code against the semantic layer.
tokens/ 355 primitives — numeric names --ux4g-space-7, --ux4g-size-16, --ux4g-radius-3
semantic/ 361 aliases — intent names --ux4g-padding-l, --ux4g-fs-16, --ux4g-bg-primary
Spacing is an inline / stack / section model, not one t-shirt scale
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 First seen · 277 lines · 147 tokens per session scan A 9ff175ae7109
ux4g-design-system is a skill published in the GitHub repository Yashraj00700/indian-gov-ui-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 147 tokens to every session and 4,006 once invoked, about $0.0006 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-31.
Other skills, from other repositories
brand-visual-language
Shape language across type, radius and icons carries brand personality. Use when starting a design system, picking icons or radius tokens, or reviewing visual consistency.
loading-states-and-perceived-performance
Spinners, skeletons and staggered reveals that manage wait times. Use when designing loading states, async data or the feel of a slow interface.
micro-interactions
Small purposeful animations — toggles, animated icons, success moments. Use when designing interactive feedback, success states or loaders.
responsive-paradigms
Mobile, tablet and desktop are different paradigms, not one layout scaled. Use when designing responsive layouts or deciding what each breakpoint shows.
color-mode-and-theme
Light, dark or both, and when a theme selector is worth it. Use when defining a base palette or deciding on dark mode support.
elevation-and-depth
Shadows and layering that lift elements above the surface. Use when designing cards, dropdowns, modals, tooltips or any floating element.