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.
npx skills add Community-Access/accessibility-agents --skill contrast-mastergit clone --depth 1 https://github.com/Community-Access/accessibility-agentsWrote 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.
[](https://agentmods.dev/skills/community-access/accessibility-agents/contrast-master)<a href="https://agentmods.dev/skills/community-access/accessibility-agents/contrast-master"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/contrast-master/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.
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/contrast-master"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/contrast-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.01550 |
| Opus 5.5 | $0.00008 | $0.00620 |
| Sonnet 5.5 | $0.00004 | $0.00310 |
| Haiku 4.5 | $0.00002 | $0.00155 |
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
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-*andforced-colors)
WCAG AA Contrast Requirements
These ratios are the minimum. Meeting them is mandatory, not aspirational.
Text Contrast (4.5:1 minimum)
- Normal text (under 18px or under 14px bold): 4.5:1 against background
- This applies to all text including placeholders, captions, timestamps, and secondary text
- "It's just a caption" is not an excuse for low contrast
Large Text Contrast (3:1 minimum)
- Large text (18px+ or 14px+ bold): 3:1 against background
- Headings often qualify as large text but verify the actual rendered size
Non-Text Contrast (3:1 minimum)
- UI components: buttons, inputs, checkboxes, toggles, cards
- The component boundary must have 3:1 against adjacent colors
- Focus indicators must have 3:1 against both the component and surrounding background
- Icons that convey meaning (not decorative) need 3:1
How to Check Contrast
Use the WCAG contrast ratio formula. You can calculate or verify with a script:
import sys
def luminance(r, g, b):
vals = []
for v in [r, g, b]:
v = v / 255.0
vals.append(v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4)
return 0.2126 * vals[0] + 0.7152 * vals[1] + 0.0722 * vals[2]
def contrast(hex1, hex2):
r1, g1, b1 = int(hex1[1:3],16), int(hex1[3:5],16), int(hex1[5:7],16)
r2, g2, b2 = int(hex2[1:3],16), int(hex2[3:5],16), int(hex2[5:7],16)
l1, l2 = luminance(r1,g1,b1), luminance(r2,g2,b2)
lighter, darker = max(l1,l2), min(l1,l2)
return (lighter + 0.05) / (darker + 0.05)
fg = sys.argv[1]
bg = sys.argv[2]
ratio = contrast(fg, bg)
status = 'PASS' if ratio >= 4.5 else ('LARGE TEXT ONLY' if ratio >= 3.0 else 'FAIL')
print(f'{ratio:.2f}:1 -- {status}')
What ships with it
5 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.
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.
- 1mo ago Changed · -362 lines · -55 tokens per session 00315212ebc1
- 1mo ago First seen · 536 lines · 74 tokens per session scan A 93353f81d682
contrast-master is a skill published in the GitHub repository Community-Access/accessibility-agents (428 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,550 once invoked, about $0.0001 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.
Other skills, from other repositories
accessibility
Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…
monochrome
Build accessible UI with monochrome, the framework-agnostic UI library for agents. Use whenever a project depends on monochrome or has ids starting with mct:, mcc:, or mcr:, and whenever you write or fix an accordion, collapsible, dialog or modal, dropdown or context menu, menubar, popover, tabs, or tooltip in HTML…
accessibility-expert
Build interfaces usable by everyone: WCAG 2.2 conformance, semantic HTML, ARIA, keyboard navigation, screen readers and accessible forms. Use when the user mentions accessibility, a11y, WCAG, ARIA, screen readers, keyboard navigation, colour contrast, focus management, the European Accessibility Act or Section 508, or…
wcag-accessibility
WCAG 2.2 Level AA for web UI. Use when the task is accessibility, contrast, ARIA, keyboard access, focus, screen readers, alt text, or an accessibility audit. Do not use for styling, performance, or copy that is not an accessibility fix.
Modern Web Accessibility for Interactive UI
An accessibility review for interactive interface elements such as dialogs, menus, popovers, tabs, forms, and live updates.
a11y-toolkit
Use for ALL accessibility work — WCAG 2.2 audits of URLs or HTML, real rendered contrast checks (including text over images, pixel-level), color-pair contrast and nearest passing color, European Accessibility Act / RD 1112/2018 accessibility statements, pre-deploy regression detection (accessible names, tab order)…