web-design-system

web-design-system is a skill for Codex from divyanshu-iitian/agent-website-design-skills. It costs 55 tokens per session (612 once invoked), scanned A, original, MIT.

A method for creating a shared visual rulebook for a website or web app. It defines consistent colors, text styles, spacing, components, states, responsive behavior, and accessibility defaults.

In plain words
What is it for?
It helps inspect an existing frontend, identify repeated design patterns, define reusable style names and component rules, and reconcile or extend an interface system.
Why use it?
It reduces visual inconsistencies and makes new interface work fit the existing product.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps inspect an existing frontend, identify repeated design patterns, define reusable style names and component rules, and reconcile or extend an interface system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/divyanshu-iitian/agent-website-design-skills/web-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 divyanshu-iitian/agent-website-design-skills --skill web-design-system
Clone the repo
git clone --depth 1 https://github.com/divyanshu-iitian/agent-website-design-skills

Made for: 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 web-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/divyanshu-iitian/agent-website-design-skills/web-design-system/github.svg)](https://agentmods.dev/skills/divyanshu-iitian/agent-website-design-skills/web-design-system)
Your own site
<a href="https://agentmods.dev/skills/divyanshu-iitian/agent-website-design-skills/web-design-system"><img src="https://agentmods.dev/badge/skills/divyanshu-iitian/agent-website-design-skills/web-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 web-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/divyanshu-iitian/agent-website-design-skills/web-design-system"><img src="https://agentmods.dev/badge/skills/divyanshu-iitian/agent-website-design-skills/web-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 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.00055 $0.00612
Opus 5 $0.00028 $0.00306
Sonnet 5 $0.00011 $0.00122
Haiku 4.5 $0.00006 $0.00061

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

Security

Grade A, and why

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

web-design-system/SKILL.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Design System

Build the smallest system that makes the product more coherent. Favor semantic contracts that components can use over a large inventory of decorative values.

Choose the Mode

  • Extract when the product is visually coherent but undocumented.
  • Reconcile when multiple patterns conflict.
  • Create when a new product has no established UI language.
  • Extend when a feature needs states or components the system lacks.

Workflow

  1. Inspect the framework, CSS strategy, theme files, primitives, component library, icon set, and representative screens.
  2. Inventory repeated values and patterns. Separate intentional variation from accidental drift.
  3. Map raw values to semantic roles before changing code. Example: blue-600 -> action-primary, not "replace every blue."
  4. Define the minimum token layers:
    • foundations: color, type, spacing, radius, border, shadow, motion;
    • semantic tokens: background, surface, text, border, action, focus, and status;
    • component tokens only where a component genuinely needs them.
  5. Specify component anatomy, variants, sizes, and state behavior. Include content constraints, not only appearance.
  6. Define responsive behavior and density rules without inventing device-specific duplicates.
  7. Encode accessibility defaults: semantic elements, names, labels, focus-visible, keyboard behavior, contrast, errors, target size, and reduced motion.
  8. Implement inside the existing styling mechanism. Avoid parallel token systems.
  9. Migrate one representative component or screen and remove superseded values when safe.
  10. Verify light/dark themes, core states, narrow/wide layouts, and at least one realistic content stress case.

System Rules

  • Name tokens by purpose, not by current appearance.
  • Keep primitive escape hatches available, but make the correct path easier.
  • Do not force every region into a card.
  • Do not encode status through color alone.
  • Keep component APIs small; prefer composition over variant explosions.
  • Preserve established patterns unless they harm usability, accessibility, or maintainability.
  • Document decisions where future contributors would otherwise recreate the inconsistency.

Read the full file on GitHub · 56 lines

Files

What ships with it

2 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. 11d ago First seen · 56 lines · 55 tokens per session scan A d0ca7aed0027

Subscribe to this mod's changes

web-design-system is a skill published in the GitHub repository divyanshu-iitian/agent-website-design-skills (2 stars, last pushed 20d ago), licensed MIT. It adds 55 tokens to every session and 612 once invoked, about $0.0003 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