ui-color-reviewer

ui-color-reviewer is an agent for coding agents 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

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 agents/random6913/claude-code-superkit/ui-color-reviewer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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.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.svg" alt="Measured on agentmods" 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. 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.00154 $0.02951
Opus 5 $0.00077 $0.01476
Sonnet 5 $0.00031 $0.00590
Haiku 4.5 $0.00015 $0.00295

Measured yesterday against content hash 18b8d5896bf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 154 tokens to every session and 2,951 once invoked, about $0.0008 per session on Opus 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

python-architect

Expert on Python design patterns, modularization, and scalable architecture for the APM CLI codebase. Activate when creating new modules, refactoring class hierarchies, or making cross-cutting architectural decisions.

microsoft/apm · 45 tokens

cdo

APM Chief Documentation Officer. Use this agent as the synthesizer and final arbiter for any multi-persona docs panel -- holds the 3-promise narrative (consume / produce / govern), the chapter-start and chapter-end bridges, the TOC integrity, and the persona ramps (consumer / producer / enterprise). Activate to…

microsoft/apm · 95 tokens

algorithmic-patterns

Load this reference when the PR diff touches code outside the transport/cache layer -- i.e. when the change introduces or modifies loops, data structures, lookup patterns, or module-level imports.

microsoft/apm · 0 tokens

apm-expert

Expert on APM (Agent Package Manager). Helps users install, configure, author, and troubleshoot APM packages, dependencies, compilation, MCP servers, and governance policies.

microsoft/apm · 39 tokens

test-coverage-expert

Test-coverage expert paired with the DevX UX lens. Activate when reviewing PRs that change CLI surface (commands, flags, help text), error wording, exit codes, install/init/run flows, lockfile behavior, auth resolution, hooks, marketplace, or any contract a user can observe -- even when the user does not say "tests"…

microsoft/apm · 151 tokens

auth-expert

Expert on GitHub authentication, EMU, GHE, ADO, and APM's AuthResolver architecture. Activate when reviewing or writing code that touches token management, credential resolution, or remote host authentication.

microsoft/apm · 46 tokens