laws-of-ux

laws-of-ux is a skill for Claude Code from sorensensig/ai-corner-store. It costs 0 tokens per session (2,026 once invoked), scanned A, original, no licence file.

A design guide based on limits in human attention, memory, and tolerance for too many choices.

In plain words
What is it for?
Designing or reviewing user interfaces, command-line output, configuration files, prompts, documentation, APIs, error messages, and agent choices.
Why use it?
It helps make interfaces, commands, settings, prompts, documentation, and error messages easier to understand and use.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the laws-of-ux plugin — 1 skill shipped together

Good fit Designing or reviewing user interfaces, command-line output, configuration files, prompts, documentation, APIs, error messages, and agent choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sorensensig/ai-corner-store/laws-of-ux
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 sorensensig/ai-corner-store --skill laws-of-ux
Clone the repo
git clone --depth 1 https://github.com/sorensensig/ai-corner-store

Made for: Claude Code.

Or install laws-of-ux, the plugin that ships this one along with the rest of its 1 skill.

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 laws-of-ux

README.md
[![agentmods](https://agentmods.dev/badge/skills/sorensensig/ai-corner-store/laws-of-ux/github.svg)](https://agentmods.dev/skills/sorensensig/ai-corner-store/laws-of-ux)
Your own site
<a href="https://agentmods.dev/skills/sorensensig/ai-corner-store/laws-of-ux"><img src="https://agentmods.dev/badge/skills/sorensensig/ai-corner-store/laws-of-ux/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 laws-of-ux

Your own site · 80×15
<a href="https://agentmods.dev/skills/sorensensig/ai-corner-store/laws-of-ux"><img src="https://agentmods.dev/badge/skills/sorensensig/ai-corner-store/laws-of-ux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,026 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 unknown 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.02026
Opus 5 $0.00000 $0.01013
Sonnet 5 $0.00000 $0.00405
Haiku 4.5 $0.00000 $0.00203

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

Security

Grade A, and why

laws-of-ux 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 12d 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.

laws-of-ux/skills/laws-of-ux/SKILL.md · 117 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 12d ago First seen · 117 lines · 0 tokens per session scan A d455b240bc81

Subscribe to this mod's changes

laws-of-ux is a skill published in the GitHub repository sorensensig/ai-corner-store (9 stars, last pushed yesterday), with no licence file. It costs nothing until one of its globs matches a file; then it loads 2,026 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.

Related

Other skills, from other repositories

ckm:design

Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos…

bestagentkits/ck-skills · 144 tokens

ck:ui-ux-pro-max

UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design…

bestagentkits/ck-skills · 240 tokens

baoyu-diagram

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…

JimLiu/baoyu-skills · 146 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

understand-figma

Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.

Egonex-AI/Understand-Anything · 47 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens