accesslint-diff

accesslint-diff is a skill for Claude Code from lingxling/awesome-skills-cn. It costs 68 tokens per session (1,232 once invoked), scanned A, a copy of accesslint-diff, MIT.

A tool for comparing accessibility problems on a live web page with an earlier version or branch. Accessibility means making websites usable by people with disabilities, including people using screen readers or keyboards.

In plain words
What is it for?
Checking a URL after uncommitted changes or against a Git branch, and producing a report of accessibility differences. It can also run a full accessibility scan.
Why use it?
It shows which accessibility violations were newly introduced, fixed, or already present, so changes are easier to assess.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the agentic-awesome-skills-claude plugin — 36 skills shipped together

Good fit Checking a URL after uncommitted changes or against a Git branch, and producing a report of accessibility differences. It can also run a full accessibility scan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lingxling/awesome-skills-cn/accesslint-diff
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.

Any agent
npx skills add lingxling/awesome-skills-cn --skill accesslint-diff
Clone the repo
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn

Made for: Claude Code.

Or install agentic-awesome-skills-claude, the plugin that ships this one along with the rest of its 36 skills.

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 accesslint-diff

README.md
[![agentmods](https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/accesslint-diff/github.svg)](https://agentmods.dev/skills/lingxling/awesome-skills-cn/accesslint-diff)
Your own site
<a href="https://agentmods.dev/skills/lingxling/awesome-skills-cn/accesslint-diff"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/accesslint-diff/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.

agentmods 80×15 button for accesslint-diff

Your own site · 80×15
<a href="https://agentmods.dev/skills/lingxling/awesome-skills-cn/accesslint-diff"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/accesslint-diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00068 $0.01232
Opus 5 $0.00034 $0.00616
Sonnet 5 $0.00014 $0.00246
Haiku 4.5 $0.00007 $0.00123

Measured 10d ago against content hash 604484bc1757, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

accesslint-diff 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 10d 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.

Origin

This is a copy

100% identical to accesslint-diff — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

antigravity-awesome-skills/plugins/agentic-awesome-skills-claude/skills/accesslint-diff/SKILL.md · 88 lines

How it starts

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

Default branch: !git symbolic-ref refs/remotes/origin/HEAD --short 2>/dev/null | sed 's|.*/||' || echo main

Report only what changed. Locate; don't fix. If no URL in $ARGUMENTS, ask for one.

Parse $ARGUMENTS: strip --branch <name> if present → branch mode. If --branch has no value, use the default branch above. Remainder is the URL.

When to Use

  • Use this skill when the task matches this description: Diff a live page's accessibility violations against a baseline — by default compares uncommitted changes (stash-based), or pass --branch [] to diff against a branch. Reports only new violations introduced, violations fixed, and pre-existing count. Use scan for a full audit with no diffing.

1. Audit

PORT=$(npx -y @accesslint/chrome@latest ensure | node -e 'process.stdin.on("data",d=>process.stdout.write(""+JSON.parse(d).port))')

Stash mode (default — uncommitted changes). Tell the user first: "Running in diff mode — stashing your changes to capture a baseline, then restoring. Your working tree will be fully restored." If git stash push fails, warn and exit.

git stash push -u -m "accesslint-diff-baseline"
npx -y @accesslint/cli@latest "<url>" --port "$PORT" --snapshot accesslint-diff --snapshot-dir /tmp --update-snapshot
git stash pop && sleep 2
npx -y @accesslint/cli@latest "<url>" --port "$PORT" --snapshot accesslint-diff --snapshot-dir /tmp --format json

Branch mode (--branch <name>). Tell the user first: "Diffing against <name> — checking out that branch to capture a baseline, then restoring. Your working tree will be fully restored."

Branch switching triggers a rebuild but not a browser reload — the CLI opens a fresh tab each time so it always reads the current build. Use --wait-for "<selector>" to gate the audit until the rebuild is ready; without it, warn the user that a slow build may yield a stale baseline.

Keep the branch value in the quoted branch variable below; never paste or evaluate a branch name as shell syntax.

Read the full file on GitHub · 88 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. 10d ago First seen · 88 lines · 68 tokens per session scan A 604484bc1757

Subscribe to this mod's changes

accesslint-diff is a skill published in the GitHub repository lingxling/awesome-skills-cn (281 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 1,232 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to accesslint-diff, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

Prat011/awesome-llm-skills · 63 tokens

accessibility-audit

A review guide for checking whether webpages, components, prototypes, or designs are accessible to people with different needs. It uses WCAG 2.2 AA, a widely used set of web-accessibility requirements, as its default standard.

Onevium/awesome-claude-skills · 100 tokens

polish-pass

A final review checklist for an interface before it is shown to customers, teammates, or other stakeholders. It checks accessibility, visual hierarchy, overly generic AI-style design, and interaction states such as hover, focus, loading, success, and failure.

Onevium/awesome-claude-skills · 100 tokens

frontend-aesthetic-direction

A skill for choosing a complete visual direction for a new frontend project with no existing brand or design system. It defines rules for typography, colors, spacing, shapes, components, imagery, icons, and motion.

Onevium/awesome-claude-skills · 92 tokens

interaction-states-pass

A review skill for checking whether interactive controls give appropriate feedback in their resting, focused, active, loading, successful, and error states. It applies only the states that make sense for each control.

Onevium/awesome-claude-skills · 100 tokens

make-a-prototype

A skill for building clickable prototypes with working navigation, inputs, validation, loading, and success or failure feedback. A prototype is a test version of a product flow, using local simulated data unless a real connection is separately approved.

Onevium/awesome-claude-skills · 84 tokens