UI Design

UI Design is a skill for Claude Code, Codex from kok-o/koko-contextos-agents. It costs 10 tokens per session (993 once invoked), scanned A, a copy of UI Design, MIT.

A set of rules and patterns for designing user interfaces, including choices for colour, typography, spacing, contrast, and dark mode.

In plain words
What is it for?
Use it when planning or reviewing interface layouts, design systems, colours, fonts, spacing, accessibility contrast, and dark-mode surfaces.
Why use it?
It helps keep screens readable and visually consistent instead of relying on browser defaults or arbitrary styling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when planning or reviewing interface layouts, design systems, colours, fonts, spacing, accessibility contrast, and dark-mode surfaces.

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

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 UI Design

README.md
[![agentmods](https://agentmods.dev/badge/skills/kok-o/koko-contextos-agents/ui-design/github.svg)](https://agentmods.dev/skills/kok-o/koko-contextos-agents/ui-design)
Your own site
<a href="https://agentmods.dev/skills/kok-o/koko-contextos-agents/ui-design"><img src="https://agentmods.dev/badge/skills/kok-o/koko-contextos-agents/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/kok-o/koko-contextos-agents/ui-design"><img src="https://agentmods.dev/badge/skills/kok-o/koko-contextos-agents/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 993 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 95% copy Near-identical to another mod 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.00010 $0.00993
Opus 5.5 $0.00004 $0.00397
Sonnet 5.5 $0.00002 $0.00199
Haiku 4.5 $0.00001 $0.00099

Measured 1mo ago against content hash aad79c8f77cd, 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.

Origin

This is a copy

95% identical to UI Design — 48 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/core/skills/ui-design/SKILL.md · 125 lines

How it starts

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

UI Design

Overview

A brief summary of what the skill does and its core philosophy.

When to Use

Context for when this skill is applicable.

Rules & Patterns

UI Design — Best Practices

Design System Foundations

Color

  • Never use generic colors — curate a harmonious palette
  • Always tint — no pure black (#000), no pure gray. Add a subtle warm or cool tint
  • Color roles: primary (action), secondary (accent), neutral (text, borders), semantic (error, success, warning, info)
  • Dark mode: design intentionally, not just invert. Surface hierarchy: background < surface < elevated
  • Contrast: 4.5:1 minimum for body text, 3:1 for large text

Typography

  • Never use browser defaults — choose a curated font (Inter, Outfit, Geist, Sora)
  • Type scale: use a modular scale (1.25 ratio) — 12, 14, 16, 20, 24, 32, 40, 48
  • Font weights: Regular (400), Medium (500), Semibold (600), Bold (700). Don't use all of them — pick 2-3
  • Line height: 1.5 for body, 1.2 for headings, 1.6 for long-form text
  • Max line width: 65-75 characters for readability

Spacing

  • Use a 4px grid — all spacing should be multiples of 4
  • Spacing scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96
  • Consistency — same spacing between similar elements
  • Whitespace is design — don't fill every pixel

Layout

  • Grid system: 12-column grid for desktop, 4-column for mobile
  • Visual hierarchy: size, weight, color, spacing, position
  • F-pattern/Z-pattern — for content-heavy pages
  • Group related items — use proximity and boundaries

Component Patterns

Buttons

  • Clear hierarchy: Primary > Secondary > Ghost/Text
  • Consistent sizing: sm (32px), md (40px), lg (48px)
  • States: default, hover, active, disabled, loading
  • Always accessible: sufficient contrast, focus indicator

Forms

  • Labels above inputs (not floating labels for critical forms)
  • Clear error states with inline messages
  • Logical tab order
  • Progressive disclosure — don't show all fields at once

Read the full file on GitHub · 125 lines

Files

What ships with it

5 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 First seen · 125 lines · 10 tokens per session scan A aad79c8f77cd

Subscribe to this mod's changes

UI Design is a skill published in the GitHub repository kok-o/koko-contextos-agents (2 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 993 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to UI Design, differing in 48 lines, and is treated as a copy.

Related

Other skills, from other repositories

write-zot-themes

Help the user create, install, or package zot themes, including theme-only extensions.

patriceckhart/zot · 23 tokens

code-quality-principles

Applies KISS, YAGNI, and SOLID principles for clean code with reduced complexity. Use when refactoring or reviewing code for over-engineering.

athola/claude-night-market · 38 tokens

align-grid

Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one. Encodes the discipline (columns + modules + baseline, grotesque type, flush-left, restrained black/white/red palette) AND the hard-won front-end engineering to make the grid…

danielvm-git/bigpowers · 160 tokens

extract-design

Extract a Google DESIGN.md file from an HTML prototype (claude.ai/design or any styled page) using Puppeteer, producing machine-readable tokens and AI-generated prose. Use when the user has an HTML prototype and wants a DESIGN.md to anchor their project's visual identity, or when seed-conventions has just scaffolded a…

danielvm-git/bigpowers · 69 tokens

design-interface

Generate multiple radically different interface designs for a module using parallel sub-agents, then compare trade-offs. Based on "Design It Twice" from A Philosophy of Software Design. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

danielvm-git/bigpowers · 61 tokens

visual-dashboard

Start a browser-based dashboard that visualizes architecture, implementation plans, and project status. Persists artifacts in .bigpowers/dashboard/. Reads specs/state.yaml, release-plan.yaml, epics, and planning-status via HTTP API or opencode panel.

danielvm-git/bigpowers · 52 tokens