better-ui

better-ui is a skill for Claude Code from oyi77/1ai-skills. It costs 29 tokens per session (3,029 once invoked), scanned A, original, MIT.

A user-interface polishing guide for surfaces, icons, shadows, rounded corners, and animation. It gives exact values for visual details and motion.

In plain words
What is it for?
Use it to review or refine component surfaces, icon states, transitions, animation performance, shadows, and optical alignment.
Why use it?
It removes inconsistent visual treatment between parts of an interface and helps catch polish issues before launch, without overriding broken interactions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the 1ai-skills plugin — 240 skills, 4 commands shipped together

Good fit Use it to review or refine component surfaces, icon states, transitions, animation performance, shadows, and optical alignment.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 240 skills, 4 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/better-ui"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/better-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,029 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.00029 $0.03029
Opus 5.5 $0.00012 $0.01212
Sonnet 5.5 $0.00006 $0.00606
Haiku 4.5 $0.00003 $0.00303

Measured 2d ago against content hash 0b575ca69842, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

better-ui 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 2d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • better-ui — 89% identical, 58 lines differ
content/better-ui/SKILL.md · 188 lines

How it starts

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

UI polish

Overview

Polishes surfaces, icons, and motion with exact values for border radius, optical alignment, shadows, icon states, and animation. Covers enter/exit transitions, performance, and surfaces.

When to Use

A polish pass before launch: inconsistent radius, shadows, icon states, or motion between surfaces.

This skill holds the visual polish for surfaces, icons and motion, with the exact value each detail takes. It applies once the underlying interaction is sound, and a polish finding never outranks a broken interaction.

Exact values, optional polish

The values below are exact, not ranges to approximate. cubic-bezier(0.2, 0, 0, 1) is not cubic-bezier(0.4, 0, 0.2, 1), and 0.96 is not 0.95. The optical nudges and the concentric padding cutoff are the exceptions. They are starting points, judged by eye.

Keep the project's component library, tokens and density, and match its motion language wherever no rule here gives a value. A deliberate and consistent project convention, such as a style with no shadows, is a preference and not a finding. The same detail done two ways within the project is a finding.

Text wrapping, font rendering, tabular numbers and text spacing belong to better-typography. Hit areas, keyboard support, ARIA and the reduced-motion requirement belong to better-accessibility. Grouping, section spacing, breakpoints and spatial RTL belong to better-layout, except directional icon mirroring. Color tokens and contrast measurement belong to better-colors.

Outer radius equals inner radius plus padding

Where nested surfaces share a visible, even inset, the outer radius is the inner radius plus the padding plus any border width. Past 24px of padding, or where the padding is deliberately asymmetric, treat the layers as separate surfaces and keep each one's radius token. Recipes are in surfaces.md.

Align optically where geometry looks off

Where geometric centering looks off, nudge by eye. Give a button 2px less padding on its icon side, shift a play triangle toward its point and fix asymmetric glyphs in the SVG itself. Recipes are in surfaces.md.

Read the full file on GitHub · 188 lines

Files

What ships with it

6 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. 2d ago First seen · 188 lines · 29 tokens per session scan A 0b575ca69842

Subscribe to this mod's changes

better-ui is a skill published in the GitHub repository oyi77/1ai-skills (17 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 3,029 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-11-04.

Related

better-ui compared with skills from other repositories

better-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-uioyi77/1ai-skillsSkill17yesterdayMITA29Claude Code
baseline-uihumanerd-drew/opencode-drewgentSkill33mo agoMITA52Claude Code, Codex
popular-web-designsgraniet/kheishSkill2133mo agoApache-2.0A61Claude Code, Codex
popular-web-designsdavidtoby/agent-skillsSkill11yesterdayMITA23Claude Code, Codex
motion-foundationsgongyijie85/dsh-eccSkill121mo agoMITA66Claude Code, Codex
motion-advancedgongyijie85/dsh-eccSkill121mo agoMITA73Claude Code, Codex
motion-patternsgongyijie85/dsh-eccSkill121mo agoMITA70Claude Code, Codex