fitts-law

fitts-law is a skill for Claude Code from Deibler/universal-design-principles. It costs 135 tokens per session (3,320 once invoked), scanned A, original, no licence file.

A guide to making interactive targets easy to reach with a pointer or finger. Fitts's law describes how target size and distance affect the effort needed to hit a control.

In plain words
What is it for?
Use it when choosing control sizes, spacing, hit areas, and layouts for pointer- or touch-based interfaces.
Why use it?
It helps reduce missed clicks and taps when designing buttons, links, handles, toolbars, and scrollbars.

Skill for Claude Code

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

Part of the interaction-and-control-principles plugin — 29 skills shipped together

Good fit Use it when choosing control sizes, spacing, hit areas, and layouts for pointer- or touch-based interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deibler/universal-design-principles/fitts-law
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 Deibler/universal-design-principles --skill fitts-law
Clone the repo
git clone --depth 1 https://github.com/Deibler/universal-design-principles

Made for: Claude Code.

Or install interaction-and-control-principles, the plugin that ships this one along with the rest of its 29 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 fitts-law

README.md
[![agentmods](https://agentmods.dev/badge/skills/deibler/universal-design-principles/fitts-law/github.svg)](https://agentmods.dev/skills/deibler/universal-design-principles/fitts-law)
Your own site
<a href="https://agentmods.dev/skills/deibler/universal-design-principles/fitts-law"><img src="https://agentmods.dev/badge/skills/deibler/universal-design-principles/fitts-law/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 fitts-law

Your own site · 80×15
<a href="https://agentmods.dev/skills/deibler/universal-design-principles/fitts-law"><img src="https://agentmods.dev/badge/skills/deibler/universal-design-principles/fitts-law.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,320 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.00135 $0.03320
Opus 5.5 $0.00054 $0.01328
Sonnet 5.5 $0.00027 $0.00664
Haiku 4.5 $0.00014 $0.00332

Measured 1mo ago against content hash 4b3b0d1858f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fitts-law 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 1mo 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.

plugins/interaction-and-control-principles/skills/fitts-law/SKILL.md · 235 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 235 lines · 135 tokens per session scan A 4b3b0d1858f3

Subscribe to this mod's changes

fitts-law is a skill published in the GitHub repository Deibler/universal-design-principles (9 stars, last pushed 5mo ago), with no licence file. It adds 135 tokens to every session and 3,320 once invoked, about $0.0005 per session on Opus 5.5. 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-09-03.

Related

Other skills, from other repositories

huashu-design

A design workflow for making high-fidelity HTML prototypes, slide decks, animations, visualizations, and design reviews. It requires three initial design directions before developing the selected one.

alchaincyf/huashu-design · 123 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

taste-skill

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

huytieu/COG-second-brain · 59 tokens

ijfw-ui-spec

Use when the user says: 'ui spec', 'design contract', 'ui audit setup', 'lock the design', 'visual contract', 'ui review setup', or '/ijfw-ui-spec'. Produces UI-SPEC.md as the visual design contract before any frontend or visual-artifact build, and dispatches ijfw-ui-auditor as the final 6-pillar gate.

FerroxLabs/ijfw · 83 tokens

reimagine-it-extract

Emit the content signals reimagine-it reads from an HTML file — title, anchors, proper nouns, dates, numbers, emails, links, source hex colors, and the derived palette — as JSON without generating a redesign. Use when the user says /reimagine-it extract, "what does the engine see in this page", "extract the palette"…

Kayforkind/reimagine-it · 133 tokens