ui-design

ui-design is a skill for Codex from kreek/consult. It costs 24 tokens per session (1,185 once invoked), scanned A, original, MIT.

A guide for designing user interfaces, including page layouts, reusable components, mobile-friendly behavior, visual styling, and usability.

In plain words
What is it for?
Use it when building or changing frontend screens, forms, design systems, typography, colors, motion, responsive layouts, or component structure.
Why use it?
It helps keep each screen focused, consistent, accessible, and arranged around the user's main task. It also explains when a problem belongs to a different kind of development work.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when building or changing frontend screens, forms, design systems, typography, colors, motion, responsive layouts, or component structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kreek/consult/ui-design
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 kreek/consult --skill ui-design
Clone the repo
git clone --depth 1 https://github.com/kreek/consult

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 ui-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/kreek/consult/ui-design/github.svg)](https://agentmods.dev/skills/kreek/consult/ui-design)
Your own site
<a href="https://agentmods.dev/skills/kreek/consult/ui-design"><img src="https://agentmods.dev/badge/skills/kreek/consult/ui-design/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 ui-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/kreek/consult/ui-design"><img src="https://agentmods.dev/badge/skills/kreek/consult/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 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.00024 $0.01185
Opus 5.5 $0.00010 $0.00474
Sonnet 5.5 $0.00005 $0.00237
Haiku 4.5 $0.00002 $0.00119

Measured 1mo ago against content hash d6ea2375b016, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-design 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.

agents/.agents/skills/ui-design/SKILL.md · 97 lines

How it starts

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

UI Design

Iron Law

START FROM THE USER TASK AND HIERARCHY. REMOVE ANY ELEMENT THE TASK DOES NOT NEED. WCAG 2.2 AA IS THE FLOOR.

When to Use

  • Building, changing, or reviewing any user-facing UI surface: layout, components, design systems, typography, color, motion, responsive behavior, forms, navigation, modals, custom controls, interactive states. Simple forms, single-page apps, and "just basic styling" all qualify; the polished-product threshold is too high a bar.
  • Testing keyboard flow, focus order, screen-reader behavior, contrast, reduced motion, forced colors, or accessible names.

When NOT to Use

  • Backend API shape; use api.
  • Frontend runtime debugging or tests only; pair with proof and browser tooling.
  • Performance profiling beyond UI design choices; use performance.

Rules

  1. One screen has one visually dominant primary action and an information order that survives a squint test. Remove elements that do not improve comprehension, trust, or action.
  2. Define the user task, state, and flow before choosing a framework. Use the product's or jurisdiction's design system, else the HIG on Apple platforms, Material 3 on Android, and Carbon for web tools.
  3. A small token system covers spacing, type, color, radius, and motion. No stray one-off values in committed CSS.
  4. Loading, empty, error, disabled, and success states are defined with the layout, not later.
  5. Accessibility is a design input, not a later review pass. Native HTML controls and semantics come before ARIA: <button type="button"> for actions, <a href> for navigation, <nav> with links for site navigation, <dialog> with .showModal() for modals. Every interactive element has name, role, value, state, and keyboard behavior.
  6. Focus is visible: at least a 2px outline at 3:1 contrast against both adjacent surfaces, with a transparent fallback for Forced Colors. Tab order follows DOM order; positive tabindex has no safe use. Focus is restored after a modal or overlay closes.
  7. Color is never the only signal. Text and non-text contrast, target size, and reflow meet WCAG 2.2 AA. Reduced motion, forced colors, high contrast, and dark mode follow user preferences.
  8. Forms have explicit labels, grouped controls, errors tied to fields, and no placeholder-only instructions. Dragging has a single-pointer alternative. Authentication never depends on a cognitive test.
  9. Automated checks catch only part of the problem. Meaningful UI changes get manual keyboard testing, and custom controls, dialogs, menus, tabs, forms, and live updates get screen-reader testing. Remaining gaps are recorded as explicit blockers or deferred work, never left implicit.

Read the full file on GitHub · 97 lines

Files

What ships with it

8 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. 1mo ago Changed d6ea2375b016
  2. 2mo ago Changed · +2 lines 52c8b8b1973d
  3. 2mo ago Changed · +7 lines · +4 tokens per session d9b8b51a003f
  4. 3mo ago First seen · 88 lines · 20 tokens per session scan A 90163662c675

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository kreek/consult (1 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 1,185 once invoked, about $0.0001 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.

Related

ui-design compared with skills from other repositories

ui-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-designkreek/consultSkill11mo agoMITA24Codex
icon-composer-app-icon-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A73Claude Code, Codex
apple-typography-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A145Claude Code, Codex
apple-ui-accessibility-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A76Claude Code, Codex
core-animation-layer-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A143Claude Code, Codex
sf-symbols-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A109Claude Code, Codex
macos-window-management-workflowgaelic-ghost/socketSkill113mo agoApache-2.0A54Claude Code, Codex