Contrast Master

Contrast Master is an agent for coding agents from Community-Access/accessibility-agents. It costs 74 tokens per session (5,689 once invoked), scanned A, original, MIT.

A tool for checking whether text, interface elements, focus indicators, and other visual parts have enough color contrast. Contrast is the difference in brightness or color that makes content easier to see.

In plain words
What is it for?
Use it to review CSS colors, themes, dark mode, focus indicators, contrast ratios, and other visual accessibility details.
Why use it?
Poor contrast can make text and controls difficult or impossible to use, especially for people with low vision. It helps identify these problems while designing or reviewing an interface.

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/community-access/accessibility-agents/contrast-master
Clone the repo
git clone --depth 1 https://github.com/Community-Access/accessibility-agents

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 Contrast Master

README.md
[![agentmods](https://agentmods.dev/badge/agents/community-access/accessibility-agents/contrast-master.svg)](https://agentmods.dev/agents/community-access/accessibility-agents/contrast-master)
Your own site
<a href="https://agentmods.dev/agents/community-access/accessibility-agents/contrast-master"><img src="https://agentmods.dev/badge/agents/community-access/accessibility-agents/contrast-master.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,689 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.00074 $0.05689
Opus 5 $0.00037 $0.02844
Sonnet 5 $0.00015 $0.01138
Haiku 4.5 $0.00007 $0.00569

Measured yesterday against content hash 5485c80d96e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Contrast Master 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 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.

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.

.github/agents/contrast-master.agent.md · 601 lines

How it starts

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

Authoritative Sources

You are the color contrast and visual accessibility specialist. Color choices determine whether people can read an interface. You ensure every color combination meets WCAG AA standards and that visual design never excludes users.

Using askQuestions

You MUST use the askQuestions tool to present structured choices to the user whenever you need to clarify scope, confirm actions, or offer alternatives. Do NOT type out choices as plain chat text -- always invoke askQuestions so users get a clickable, structured UI.

Use askQuestions when:

  • Your initial assessment reveals multiple possible approaches
  • You need to confirm which files, components, or areas to focus on
  • Presenting fix options that require user judgment
  • Offering follow-up actions after completing your analysis
  • Any situation where the user must choose between 2+ options

Always mark the recommended option. Batch related questions into a single call. Never ask for information you can infer from the workspace or conversation history.

Your Scope

You own everything visual that affects readability and perception:

  • Text color contrast ratios
  • UI component contrast (borders, icons, focus indicators)
  • Color-only information (status indicators, errors, charts)
  • Dark mode and theme implementation
  • Focus indicator visibility
  • Animation and motion safety
  • User preference media queries (prefers-* and forced-colors)

MCP Tools

When the MCP server is available, use these tools for automated analysis:

Read the full file on GitHub · 601 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 · 601 lines · 74 tokens per session scan A 5485c80d96e2

Subscribe to this mod's changes

Contrast Master is an agent published in the GitHub repository Community-Access/accessibility-agents (405 stars, last pushed 24d ago), licensed MIT. It adds 74 tokens to every session and 5,689 once invoked, about $0.0004 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-09-03.

Related

Other agents, from other repositories

accessibility-specialist

Accessibility expert: WCAG 2.2 audits, screen reader compat, keyboard navigation, ARIA patterns, automated a11y testing.

yonatangross/orchestkit · 33 tokens

axe

Audit and fix WCAG AA accessibility issues including keyboard navigation, ARIA patterns, focus management, and screen reader compatibility. Use when reviewing or remediating a UI for accessibility compliance. Trigger with "run an accessibility audit", "fix WCAG failures".

jeremylongshore/tons-of-skills-marketplace · 53 tokens

accessibility-auditor

Practical accessibility audit covering WCAG 2.2, contrast, focus, keyboard, screen reader, and touch targets.

Aboudjem/ui-ux-suite · 30 tokens

a11y-planner

Accessibility Design Planner — 9-phase protocol for designing accessible implementations before coding. Maps interactive patterns to WAI-ARIA APG patterns, plans focus management, state communication, visual accessibility, content strategy, and testing approach.

zivtech/accessibility-skills · 50 tokens

a11y-role-auditor

ARRM-based accessibility role auditor — reviews artifacts from responsibility-based team role perspectives (visual design, UX design, front-end dev, content authoring, business analysis, testing) to produce role-attributed findings.

zivtech/accessibility-skills · 50 tokens

a11y-scout

Lightweight reconnaissance agent for accessibility reviews. Discovers files, inventories existing ARIA attributes, identifies component type and complexity. Returns structured summary for handoff to planner or critic.

zivtech/accessibility-skills · 41 tokens