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 | $0.00073 | $0.02003 |
| Sonnet 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 12d 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.
- 12d 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 1mo ago), licensed MIT. It adds 147 tokens to every session and 4,006 once invoked, about $0.0007 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-31.
Other skills, from other repositories
brand-visual-language
A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…
micro-interactions
Micro-interactions are small, purposeful animations and responses that reward the user and make the interface feel alive — an animated icon, a satisfying toggle, a subtle reveal. Borrowed from the natural world, they add delight without distraction. Use when designing interactive components, success states, toggles…
elevation-and-depth
Elevation — subtle shadows and layering — communicates visual hierarchy by lifting elements above the surface. Combined with border-radius, it creates the tactile quality of cards, modals, and interactive surfaces. Use when designing cards, dropdowns, modals, tooltips, or any floating UI element.
loading-states-and-perceived-performance
Manage user expectations during wait times with appropriate loading states — from simple spinners to complex skeleton screens and staggered animations. Perceived performance is often more important than actual load time. Use when designing data-heavy components, handling API calls, building hero sections, or improving…
motion-and-storytelling
Disney's 12 animation principles, cinematic storytelling techniques, and comic book conventions apply to web UI — used subtly, they make interfaces feel alive, intentional, and emotionally resonant. Use when designing transitions, micro-interactions, onboarding flows, scroll animations, or any motion in the UI.
responsive-paradigms
Mobile, tablet, and desktop are different interaction paradigms — not the same layout scaled up or down. Sections can be hidden, repositioned, or made sticky on mobile. Navigation and primary actions move. Use when designing responsive layouts, adapting desktop UI for mobile, or deciding what to show on each…