ui_design

ui_design is a skill for Claude Code from razzant/ouroboros. It costs 56 tokens per session (1,087 once invoked), scanned A, original, MIT.

Design or change anything people look at (app UI, widget, mockup, HTML page or report, chart, icon) so it fits the existing system, uses real content and states, and is checked by eye and by measurement at the viewer's real size.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Install with agentmods
npx agentmods add skills/razzant/ouroboros/ui_design
About the project

Ouroboros is a general-purpose AI agent that maintains its identity, memory, and task history across restarts while working on external projects and coordinating specialist agents. It runs as a desktop application or headless command-line tool, using configured remote APIs or a local model for inference. The catalogue skills support working with or modifying Ouroboros.

razzant/ouroboros · 1,572 stars · on GitHub · ouroboros-agent.ai

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 razzant/ouroboros --skill ui_design
Clone the repo
git clone --depth 1 https://github.com/razzant/ouroboros

Made for: Claude Code.

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/razzant/ouroboros/ui_design/github.svg)](https://agentmods.dev/skills/razzant/ouroboros/ui_design)
Your own site
<a href="https://agentmods.dev/skills/razzant/ouroboros/ui_design"><img src="https://agentmods.dev/badge/skills/razzant/ouroboros/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/razzant/ouroboros/ui_design"><img src="https://agentmods.dev/badge/skills/razzant/ouroboros/ui_design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,087 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 unknown 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.00056 $0.01087
Opus 5.5 $0.00022 $0.00435
Sonnet 5.5 $0.00011 $0.00217
Haiku 4.5 $0.00006 $0.00109

Measured today against content hash 10b4ed2f3ad3, 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (references/freeze.js, references/measure.js), 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 · 54 lines

How it starts

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

Designing something people will look at

A surface looks designed when every choice on it is explained by what the viewer does there. This is a pattern, not a law: the request, the product's design document and the owner's words outrank it.

1. The job first

  • Name the viewer, their measured window (size, theme, engine, saved panel widths; the runtime context's owner_client fact names the owner's surface) and the one thing they do here.
  • Authority, in order: the human's words; the product's design document and tokens (for Ouroboros's own interface docs/DESIGN.md and web/ui.css); the screens beside yours; this playbook; your habits.
  • Census before invention: find every existing rendering of the same intent; reuse it or replace all of them. One intent, one control.
  • Real content at its worst real length: the longest title, the long list, the empty list, the error. Real data from history exports and task results is allowed and preferred; only side effects on the live API are off limits. Invented data is at least as awkward, and you say so.
  • A step from today unless a redesign is asked: change structure and behaviour, keep the materials people already approved. Recolouring the same boxes is not a design.

2. Composition essentials

  • One thing first: the primary object or action is found without reading; the rest is quieter by size, weight or position.
  • Shared edges: related things start on one left edge and sit on one baseline; correct by eye after looking.
  • Spacing rhythm: one small scale, tight inside a group, generous between groups. Air is space, never faded text.
  • Proximity before boxes: a border, fill or shadow marks a separate object; if everything has one, nothing does.
  • Quiet surface: caveats, counters and test counts go in your reply, never on the surface.
  • A plan that would look the same for another subject is a default, not a choice. The checkable floor, the tells and the words: references/craft.md.

3. Look first, then measure

Read the full file on GitHub · 54 lines

Files

What ships with it

4 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. today First seen · 54 lines · 56 tokens per session scan A 10b4ed2f3ad3

Subscribe to this mod's changes

ui_design is a skill published in the GitHub repository razzant/ouroboros (1,572 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,087 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-22.

Related

Other skills, from other repositories

web-design

Use when building any web page, HTML artifact, landing page, dashboard, slide deck, report, email, or UI component the user will look at. A taste-first design system that makes generated pages look intentional and crafted instead of generic "AI-made". Provides an aesthetic-direction process, design tokens, a starter…

drewnekota/cetus · 80 tokens

context-menu

Guide for creating and displaying context menus in Wave Terminal. Use when implementing right-click menus, adding context menu items, creating submenus, or handling menu interactions with checkboxes and separators.

mits-pl/wove · 40 tokens

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop.

QwenLM/qwen-code · 68 tokens

slides-polish

Per-page Codex review + targeted python-pptx / Beamer fixes for academic talk slides. Use AFTER /paper-slides (or any externally generated PPTX/Beamer) when the deck looks 'mostly OK' but the user wants a final pass that aligns visual weight with a reference, bumps PPTX fonts to projector-readable size, kills italic…

wanshuiyin/Auto-claude-code-research-in-sleep · 136 tokens

paper-poster-html

A workflow for building an academic conference poster as one HTML/CSS file and printing it to a PDF at an exact page size. It uses the paper’s real figures and checks layout details before review.

wanshuiyin/Auto-claude-code-research-in-sleep · 107 tokens

mermaid-diagram

Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18 more diagram types.

wanshuiyin/Auto-claude-code-research-in-sleep · 36 tokens