ui-composition

ui-composition is a skill for Claude Code, Codex from Owl-Listener/designpowers. It costs 39 tokens per session (1,048 once invoked), scanned A, original, MIT.

A visual design guide for arranging screens, choosing colours and type, and making layouts work across screen sizes. It also keeps accessibility in view, such as readable contrast and sensible zoom behaviour.

In plain words
What is it for?
Use it when creating page layouts, colour palettes, typography, spacing, responsive breakpoints, visual hierarchy, dark mode, or high-contrast versions.
Why use it?
It reduces guesswork in visual decisions and helps prevent designs that look good but are difficult for some people to read or use.

Skill for Claude CodeCodex

Part of the designpowers plugin — 36 skills, 10 agents, 1 hook shipped together

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.

agentmods
npx agentmods add skills/owl-listener/designpowers/ui-composition
Any agent
npx skills add Owl-Listener/designpowers --skill ui-composition
Clone the repo
git clone --depth 1 https://github.com/Owl-Listener/designpowers

Made for: Claude Code, Codex.

Or install designpowers, the plugin that ships this one along with the rest of its 36 skills, 10 agents, 1 hook.

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-composition

README.md
[![agentmods](https://agentmods.dev/badge/skills/owl-listener/designpowers/ui-composition.svg)](https://agentmods.dev/skills/owl-listener/designpowers/ui-composition)
Your own site
<a href="https://agentmods.dev/skills/owl-listener/designpowers/ui-composition"><img src="https://agentmods.dev/badge/skills/owl-listener/designpowers/ui-composition.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.01048
Opus 5 $0.00019 $0.00524
Sonnet 5 $0.00008 $0.00210
Haiku 4.5 $0.00004 $0.00105

Measured 4d ago against content hash 0ccf865f5ec2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-composition 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 4d 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.

skills/ui-composition/SKILL.md · 118 lines

How it starts

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

UI Composition

Visual design is where intent becomes tangible. Every colour, every spacing decision, every typographic choice either includes or excludes people. This skill ensures visual decisions are principled, systematic, and inclusive.

When to Use

  • Designing screen layouts or page structures
  • Choosing or refining colour palettes
  • Setting typography systems
  • Establishing spacing and grid systems
  • Designing for responsive breakpoints
  • Creating or modifying visual hierarchy
  • Designing dark mode or high contrast variants

Process

Step 1: Reference the Foundation

Before making visual decisions, confirm you have:

  • Design brief or strategy (from earlier phases)
  • Personas (especially ability spectrum considerations)
  • Existing design system (invoke design-system-alignment if one exists)

Step 2: Layout and Structure

Grid system:

  • Define columns, gutters, and margins
  • Ensure the grid adapts across breakpoints (mobile, tablet, desktop)
  • Test that content reflows sensibly when zoomed to 200%

Visual hierarchy:

  • Establish a clear reading order that works both visually and in the DOM
  • Ensure the hierarchy communicates through structure, not colour alone
  • Verify that removing all colour still leaves a readable, navigable page

Spacing system:

  • Use a consistent spacing scale (e.g., 4px base)
  • Ensure touch targets are at least 44x44px
  • Provide adequate spacing between interactive elements to prevent accidental activation

Step 3: Colour

Palette construction:

  • Define primary, secondary, neutral, and semantic colours (success, warning, error, info)
  • Every colour pairing must meet WCAG AA contrast ratios minimum (4.5:1 for text, 3:1 for large text and UI components)
  • Target WCAG AAA (7:1) where feasible

Colour independence:

  • Never convey information through colour alone
  • Always pair colour with text labels, icons, or patterns
  • Test with simulated colour blindness (protanopia, deuteranopia, tritanopia)

Dark mode / high contrast:

  • If applicable, design dark mode as a first-class experience, not an afterthought
  • Ensure all contrast ratios hold in both modes
  • Respect prefers-color-scheme and prefers-contrast media queries

Read the full file on GitHub · 118 lines

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. 4d ago First seen · 118 lines · 39 tokens per session scan A 0ccf865f5ec2

Subscribe to this mod's changes

ui-composition is a skill published in the GitHub repository Owl-Listener/designpowers (240 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,048 once invoked, about $0.0002 per session on Opus 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-30.

Related

Other skills, from other repositories

frontend-design

Produce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.

Hmbown/CodeWhale · 21 tokens

frontend-mockup-loop-dashboard

Dashboard-specific adapter on the generic frontend-mockup-loop skill: binds the 7-step design loop to pi-agent-dashboard component sources, theme-system tokens, and isolated verification. Use when designing/redesigning any pi-agent-dashboard client surface. Triggers: "design a dashboard screen", "mockup a dashboard…

BlackBeltTechnology/pi-agent-dashboard · 83 tokens

goga-define-experience

Define the user experience required to achieve the established product goals and solve the identified problem.

qarium/goga · 6 tokens

创建主题

创建或修改前端 UI 主题时加载。主题配置规范:ThemeConfig 结构(colors/components/effects/backgrounds 四大支柱)、命名约定、预设文件 + index.ts 注册流程、validateThemeConfig 校验规则、配色对比度/无障碍/美观设计要求。主题由配置自动读取,无需注册、无需资源搜索。.

jianchen08/Agent-os-open · 83 tokens

design

Skill "design" from br3eze-code/br3eze-code, covering skill: design, description, when to use, tools and example.

br3eze-code/br3eze-code · 0 tokens

swarm-design-ui

UI/UX design phase — propose an intentional design system (pattern, brand, color, typography, spacing, atomic components) with the user, offering distinct directions and per-page layout options, for any interface type: Web, Mobile, Desktop, TUI, or CLI. Use when the SRS declares a user interface, when defining a…

AnmarHani/SwarmVault · 90 tokens