Skip to content
SkillMixed3,876 tokens in use

Antislop Human

Accessibility rules for AI-built UI: contrast, keyboard, focus, states and affordances, with a script that computes WCAG contrast ratios.

9,688 stars on the repository MIT Licensemiqdadbadjuber/anti-slop · skills/antislop-human
npx skills add miqdadbadjuber/anti-slop
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Antislop Human costs

33tokens idle
3,876tokens in use
7,888tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: contrast-check.py, contrast-mcp.py.

Touches

shelldeclared and detectedwrites filesdeclared and detected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples6/15
  • Output15/15
  • Size15/15
  • Resources11/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−2

    does this on the machine, as the frontmatter declares

    SKILL.md, line 53

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance100
  • Community52
  • Maturity20
  • Momentum40

Antislop Human is the accessibility skill of the antislop rulebook. It covers the parts of an interface that exclude people with different eyes, hands and setups: low contrast, removed focus outlines, color-only feedback, missing states, text that cannot zoom and controls with no name.

It ships a contrast checker so the agent computes a WCAG ratio and never claims a color pair passes by eye, plus reference files with copy-ready accessible markup.

What You Get

  • A contrast checker script that takes two hex colors and prints the ratio and a verdict for normal and large text
  • A small stdio MCP server that exposes the same check as a tool
  • A reference table of common color pairings and their ratios
  • Copy-ready patterns for focus traps, skip links, form errors, labels, ARIA tabs and live regions
  • A WCAG 2.2 success criteria reference to check conformance claims

Common Use Cases

  • Verifying that a color palette passes AA before shipping
  • Fixing a page that removed focus outlines or relies on hover
  • Adding labels, names and states to forms and icon buttons
  • Reviewing a build with keyboard-only use and 200 percent zoom

What Makes It Unique

Agents often assert that grey on grey passes AA. This skill replaces that claim with a computed ratio and says never to assert a pairing without one. The comparison uses the unrounded ratio, so a pairing at 4.498 to 1 correctly fails even though it prints as 4.50.

Under The Hood

The skill loads its SKILL.md and, for color checks, runs a Python script with a shell command; the frontmatter allows python and python3 commands plus reading, writing and editing files and searching. The script only does arithmetic on two hex colors, and a selftest mode reads the reference table from the SKILL.md. A second Python file is a stdio MCP server that wraps the same check; it makes no network calls. The skill does not fetch web pages or call APIs. The agent may edit your UI files to apply the fixes.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers