ux-lint

ux-lint is a command for Claude Code from Laith0003/ux-skill. It costs 0 tokens per session (3,945 once invoked), scanned A, original, MIT.

A fast, deterministic linter that uses regular-expression rules to scan text for common AI-written interface patterns and other listed anti-patterns.

In plain words
What is it for?
Use it in pre-commit checks, CI, quick scans of generated files, or as a first pass before a deeper design review.
Why use it?
It finds mechanical problems without an AI call, network access, or API cost, and can fail a check for serious findings.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ux plugin — 25 commands, 5 agents shipped together

Good fit Use it in pre-commit checks, CI, quick scans of generated files, or as a first pass before a deeper design review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/laith0003/ux-skill/ux-lint
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.

Clone the repo
git clone --depth 1 https://github.com/Laith0003/ux-skill

Made for: Claude Code.

Or install ux, the plugin that ships this one along with the rest of its 25 commands, 5 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 ux-lint

README.md
[![agentmods](https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-lint.svg)](https://agentmods.dev/commands/laith0003/ux-skill/ux-lint)
Your own site
<a href="https://agentmods.dev/commands/laith0003/ux-skill/ux-lint"><img src="https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,945 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 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.1 $0.00000 $0.03945
Opus 5 $0.00000 $0.01972
Sonnet 5 $0.00000 $0.00789
Haiku 4.5 $0.00000 $0.00394

Measured 8d ago against content hash 604ce3b89e8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ux-lint 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.

commands/ux-lint.md · 308 lines

How it starts

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

/ux-lint

You are running the /ux-lint command from the ux plugin. The job is to run a fast, deterministic scan for the AI fingerprints catalogued in references/foundations/anti-patterns.md and report the findings — without making a single LLM call inside the lint pass itself.

This command complements the LLM-driven commands. /ux-polish uses your judgment on taste calls. /ux-audit walks six lenses with reasoning. /ux-lint runs the cheap, mechanical pass first — flagging the patterns that no taste call should waive — so the slower commands can focus on the genuinely subjective issues.

When to use

Triggers: "lint this", "scan for AI slop", "CI check", "find anti-patterns", "audit before commit", "is there any slop in here", "pre-commit check", "fingerprint scan", "fast review".

Reach for /ux-lint when:

  • Wiring a pre-commit hook that should block known fingerprints before they reach a PR.
  • Wiring a CI gate that fails the build on any Critical or High finding.
  • Doing a fast first pass on a large codebase, before paying the cost of /ux-audit.
  • Triaging a file you just generated and want a quick "anything obvious?" check.
  • Running on every save inside a watch loop.

Do NOT reach for /ux-lint when:

  • The brief explicitly asks for taste-level judgment ("does this hero feel premium?"). The linter does not have taste — it has regex.
  • The work is non-visual (a backend service, a CLI tool with no surfaces). The rules target UI artefacts.
  • You want a fix loop. /ux-lint reports; it does not edit. Chain into /ux-polish --fix for that.

Input

/ux-lint accepts any of:

  • A file pathsrc/components/Hero.tsx. Only that file is scanned.
  • A directory pathsrc/. The directory is walked recursively, with the standard exclusions (node_modules, .git, dist, build, .next, vendor, public/build, .ux).
  • "this project" or no argument — the project root (current working directory) is scanned.

When no argument is passed the linter walks the project root and applies each rule to every file whose extension matches the rule's declared extension list. There is no project configuration required; defaults work out of the box.

Read the full file on GitHub · 308 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. 8d ago First seen · 308 lines · 0 tokens per session scan A 604ce3b89e8f

Subscribe to this mod's changes

ux-lint is a command published in the GitHub repository Laith0003/ux-skill (68 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,945 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-30.

Related

Other commands, from other repositories

accessibility-audit

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct comprehensive audits, identify barriers, provide remediation guidance, and ensure digital products are accessible to all users.

wshobson/agents · 0 tokens

cinematic-scroll

Build cinematic, scroll-driven websites with the cinematic-scroll skill — pinned chapter reveals, hero/multi-depth parallax, scroll-linked 3D tilt and camera moves, and environment-morphing backgrounds. From a single self-contained .html scroll section (Mode A) to a full Next.js release site with optional AI-generated…

MustBeSimo/cinematic-scroll-skill · 0 tokens

healthcare-ux-specialist

Use when designing clinical or patient-facing interfaces. Clinical workflows, displaying sensitive patient data, HIPAA considerations in the UI, and medical terminology patients do not speak.

imsaif/design-with-claude · 32 tokens

motion-designer

Use when animation feels wrong. Transitions too slow or too bouncy, motion with no purpose, blanket transitions on every property, no reduced-motion support, or animation that drops frames.

imsaif/design-with-claude · 37 tokens

spacing-layout-specialist

Use when spacing looks arbitrary. Padding and margins off any scale, inconsistent gaps between the same components, no grid underneath, or a layout that needs a denser mode.

imsaif/design-with-claude · 34 tokens

add-library

Kullanıcı "kütüphane ekle", "library ekle", "tasarım sistemi ekle", "design system ekle" dediğinde bu komutu uygula.

atezer/FMCP · 0 tokens