better-colors

better-colors is a skill for Codex from compozy/compozy. It costs 38 tokens per session (1,677 once invoked), scanned A, original, MIT.

Guidance for choosing and working with web colours using OKLCH, a colour format whose lightness, vividness, and hue are easier to adjust predictably. It covers conversions, palettes, contrast, display limits, Tailwind CSS version 4, and meaningful colour tokens.

In plain words
What is it for?
Use it when converting colour values, creating light or dark palettes, checking contrast, defining design tokens, or configuring OKLCH colours in Tailwind CSS 4.
Why use it?
It helps keep colour choices consistent and readable instead of adjusting colours by trial and error. It also explains how to handle colours that some screens cannot display and how to check accessibility contrast.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when converting colour values, creating light or dark palettes, checking contrast, defining design tokens, or configuring OKLCH colours in Tailwind CSS 4.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/compozy/compozy/better-colors
About the project

Compozy is a system for coordinating AI coding agents, allowing command-line agents to divide work, exchange tasks, run scheduled or repeated jobs, and share project memory under browser supervision. Developers and technical operators use it to create, automate, and monitor ongoing agent work. The catalogue entries provide skills and other add-ons for its agent workflows.

compozy/compozy · 2,925 stars · on GitHub · compozy.com

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 compozy/compozy --skill better-colors
Clone the repo
git clone --depth 1 https://github.com/compozy/compozy

Made for: 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 better-colors

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/compozy/compozy/better-colors"><img src="https://agentmods.dev/badge/skills/compozy/compozy/better-colors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,677 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.01677
Opus 5.5 $0.00015 $0.00671
Sonnet 5.5 $0.00008 $0.00335
Haiku 4.5 $0.00004 $0.00168

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

Security

Grade A, and why

better-colors 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 2mo 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.

.agents/skills/better-colors/SKILL.md · 106 lines

How it starts

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

Colors

A color system is a small set of ramps, named by role and verified against the backgrounds they actually render on. Most color bugs are system bugs. A value picked in isolation, a token borrowed because it looked right, a pair nobody measured.

Never report a contrast value you did not measure, and never estimate a color you could compute. Colors are one of the few interface concerns with an exact answer, so produce the exact answer.

Contrast requirements belong to better-accessibility. Surfaces, shadows and icon color belong to better-ui.

Match the project's color system

Reuse the project's tokens and notation. A second representation added to fix one value makes the palette harder to reason about. A consistent hex system beats hex with oklch() scattered through it.

For a new system, oklch() is the best default, because its numbers behave the way the ramp rules below describe. Everywhere else, a color library produces the same ramp in the project's own notation (color-formats.md).

A system is ramps, not colors

One neutral ramp, one accent ramp and only the status ramps the product actually renders. A warning ramp nothing imports is maintenance for zero pixels. A second accent hue earns its place only when two things must be distinguishable at a glance.

Every step has a job

A ramp is not a gradient to pick from by eye. Each step exists because a role needs it: page background, component hover, border, solid fill, body text. Do not generate a step no role consumes. Both the Tailwind 50–950 and Radix 1–12 conventions map to those roles (palette-structure.md).

Name primitives by hue, semantics by role

Primitives name a value (--blue-500) and are never applied in a component. Semantic tokens name a job (--color-text-secondary), point at a primitive and are the only tier components reference.

That seam is what makes theming possible. Without it, dark mode means auditing every usage to work out which meant "the accent" and which just wanted blue (token-naming.md).

Read the full file on GitHub · 106 lines

Files

What ships with it

7 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. 2mo ago Changed · -8 lines · -2 tokens per session cde9dd40cb18
  2. 2mo ago Changed · -63 tokens per session ebfe120482f5
  3. 3mo ago First seen · 114 lines · 103 tokens per session scan A ed532c387bb9

Subscribe to this mod's changes

better-colors is a skill published in the GitHub repository compozy/compozy (2,925 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 1,677 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-08-30.

Related

better-colors compared with skills from other repositories

better-colors next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-colorscompozy/compozySkill2.9ktodayMITA38Codex
create-backchat-themeopenma-ai/backchatSkill1319d agononeA62Codex
frontend-designHmbown/CodeWhaleSkill41k2d agoMITA21Claude Code, Codex
ui-html-rendererOrkas-AI/OrkasSkill8.1ktodayMITA4Claude Code, Codex
product-uiOrkas-AI/OrkasSkill8.1ktodayMITA2Claude Code, Codex
mcp-host-styling-integrationa5c-ai/babysitterSkill1.9k1mo agoMITA44Claude Code
anti-slop-frontendBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA147Claude Code, Codex