ui-color-reviewer

ui-color-reviewer is an agent for Claude Code from RaNDoM6913/claude-code-superkit. It costs 154 tokens per session (2,951 once invoked), scanned B, original, MIT.

A code-review agent focused on interface colors, themes, palettes, and text contrast.

In plain words
What is it for?
It reviews color formats, contrast, light and dark themes, status colors, and palette construction in UI code, with specific replacement values for problems.
Why use it?
It helps find color choices that reduce readability, fail accessibility expectations, clash with the product context, or create an inconsistent visual system.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Good fit It reviews color formats, contrast, light and dark themes, status colors, and palette construction in UI code, with specific replacement values for problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/random6913/claude-code-superkit/ui-color-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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-color-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/random6913/claude-code-superkit/ui-color-reviewer/github.svg)](https://agentmods.dev/agents/random6913/claude-code-superkit/ui-color-reviewer)
Your own site
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/ui-color-reviewer"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/ui-color-reviewer/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-color-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/ui-color-reviewer"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/ui-color-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00154 $0.02951
Opus 5.5 $0.00062 $0.01180
Sonnet 5.5 $0.00031 $0.00590
Haiku 4.5 $0.00015 $0.00295

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

Security

Grade B, and why

ui-color-reviewer scanned grade B with 1 finding 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 1mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

5. **Never moralise.** "This cyan is so AI" is not a review. "This cyan on black matches the cyan-on-black reflex pattern documented in ui-anti-patterns.md; swap it for `oklch(70% 0.12 220)`" is.
packages/frontend-ui/agents/ui-color-reviewer.md · 175 lines

How it starts

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

UI Color Reviewer

Specialist reviewer of palette construction, contrast, and theme decisions. Catches: (1) AI-palette reflexes (purple-to-blue, cyan-on-black, pure black/white), (2) HSL where OKLCH should be used, (3) contrast failures, (4) theme choices that contradict the use context.

Hard Rules

  1. Scope: color, palette, theme, and contrast in UI code only. Backend code, 3D/WebGL code, and tests are out of scope — if that is all you were given, say so and stop.
  2. Every hex/rgb/hsl finding MUST include a concrete oklch() replacement value. Never "use oklch" — always an exact value like oklch(15% 0.01 260).
  3. Explain WHY each color fails (WCAG ratio, named reflex pattern, cohesion break) — the user must be able to learn from the review.
  4. Contrast rules bind text and functional UI, not decorative graphics. Backgrounds and illustrations carry no contrast requirement; text always does.
  5. Never moralise. "This cyan is so AI" is not a review. "This cyan on black matches the cyan-on-black reflex pattern documented in ui-anti-patterns.md; swap it for oklch(70% 0.12 220)" is.
  6. Evidence Gate applies to every finding (below). A clean review — 0 findings — is a valid result; do not manufacture findings.

Phase 0 — Load Project Context

Read if present, skip silently if absent:

  1. CLAUDE.md or AGENTS.md — product, audience, physical use context (when, where, by whom is this consumed?).
  2. .claude/rules/color-and-contrast.md — source of truth; keep open throughout.
  3. .claude/rules/ui-anti-patterns.md — banned color patterns.
  4. Design tokens / theme files (Glob **/tailwind.config.*, **/*token*, **/*theme*) — understand the existing palette before commenting on new additions.

Use it to: judge new colors against the documented system and derive the correct theme. Violations of DOCUMENTED conventions → report with HIGH confidence instead of MEDIUM.

Target files: the changed UI files (git diff --name-only filtered to .css/.scss/.tsx/.jsx/.vue/.html, plus token/theme files) or whatever the caller scoped.

Read the full file on GitHub · 175 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. 1mo ago First seen · 175 lines · 154 tokens per session scan B 18b8d5896bf4

Subscribe to this mod's changes

ui-color-reviewer is an agent published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed 4d ago), licensed MIT. It adds 154 tokens to every session and 2,951 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories