Agent skill

Millers Law

by Owl-Listener in Owl-Listener/designer-skills

Apply Miller's Law — chunk information into groups of about four to fit working memory.

MITAuto-check passed

Install Millers Law

skills CLI
$ npx skills add Owl-Listener/designer-skills --skill millers-law -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Owl-Listener/designer-skills millers-law --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Owl-Listener/designer-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/interaction-design/skills/millers-law .claude/skills/millers-law && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
millers-law
GitHub stars
2.9k
Used in
1 other repo
Token cost
~675 tokens
SKILL.md length
370 words
Files
1
Skills in repo
107
Repo updated
First seen
Licence
MIT

At a glance

Apply Miller's Law — chunk information into groups of about four to fit working memory.

  • Grouping fields
  • SKILL.md covers What You Do, The Principle and Its Limits, Where Chunking Applies and Common Misapplications, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Millers Law is an agent skill from Owl-Listener/designer-skills. Apply Miller's Law — chunk information into groups of about four to fit working memory. Use when grouping fields, menu items, or steps. For reducing the number of choices offered, use hicks-law.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Designer Skills Collection: agentic skills, commands, and plugins for design — from research to systems, UI, interaction, and delivery. The licence is MIT.

When your agent uses it

  • Grouping fields

Example prompts

  • “/millers-law”

What it can do on your machine

Read from SKILL.md and the folder at commit 9a6930c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Millers Law loads about 675 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 370 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~675

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Owl-Listener/designer-skills at commit 9a6930c, republished under its MIT licence (© Owl-Listener). 370 words, ~675 tokens.

Download SKILL.mdSave it as .claude/skills/millers-law/SKILL.md (or your agent's skills folder).
name
millers-law
description
Apply Miller's Law — chunk information into groups of about four to fit working memory. Use when grouping fields, menu items, or steps. For reducing the number of choices offered, use `hicks-law`.

Miller's Law

You are an expert in cognitive psychology as it applies to information design and interface structure.

What You Do

You apply chunking and grouping strategies informed by working memory research to make interfaces easier to scan, understand, and recall.

The Principle and Its Limits

George Miller's 1956 paper proposed that working memory can hold 7 ± 2 items (5–9). This figure has been widely cited in UX design — and just as widely misapplied. More recent research (particularly Nelson Cowan, 2001) suggests the realistic limit for meaningful chunks in working memory is closer to 4 ± 1. The important nuance Miller himself made: the "7" applies to chunks, not raw items. A chunk is whatever unit has meaning to the person — a word, a concept, a familiar pattern. What this means for design:

  • Grouping items into meaningful chunks reduces cognitive load regardless of the exact number
  • The precise ceiling is less important than the principle: working memory is limited, and structure helps
  • Don't cite "7 items" as a design rule; cite chunking as the strategy
Show full SKILL.md (196 more words)Show less

Where Chunking Applies

  • Navigation: group menu items by category; flat lists of 10+ items are harder to scan than 3 groups of 3–4
  • Forms: break long forms into sections with clear headings — each section should feel completeable as a unit
  • Phone numbers and codes: formatted as chunks (e.g. 555-867-5309, XXXX-XXXX verification codes) for easier recall
  • Data tables: use visual grouping (alternating rows, section headers) to break long lists into scannable blocks
  • Onboarding steps: show progress as 3–5 named phases rather than a raw step count of 12
  • Feature lists and pricing: 3–5 bullet points per tier; beyond that, users stop reading

Common Misapplications

  • Using "7 is the limit" to justify navigation menus of exactly 7 items
  • Applying it to visual elements (colors, icons) where visual chunking works differently than verbal memory
  • Ignoring that familiarity expands chunk size: expert users chunk more than novice users

Best Practices

  • Structure first, count second — meaningful groupings matter more than hitting a number
  • Use headings, whitespace, and visual dividers to make chunks explicit
  • Test recall, not just comprehension — can users remember what options were available after navigating away?
  • Adjust for user expertise: power users handle larger information density than first-time users

© Owl-Listener, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in interaction-design/skills/millers-law of Owl-Listener/designer-skills.

Open the folder on GitHubat commit 9a6930c

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Owl-Listener/designer-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Millers Law next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Millers Law compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Millers Law this skillOwl-Listener/designer-skills2.9k1 repos~675Automated safety check: PassMIT
Chunking Form Groupinghashgraph-online/awesome-codex-plugins1.3k—~1.5kAutomated safety check: PassApache-2.0
Groupsparcadei/Continuous-Claude-v33.9k1 repos~956Automated safety check: NotesMIT
Doordash Group Ordersdavila7/claude-code-templates33k—~1.3kAutomated safety check: PassMIT
Chunkinghashgraph-online/awesome-codex-plugins1.3k—~1.4kAutomated safety check: PassApache-2.0
Profiling Threat Actor Groupsmukul975/Anthropic-Cybersecurity-Skills34k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Chunking Form Grouping

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when designing or fixing long forms that ask the user for many fields — sign-up flows, profile setup, settings panels, checkout, intake forms, applications.

    1.3k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Groups

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for groups in abstract algebra. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~956 tokens
    Research & ScienceAuto-check: notes
  • Doordash Group Orders

    davila7/claude-code-templates

    Group food ordering through the DoorDash CLI (dd-cli) from a persistent team roster.

    33k GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Chunking

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when splitting extracted text into chunks for LLM context windows or RAG ingestion.

    1.3k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Profiling Threat Actor Groups

    mukul975/Anthropic-Cybersecurity-Skills

    Develops comprehensive threat actor profiles for APT groups, criminal organizations, and hacktivist collectives by aggregating TTP documentation, historical campaign data, tooling fingerprints, and…

    34k GitHub stars~1.8k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Information Security Manager Iso27001

    davila7/claude-code-templates

    Senior Information Security Manager specializing in ISO 27001 and ISO 27002 implementation for HealthTech and MedTech companies.

    33k GitHub starsUsed in 1 repo~2.9k tokens
    Legal & ComplianceAuto-check passed

More from Owl-Listener/designer-skills

All 107 skills in this repo
  • A B Test Design

    Owl-Listener/designer-skills

    Design an A/B experiment — hypothesis, variants, primary metric, and sample size.

    2.9k GitHub starsUsed in 1 repo~472 tokens
    Auto-check passed
  • Accessibility Test Plan

    Owl-Listener/designer-skills

    Plan accessibility testing — assistive technologies, participant criteria, WCAG coverage, and session protocol.

    2.9k GitHub starsUsed in 1 repo~478 tokens
    Auto-check passed
  • Aesthetic Usability

    Owl-Listener/designer-skills

    Apply the Aesthetic-Usability Effect — polished, consistent interfaces are perceived as more usable and forgive minor friction.

    2.9k GitHub starsUsed in 1 repo~678 tokens
    Auto-check passed
  • Affinity Diagram

    Owl-Listener/designer-skills

    Cluster many qualitative data points into themes and insight statements.

    2.9k GitHub starsUsed in 1 repo~520 tokens
    Auto-check passed
  • Animation Principles

    Owl-Listener/designer-skills

    Apply animation principles — easing, staging, follow-through — to one specific UI motion.

    2.9k GitHub starsUsed in 1 repo~492 tokens
    Auto-check passed
  • Business Design

    Owl-Listener/designer-skills

    Read financials, map competitive landscapes, and argue design decisions in the language of value.

    2.9k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed

Questions about Millers Law

What does Millers Law do?

Apply Miller's Law — chunk information into groups of about four to fit working memory. Millers Law is an agent skill from Owl-Listener/designer-skills. Apply Miller's Law — chunk information into groups of about four to fit working memory.

When should I use Millers Law?

Millers Law fits situations like: grouping fields.

How do I install Millers Law in Claude Code?

Run `npx skills add Owl-Listener/designer-skills --skill millers-law -a claude-code`. Or copy the skill folder (interaction-design/skills/millers-law in Owl-Listener/designer-skills) into .claude/skills/millers-law in your project. Claude Code loads it when a task matches its description.

How do I install Millers Law in Codex?

Run `npx skills add Owl-Listener/designer-skills --skill millers-law -a codex`. Or copy the skill folder (interaction-design/skills/millers-law in Owl-Listener/designer-skills) into .agents/skills/millers-law in your project. Codex loads it when a task matches its description.

Can I use Millers Law in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Owl-Listener/designer-skills --skill millers-law -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/millers-law, .gemini/skills/millers-law, .github/skills/millers-law and .opencode/skills/millers-law in your project.

What does Millers Law need to run?

SKILL.md names no scripts, command-line tools or credentials: Millers Law is instructions for the agent only.

Does Millers Law access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Millers Law safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Millers Law use?

Millers Law is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Millers Law use?

About 675 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Millers Law?

Skills that share tags, products or a category with Millers Law: Chunking Form Grouping (hashgraph-online/awesome-codex-plugins, 1.3k stars), Groups (parcadei/Continuous-Claude-v3, 3.9k stars), Doordash Group Orders (davila7/claude-code-templates, 33k stars) and Chunking (hashgraph-online/awesome-codex-plugins, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Millers Law?

Owl-Listener (a GitHub user) maintains it in Owl-Listener/designer-skills, which has 2,871 GitHub stars. The repository holds 107 skills in this directory. The repository was last updated on September 5, 2026.

Source: Owl-Listener/designer-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.