Agent skill

Gestalt Similarity

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity.

Apache-2.0Auto-check passed

Install Gestalt Similarity

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill gestalt-similarity -a claude-code

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

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins gestalt-similarity --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/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/HDeibler/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity .claude/skills/gestalt-similarity && 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
gestalt-similarity
GitHub stars
1.3k
Token cost
~2.3k tokens
SKILL.md length
1,261 words
Files
2 (incl. references)
Skills in repo
716
Repo updated
First seen
Licence
Apache-2.0

At a glance

Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity.

  • Grouping related items in a list
  • SKILL.md covers The hierarchy of similarity cues, Why similarity matters, Diagnosing similarity problems and Sub-skills in this cluster, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Status indicators

What it does

Gestalt Similarity is an agent skill from hashgraph-online/awesome-codex-plugins. Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity. Use when grouping related items in a list, status indicators, dashboard cards, navigation, or any context where you want the user to perceive certain items as a set. Similarity is one of the strongest grouping cues; it works even when proximity says otherwise. Color is the strongest similarity cue, then size, then shape…

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/lineage.md`).

The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.

When your agent uses it

  • Grouping related items in a list
  • Status indicators
  • Dashboard cards
  • Any context where you want the user to perceive certain items as a set

Example prompts

  • “/gestalt-similarity”

What it can do on your machine

Read from SKILL.md and the folder at commit 3e1456a. 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

Gestalt Similarity loads about 2.3k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 140 tokens; SKILL.md has 1,261 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~140
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

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 hashgraph-online/awesome-codex-plugins at commit 3e1456a, republished under its Apache-2.0 licence (© hashgraph-online). 1,261 words, ~2,320 tokens.

Download SKILL.mdSave it as .claude/skills/gestalt-similarity/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gestalt-similarity
description
Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity. Use when grouping related items in a list, status indicators, dashboard cards, navigation, or any context where you want the user to perceive certain items as a set. Similarity is one of the strongest grouping cues; it works even when proximity says otherwise. Color is the strongest similarity cue, then size, then shape; orientation is weakest.

Gestalt Similarity

Definition. Similarity is the Gestalt principle that elements sharing visual attributes — color, shape, size, orientation, texture — are perceived as belonging together. Two red dots in a sea of blue dots form a group, even when they're not physically close. Three identical icons in a row of varied icons form a set. Items styled the same way "go together" in the user's perception, regardless of their position in the layout.

Similarity is one of the original Gestalt grouping principles, established by Wertheimer in the early 20th century. It's one of the strongest perceptual forces in visual design: the user's brain automatically segments the visual field into groups based on visual similarity, before any conscious analysis. Designs that exploit this segmentation work with the user's perception; designs that fight it work against it.

The hierarchy of similarity cues

Not all similarity is equally strong. Research consistently finds:

Color is the strongest grouping cue. Two items with the same color are perceived as a group even when many other attributes differ. Highlighting selected items with color is one of the most reliable design techniques.

Size is second. Items of the same size group together; different sizes form different groups. This is why heading hierarchy works — large text reads as one set (headings), smaller text as another set (body).

Shape is third. Items with the same shape group together. Round buttons read as a different set than square buttons. Cards of the same proportions feel like one set.

Orientation is weakest. Items oriented the same way group, but the cue is subtle. Useful for distinguishing axes (vertical vs. horizontal) more than for grouping items.

When you want to group items strongly, reach for color. When you want to distinguish groups, reach for color difference. Other similarity cues are reinforcement, not primary.

Why similarity matters

Similarity is doing two jobs at once:

It groups items that should be perceived together. A row of similar buttons reads as a button bar. A column of similarly-styled cards reads as a list. A set of items with the same icon reads as the same kind of thing.

It distinguishes items that should be perceived as different. A "destructive" button styled differently from "constructive" buttons signals its different role. A "primary" action styled differently from "secondary" actions reveals its priority. Status indicators in different colors communicate different states.

The principle is: make similar things look similar, and make different things look different. This sounds obvious and is often violated. Two visually-identical buttons that behave differently mislead the user. Two functionally-equivalent items styled differently fragment the user's perception.

Diagnosing similarity problems

Symptoms of similarity issues:

Users miss related items. They see one item but don't realize there are others "like it" elsewhere on the screen because the visual treatment doesn't link them.

Users confuse different items as the same. They click the destructive button thinking it was the constructive one because both are styled the same way.

A list looks fragmented. Items in the same list have inconsistent visual treatment, so the user can't see them as a coherent set.

Status is ambiguous. Without distinct visual treatment, statuses (active/inactive, success/failure, available/unavailable) blur together.

Sub-skills in this cluster

  • similarity-grouping — Using similarity to group related items: navigation items, status indicators, list items, dashboard cards.
  • similarity-and-contrast — Using deliberate dissimilarity (contrast) to distinguish items: primary vs. secondary actions, error states, emphasis.

Worked examples

Status indicators

A dashboard shows servers with various statuses: green check (healthy), yellow warning (slow), red X (down), gray dash (unknown).

Each status is consistently colored and shaped throughout the product. The color is the primary similarity cue (all greens are healthy), reinforced by shape (always a check) and color (always green). Users can scan a long list and identify all healthy servers at a glance.

A primary vs. secondary button distinction

A form has a primary "Submit" action and secondary "Cancel" and "Save Draft" actions.

The primary button uses a strong color (the brand color), bold weight, larger size. Secondary buttons use a neutral color, regular weight, same size as primary or slightly smaller. The contrast in color and weight makes the primary action immediately distinguishable.

If both buttons were styled the same way, users would have to read the labels to know which was primary. With clear similarity-based contrast, the primary button is recognizable at a glance.

A list with inconsistent styling

A settings page lists toggles for various options. Some toggles are styled with the system component (consistent shape, color, behavior); others are custom-styled with different colors and shapes. The user sees what should be a single list of toggles as a fragmented set of unrelated controls.

The fix: apply the same toggle component (and styling) to all options. Similarity unifies the list.

Show full SKILL.md (474 more words)Show less
Highlighting selected items

A list shows multiple items, with two selected. The selected items are highlighted with a colored background (the brand color at 10% opacity). The non-selected items have no background.

The color similarity makes the selected set immediately visible — even if the items are spread across a long list. The user can see at a glance how many are selected.

If "selected" had been indicated with a small icon or subtle border instead, the similarity would be much weaker; users would have to scan to find selected items.

Different shapes for different roles

A toolbar has navigation buttons (square), action buttons (rounded), and link buttons (no background). The shape difference signals the different roles. Within each role, the buttons share the same shape and behave similarly.

This is similarity within roles and contrast between roles. Users learn the convention quickly because the shape is doing the categorization work.

Anti-patterns

Visual similarity without functional similarity. Two buttons that look identical but trigger different kinds of actions (one navigates, one submits a form). The visual mislead is dangerous.

Functional similarity without visual similarity. Two buttons with the same function styled differently because they appear in different parts of the UI. Users don't recognize them as related.

Color overload. Using too many colors so similarity by color loses meaning. Five colors with clear semantic roles (primary, secondary, success, warning, error) is better than fifteen colors used arbitrarily.

Subtle differences that don't communicate. Two button styles where the only difference is a 5% opacity change. Users can't perceive the difference, so the styling isn't doing distinguishing work.

Heavy similarity that masks real differences. When everything in the UI is styled the same way (every card looks the same, every list item looks the same), the user can't distinguish the things that genuinely warrant different treatment.

Heuristic checklist

Before settling on visual treatment, ask: Are similar items styled similarly, and different items styled differently? Mismatches cost user comprehension. Is color (the strongest cue) being used to group the things that most need grouping? If yes, reinforce with secondary cues. Are status indicators visually distinguishable beyond just color (for accessibility)? Pair color with shape or label. Does the design reduce to a recognizable pattern for the user? If users can predict that "this kind of item always looks like X," similarity is doing its job.

  • Gestalt grouping principles generally — proximity, similarity, continuity, closure.
  • Proximity — items that are close in space group together; similarity reinforces or sometimes overrides proximity.
  • Color — color is the strongest similarity cue.
  • Hierarchy — similarity is one mechanism by which hierarchy is expressed.
  • Consistency — similarity within a product is what consistency feels like.
  • Signal-to-Noise Ratio — coherent similarity reduces visual noise.

See also

  • references/lineage.md — origins in Gestalt psychology and design.
  • similarity-grouping/ — sub-skill on using similarity to create groups.
  • similarity-and-contrast/ — sub-skill on using contrast to distinguish.

© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in plugins/HDeibler/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • references/lineage.md

Open the folder on GitHubat commit 3e1456a

Compare with similar skills

Gestalt Similarity 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.

Gestalt Similarity compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gestalt Similarity this skillhashgraph-online/awesome-codex-plugins1.3k—~2.3kAutomated safety check: PassApache-2.0
ShareClickHouse/ClickHouse50k—~558Automated safety check: NotesApache-2.0
Principle Separate Before Serializing Shared Statecursor/plugins11k8 repos~392Automated safety check: PassNone
Principle Redesign From First Principlescursor/plugins11k8 repos~211Automated safety check: PassNone
Html5 Semantic Elementsthedaviddias/Front-End-Checklist74k—~449Automated safety check: PassMIT
Developing Share PagesTriliumNext/Trilium38k—~3.7kAutomated safety check: PassAGPL-3.0

Similar skills

  • Share

    ClickHouse/ClickHouse

    Share a Claude Code session to pastila.nl and return a viewer link.

    50k GitHub stars~558 tokensUpdated today
    DatabasesAuto-check: notes
  • Html5 Semantic Elements

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Use semantic HTML elements.

    74k GitHub stars~449 tokensUpdated 5 days ago
    Auto-check passed
  • Developing Share Pages

    TriliumNext/Trilium

    A skill your agent uses when working on Trilium's share functionality — shared pages under /share/, the static HTML (share-theme) export, the share theme package (packages/share-theme: EJS…

    38k GitHub stars~3.7k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Sharing

    BuilderIO/agent-native

    Framework-level sharing and privacy for user-authored resources (dashboards, documents, forms, decks, etc.).

    7.1k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed

More from hashgraph-online/awesome-codex-plugins

All 715 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.3k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.3k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.3k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.3k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.3k GitHub stars~618 tokensUpdated today
    Auto-check passed

Questions about Gestalt Similarity

What does Gestalt Similarity do?

Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity. Gestalt Similarity is an agent skill from hashgraph-online/awesome-codex-plugins. Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity.

When should I use Gestalt Similarity?

Gestalt Similarity fits situations like: grouping related items in a list; status indicators; dashboard cards; any context where you want the user to perceive certain items as a set.

How do I install Gestalt Similarity in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill gestalt-similarity -a claude-code`. Or copy the skill folder (plugins/HDeibler/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity in hashgraph-online/awesome-codex-plugins) into .claude/skills/gestalt-similarity in your project. Claude Code loads it when a task matches its description.

How do I install Gestalt Similarity in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill gestalt-similarity -a codex`. Or copy the skill folder (plugins/HDeibler/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity in hashgraph-online/awesome-codex-plugins) into .agents/skills/gestalt-similarity in your project. Codex loads it when a task matches its description.

Can I use Gestalt Similarity 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 hashgraph-online/awesome-codex-plugins --skill gestalt-similarity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gestalt-similarity, .gemini/skills/gestalt-similarity, .github/skills/gestalt-similarity and .opencode/skills/gestalt-similarity in your project.

What does Gestalt Similarity need to run?

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

Does Gestalt Similarity 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 Gestalt Similarity 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 Gestalt Similarity use?

Gestalt Similarity is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gestalt Similarity use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Gestalt Similarity?

Skills that share tags, products or a category with Gestalt Similarity: Share (ClickHouse/ClickHouse, 50k stars), Principle Separate Before Serializing Shared State (cursor/plugins, 11k stars), Principle Redesign From First Principles (cursor/plugins, 11k stars) and Html5 Semantic Elements (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gestalt Similarity?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,267 GitHub stars. The repository holds 716 skills in this directory. The repository was last updated on October 10, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.