Borrowing it
Nothing to install: this file belongs to fatihkan/badi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fatihkan/badi/main/.claude/commands/a11y-audit.mdgit clone --depth 1 https://github.com/fatihkan/badiWrote 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/commands/fatihkan/badi/a11y-audit)<a href="https://agentmods.dev/commands/fatihkan/badi/a11y-audit"><img src="https://agentmods.dev/badge/commands/fatihkan/badi/a11y-audit.svg" alt="Measured on agentmods" height="20"></a>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.00000 | $0.00455 |
| Opus 5 | $0.00000 | $0.00228 |
| Sonnet 5 | $0.00000 | $0.00091 |
| Haiku 4.5 | $0.00000 | $0.00046 |
Grade A, and why
a11y-audit 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 8d 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.
What it actually says
Web accessibility (WCAG 2.1) audit command. axe-core-based checks via PageSpeed Insights.
Required Tools
- Bash (badi a11y command invocation)
Procedure
Step 1: Get the URL
Take the URL to test from the user.
Step 2: Run the Badi CLI
badi a11y [url] # Mobile audit
badi a11y [url] --desktop # Desktop audit
Step 3: Interpret the Results
Score bands:
- 90-100: Excellent
- 70-89: Good but improvable
- < 70: Serious problems
Step 4: Common Failures and Fixes
Give concrete fixes per failed audit:
- color-contrast: "Foreground/background contrast ratio must be 4.5:1 (AA), 7:1 (AAA)"
- image-alt: "Add meaningful
altto every<img>;alt=\"\"when decorative" - label: "Pair form inputs with
<label for=\"\">" - link-name: "Link texts must be descriptive — the real action instead of 'click here'"
- button-name: "Buttons need accessible names (aria-label or text content)"
- heading-order: "Heading hierarchy h1->h2->h3 (no skips)"
- landmark-one-main: "Every page needs one
<main>landmark" - html-has-lang: "Define
<html lang=\"en\">(or the page language)"
Step 5: Manual Testing Reminder
Axe-core tests what can be automated. Areas needing manual tests:
- Keyboard navigation (Tab, Enter, Space, Arrow keys)
- Screen reader testing (VoiceOver, NVDA)
- 200% zoom readability
- Video/audio captioning
Step 6: Comprehensive Audit
- Full Lighthouse report with
/lighthouse [url](performance + SEO + a11y) - Provide the WCAG quickref link
Example
/a11y-audit https://example.com
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.
- 8d ago First seen · 55 lines · 0 tokens per session scan A 833f270c5670
a11y-audit is a command published in the GitHub repository fatihkan/badi (7 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 455 tokens. 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-31.
Other commands, from other repositories
qa
Systematic QA testing of a web application — diff-aware, tiered, with fix-and-verify loop.
autoresearch
Autonomous improvement loop — scan codebase metrics, scaffold experiment files, run agent-driven iterations until metric improves.
plan-eng-review
Engineering architecture gate — lock architecture, diagrams, edge cases, and test matrix before writing implementation code.
plan-execute
Execute a validated plan: worktree isolation, TDD scaffolding, level-based parallel agents, quality gate with smoke test, PR creation and merge. Handles everything through to merged PR.
plan-validate
2-layer plan validation: instant structural checks + trigger-based specialist agents. Auto-fixes issues using ADRs and first principles. Every issue must be resolved before execution.
generate-tests
Generate comprehensive tests for specified code.