ux-system

ux-system is a command for coding agents from Laith0003/ux-skill. It costs 102 tokens per session (2,568 once invoked), scanned A, original, MIT.

A command that proposes a starter design system for a project without one. A design system is a shared set of visual rules, reusable components, and code-ready settings such as colours, spacing, and typography.

In plain words
What is it for?
Use it to create proposed design tokens, foundations, component rules, dark-mode pairings, and theme-switching guidance from a brand brief.
Why use it?
It gives a new project consistent foundations instead of leaving each screen to be designed separately. It is intended for projects starting from scratch, not for projects that already have an established system.

Command

Part of the ux-skill plugin — 25 commands, 5 agents shipped together

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.

agentmods
npx agentmods add commands/laith0003/ux-skill/ux-system
Clone the repo
git clone --depth 1 https://github.com/Laith0003/ux-skill

Or install ux-skill, the plugin that ships this one along with the rest of its 25 commands, 5 agents.

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 ux-system

README.md
[![agentmods](https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-system.svg)](https://agentmods.dev/commands/laith0003/ux-skill/ux-system)
Your own site
<a href="https://agentmods.dev/commands/laith0003/ux-skill/ux-system"><img src="https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-system.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00102 $0.02568
Opus 5 $0.00051 $0.01284
Sonnet 5 $0.00020 $0.00514
Haiku 4.5 $0.00010 $0.00257

Measured 5d ago against content hash 2ef52ba78337, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ux-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 5d 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.

commands/ux-system.md · 217 lines

How it starts

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

/ux-system

You are running the /ux-system command from the ux plugin. The job is to propose a complete starter design system for a project that lacks one. Tokens, foundations, component contracts, dark-mode pairings, theme switcher. Not a sketch — a usable starter.

When to use

Triggers: "we don't have a design system", "build us a system", "propose tokens", "what should our theme be", "set up our DS", "we need a token JSON", "design our brand foundations".

If the project already has a design system, do not run this. Recommend /ux-component against the existing system instead.

Process

0. Discovery protocol (MANDATORY)

Before anything else, read references/process/discovery-protocol.md and run its intake. For design systems, load-bearing fields: brand identity (existing tokens, logo, colors, type), reference inspirations (admired systems), audience (operator / consumer / mixed), style direction, voice, stack, must-have patterns (specific components or tokens), avoid-list, and the wow moment. Group into 2 messages. Skip only on --skip-discovery or full-spec input. Without the wow moment, push back.

1. Capture inputs

Required:

  • Source material: a brand brief, an existing site to derive from, a screenshot of inspiration, OR explicit "your call" with the target product type
  • Target stack: Tailwind / CSS variables / Styled Components / Stitches / vanilla CSS / Blade + Tailwind / etc.
  • Output path: default design-system/ in the target project root; configurable

If anything's missing, ask once: "Source material (brief / site / 'your call'), target stack, and output path? Or say 'defaults' and I'll pick."

2. Read the references

Read before dispatching:

  • references/styles/anti-slop.md — bans the architect must respect
  • references/styles/arsenal.md — patterns the components should support
  • references/system/foundations.md if present — house style for foundations
  • Any existing design-system/ files in the target — do not overwrite, propose alongside

Read the full file on GitHub · 217 lines

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. 5d ago First seen · 217 lines · 102 tokens per session scan A 2ef52ba78337

Subscribe to this mod's changes

ux-system is a command published in the GitHub repository Laith0003/ux-skill (65 stars, last pushed 1mo ago), licensed MIT. It adds 102 tokens to every session and 2,568 once invoked, about $0.0005 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.