ui-design

ui-design is a skill for Claude Code, Codex from onsager-ai/dev-skills. It costs 48 tokens per session (888 once invoked), scanned A, original, MIT.

A workflow for exploring design tools and implementing their results in an existing frontend project. It keeps the project's established design rules, components, forms, assets, and visual tests as the source of truth.

In plain words
What is it for?
Use it to inspect design systems, extract colors and other design values, explore screens, refine visuals, and add visual regression checks.
Why use it?
It helps prevent generated designs from replacing repository-owned styles or introducing unapproved visual changes. It also separates design exploration from production implementation decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to inspect design systems, extract colors and other design values, explore screens, refine visuals, and add visual regression checks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/onsager-ai/dev-skills/ui-design/github.svg)](https://agentmods.dev/skills/onsager-ai/dev-skills/ui-design)
Your own site
<a href="https://agentmods.dev/skills/onsager-ai/dev-skills/ui-design"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/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/onsager-ai/dev-skills/ui-design"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 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.00048 $0.00888
Opus 5.5 $0.00019 $0.00355
Sonnet 5.5 $0.00010 $0.00178
Haiku 4.5 $0.00005 $0.00089

Measured 23d ago against content hash 47a3433e2324, 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 23d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/proxy.mjs, scripts/run.mjs, scripts/run.test.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ui-design/SKILL.md · 84 lines

How it starts

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

UI design workflow

Scope

This procedure coordinates visual review; repository contracts own the visual system, implementation stack and acceptance checks. It does not authorize production UI changes or a new aesthetic beyond the user's established scope.

Prerequisites

Resolve the checkout/ref, read AGENTS.md and the repository's design instructions. Inspect existing components, token sources, generated assets and visual tests. Use harness-operations when capability mapping is needed.

Procedure

  1. Reconcile requirements and references using baseline consistency before selecting a baseline, implementing a visible change or accepting a diff. Read the repository-local design brief, then extract exact source values and semantic roles, including theme variants and source SHA. Keep shared foundations and product layouts separate; do not introduce a reverse dependency between repositories.
  2. The product repository's Storybook is the interactive design and review surface. Express a proposed screen, component or state as a story built from the real components and tokens, and review it there. Design-canvas files (.pen, Stitch exports, generated mockup PNGs) must not be committed.
  3. Implement in authored frontend sources using existing components/controllers. Preserve server forms, accessibility, security, focus, touch and lifecycle ownership. Regenerate bundles with their owning build tool, never hand-edit them. Run the repository's applicable design and behavioral checks, and its pixel checks where it has them; review differences before an intentional baseline update. A repository without pixel comparison relies on reviewed screenshots; do not add one unless its contract asks for it.

Baseline consistency

Record a short mapping in the existing issue or PR: decision/source, affected screen or state, expected visible behavior, and reference disposition (preserve, update or unresolved). Scale it to the change; a small change may need one row. Use current task scope and settled product decisions to determine where an older reference remains applicable. Approval of a historical screen does not require retaining capabilities or invitations superseded by later requirements. Resolve clear consequences within the authorized scope; ask only about genuine conflicts or new design choices, with representative images and concrete options. Keep unrelated work moving while an affected decision remains unresolved.

Read the full file on GitHub · 84 lines

Files

What ships with it

9 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. 23d ago Changed · +3 lines · -1 tokens per session 47a3433e2324
  2. 25d ago Changed · -25 lines · -2 tokens per session 7d4c8099fd54
  3. 1mo ago Changed · +35 lines · +2 tokens per session 2b2e16461ead
  4. 1mo ago First seen · 71 lines · 49 tokens per session scan A 6fd036f14bd7

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository onsager-ai/dev-skills (7 stars, last pushed 22d ago), licensed MIT. It adds 48 tokens to every session and 888 once invoked, about $0.0002 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-10-09.

Related

ui-design compared with skills from other repositories

ui-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-designonsager-ai/dev-skillsSkill722d agoMITA48Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k3d agoApache-2.0A24Claude Code, Codex
baseline-uivercel-labs/open-agentsSkill5.9kyesterdayMITA48Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex