ux4g-design-system

ux4g-design-system is a skill for Claude Code, Codex from Yashraj00700/indian-gov-ui-skills. It costs 147 tokens per session (4,006 once invoked), scanned A, original, MIT.

A reference guide for UX4G, the Government of India's design system: a collection of shared styles, design values, and interface components for websites and apps.

In plain words
What is it for?
Use it when building or reviewing UX4G interfaces in HTML, React, Angular, or Flutter, including checking components, installation paths, styles, and compatibility issues.
Why use it?
It helps prevent mistakes when using UX4G, including relying on token names documented by its AI guide but missing from the released CSS.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or reviewing UX4G interfaces in HTML, React, Angular, or Flutter, including checking components, installation paths, styles, and compatibility issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yashraj00700/indian-gov-ui-skills/ux4g-design-system
Install

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.

Any agent
npx skills add Yashraj00700/indian-gov-ui-skills --skill ux4g-design-system
Clone the repo
git clone --depth 1 https://github.com/Yashraj00700/indian-gov-ui-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for ux4g-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/yashraj00700/indian-gov-ui-skills/ux4g-design-system/github.svg)](https://agentmods.dev/skills/yashraj00700/indian-gov-ui-skills/ux4g-design-system)
Your own site
<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.

agentmods 80×15 button for ux4g-design-system

Your own site · 80×15
<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>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash 9ff175ae7109, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

skills/ux4g-design-system/SKILL.md · 277 lines

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 silentlypadding: 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

Read the full file on GitHub · 277 lines

Files

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.

Changes

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.

  1. 12d ago First seen · 277 lines · 147 tokens per session scan A 9ff175ae7109

Subscribe to this mod's changes

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.

Related

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…

dembrandt/dembrandt-skills · 68 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…

dembrandt/dembrandt-skills · 70 tokens

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.

dembrandt/dembrandt-skills · 62 tokens

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…

dembrandt/dembrandt-skills · 68 tokens

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.

dembrandt/dembrandt-skills · 63 tokens

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…

dembrandt/dembrandt-skills · 68 tokens