Agent skill

Similarity And Contrast

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

Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs.

Apache-2.0Auto-check passed

Install Similarity And Contrast

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

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

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins similarity-and-contrast --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/similarity-and-contrast .claude/skills/similarity-and-contrast && 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
similarity-and-contrast
GitHub stars
1.3k
Token cost
~2.4k tokens
SKILL.md length
1,271 words
Files
2 (incl. references)
Skills in repo
716
Repo updated
First seen
Licence
Apache-2.0

At a glance

Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs.

  • You want to emphasize a single element
  • SKILL.md covers When to introduce contrast, Calibrating contrast, The most useful contrasts and The one-thing-emphasized rule, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Distinguish roles

What it does

Similarity And Contrast is an agent skill from hashgraph-online/awesome-codex-plugins. Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs. secondary actions, normal vs. error states, foreground vs. background, the one important thing vs. the rest. Use when you want to emphasize a single element, distinguish roles, or break up a too-uniform layout. Contrast is similarity's complement: similarity groups, contrast separates. The skill is calibrating contrast so it communicates what matters without creating visual chaos.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/contrast-patterns.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

  • You want to emphasize a single element
  • Distinguish roles
  • Break up a too-uniform layout

Example prompts

  • “/similarity-and-contrast”

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

Similarity And Contrast loads about 2.4k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 1,271 words of instructions outside code blocks.

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

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,271 words, ~2,352 tokens.

Download SKILL.mdSave it as .claude/skills/similarity-and-contrast/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
similarity-and-contrast
description
Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs. secondary actions, normal vs. error states, foreground vs. background, the one important thing vs. the rest. Use when you want to emphasize a single element, distinguish roles, or break up a too-uniform layout. Contrast is similarity's complement: similarity groups, contrast separates. The skill is calibrating contrast so it communicates what matters without creating visual chaos.

Similarity and contrast

If similarity makes things feel like they go together, contrast makes things feel different. Used together, they let you communicate "these belong, those don't" through pure visual treatment. Used separately, similarity alone produces a uniform layout where nothing stands out, and contrast alone produces visual chaos where nothing is grouped.

The skill is calibrating both: enough similarity that related items group, enough contrast that distinct things distinguish. Most design problems are calibration problems on this axis.

When to introduce contrast

Contrast deliberately introduces difference where similarity would be misleading or insufficient. Specifically:

Primary vs. secondary actions. A submit button must be distinguishable from a cancel button. The two should not look the same — that misleads users about which is the primary action. Contrast in color, weight, or size separates them.

Normal vs. exceptional states. A normal status item should look different from an error item. The exceptional state needs to stand out so users notice it.

Important vs. supporting content. A page title should look different from body text. The hero card should look different from secondary cards. Without contrast, the user has no visual hierarchy to rely on.

Foreground vs. background. The active workspace should be visually dominant; the chrome (sidebars, headers, footers) should recede. Without contrast, foreground and background compete for attention.

Now vs. later. The current step in a flow should look different from completed and upcoming steps. Without contrast, the user can't tell where they are.

Calibrating contrast

Contrast can be too subtle or too aggressive. The right level depends on what you're communicating.

Too subtle. Two button styles that differ only by 10% opacity. The dissimilarity isn't visible; users don't perceive distinct categories. Either increase the contrast or remove the styling difference (it's not communicating).

Too aggressive. A primary button rendered in such a different style from secondary buttons that it doesn't even feel like the same component family. The contrast is so high it severs the relationship.

Just right. Primary and secondary buttons share a recognizable component shape (same padding, same rounding, same height) but differ clearly in color and weight. They're recognizably the same kind of thing (similarity at the structural level) with one clearly more emphasized than the other (contrast at the styling level).

The pattern: contrast within a family is more useful than contrast between families. Both are buttons; they share button-ness. One is emphasized.

The most useful contrasts

Some contrast types do more work than others.

Color contrast. Bright/saturated colors stand out against muted/desaturated. The brand color is reserved for primary actions; secondary actions use neutral colors. Status colors stand against neutral backgrounds.

Weight contrast. Bold against regular against light. Useful for typographic hierarchy without changing colors.

Size contrast. Large against small. Headlines vs. body. Hero card vs. supporting cards.

Color-light vs. color-dark. Within a single color, dark vs. light. Useful in monochrome or restrained color systems.

Filled vs. outlined. A filled button vs. an outlined button. Visually distinguishable; primary vs. secondary.

Position contrast. A floating action button (FAB) is positioned differently from in-line buttons; that position contrast emphasizes it.

Density contrast. A spacious section against a dense section. The spacious one feels emphasized.

The one-thing-emphasized rule

Hierarchy works when one element is clearly emphasized at each level. Pages have a single primary action; sections have a single primary headline; cards have a single primary image or value.

The corollary: emphasis loses its meaning when too many things are emphasized. A page with five "primary" buttons has no primary; users don't know which is the most important. A page with three different highlight colors has no clear emphasis.

The discipline is restraint. Pick the one or two things that warrant emphasis. Let the rest read as supporting.

Worked examples

Form with primary and secondary buttons

A form has a "Submit" primary action and a "Cancel" secondary action. Both are buttons; both share the same height, padding, and rounding (similarity at the structural level). They differ in:

  • Color: Submit uses the brand color background with white text; Cancel uses a neutral background with dark text.
  • Weight: Submit's text is medium weight; Cancel's is regular.
  • Possibly size: Submit slightly larger to add emphasis.

Users see the family ("buttons") and the hierarchy (one is primary). The contrast is calibrated to be visible without severing the family relationship.

Show full SKILL.md (554 more words)Show less

A dashboard has 8 metrics. One is critical (today's revenue); seven are supporting. The critical metric is rendered in a hero card with larger size, bolder weight, and a slightly emphasized background. The seven supporting metrics are in smaller, more uniform cards.

The contrast establishes hierarchy at first glance. Users see the featured metric immediately; the supporting metrics are available but don't compete.

If all 8 metrics had been styled the same (heavy similarity, no contrast), users would have to read each label to find revenue. The contrast does the work of hierarchy.

A long article with subtle contrast

A long-form article uses similarity heavily for the body prose (consistent body type, consistent line spacing) and introduces contrast for structural breaks: subheadings in larger weight, pull-quotes in italic and a different color, code blocks with a different typeface and tinted background.

The contrasts are subtle but clearly distinguish each kind of element. The reader can scan the article structure (subheadings stand out) and quickly identify special content (pull-quotes, code).

Primary/secondary that fail to distinguish

A form's submit and cancel buttons are both rendered in the brand color (the designer thought "brand consistency"), with only a subtle 5% saturation difference. Users can't tell which is primary; they often click cancel by mistake.

The fix: use the brand color only for the primary; use a neutral color for the cancel. The contrast between brand and neutral is the signal.

Five-color highlights that lose meaning

A documentation site uses red, blue, green, yellow, and purple highlights for different categories. With five categories competing for attention, the highlights stop reading as emphasis and start reading as noise. Users don't pay attention to any of them.

The fix: reduce to 1–2 highlight types. If more categories are needed, encode them with subtler cues (small icons, badges) that don't compete for attention.

Anti-patterns

Contrast for contrast's sake. Adding visual variety without communicating anything. Decoration disguised as design.

Universal emphasis. Making everything bold, everything large, everything colored. Nothing stands out because everything stands out.

Subtle differences that don't communicate. A 5% opacity change between two states. Users don't perceive the difference; the styling doesn't do its job.

Contrast that contradicts hierarchy. A "back" button styled larger and bolder than the "next" button. Users get confused about which is the forward action.

High contrast on everything. Drop shadows on every card, brand color on every button, large size on every heading. The contrasts compound and create visual chaos.

Contrast inconsistent across surfaces. Primary buttons styled one way on the home screen, another way on the settings screen. Users can't form a stable expectation.

Heuristic checklist

Before settling on visual treatment, ask: What needs to be distinguished, and what should look the same? Plan similarity and contrast deliberately. Is contrast doing distinguishing work, or just adding visual variety? If the latter, remove. Is each level of hierarchy clearly one-thing-emphasized? Multiple "primary" elements at the same level dilute emphasis. Is contrast strong enough to be perceived? Subtle differences may not communicate.

  • gestalt-similarity — parent principle on similarity perception.
  • similarity-grouping — sibling skill on grouping by similarity.
  • hierarchy — contrast is a primary mechanism for expressing hierarchy.
  • signal-to-noise — disciplined contrast is signal; undisciplined is noise.
  • color — color contrast is the most powerful kind.

See also

  • references/contrast-patterns.md — patterns for specific contrast situations.

© 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/similarity-and-contrast of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • references/contrast-patterns.md

Open the folder on GitHubat commit 3e1456a

Compare with similar skills

Similarity And Contrast 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.

Similarity And Contrast compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Similarity And Contrast this skillhashgraph-online/awesome-codex-plugins1.3k—~2.4kAutomated safety check: PassApache-2.0
Harness Similarityruvnet/ruflo74k—~866Automated safety check: NotesMIT
Decorative Elementsthedaviddias/Front-End-Checklist74k—~672Automated safety check: PassMIT
Scaffold Elementremotion-dev/remotion63k—~202Automated safety check: PassCustom licence
High Contrastsickn33/agentic-awesome-skills47k1 repos~2.6kAutomated safety check: PassMIT
Html5 Semantic Elementsthedaviddias/Front-End-Checklist74k—~449Automated safety check: PassMIT

Similar skills

  • Harness Similarity

    ruvnet/ruflo

    ADR-152 — weighted similarity between two harness fingerprints (genome + score JSON).

    74k GitHub stars~866 tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Decorative Elements

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Hide decorative elements from assistive technology.

    74k GitHub stars~672 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Scaffold Element

    remotion-dev/remotion

    Official

    Scaffold a new Remotion Element for development in the docs Remotion Studio.

    63k GitHub stars~202 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • High Contrast

    sickn33/agentic-awesome-skills

    Web and App implementation guide for High Contrast Design. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~2.6k tokens
    MobileAuto-check passed
  • 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 4 days ago
    Auto-check passed
  • Custom Element Accessibility

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing custom element class definitions or Web Component source code to check for missing ARIA reflection, keyboard handling, and form association.

    74k GitHub stars~655 tokensUpdated 4 days ago
    Frontend & DesignAuto-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 Similarity And Contrast

What does Similarity And Contrast do?

Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs. Similarity And Contrast is an agent skill from hashgraph-online/awesome-codex-plugins. Apply deliberate dissimilarity (contrast) to distinguish elements that need to be perceived as different — primary vs.

When should I use Similarity And Contrast?

Similarity And Contrast fits situations like: you want to emphasize a single element; distinguish roles; break up a too-uniform layout.

How do I install Similarity And Contrast in Claude Code?

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

How do I install Similarity And Contrast in Codex?

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

Can I use Similarity And Contrast 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 similarity-and-contrast -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/similarity-and-contrast, .gemini/skills/similarity-and-contrast, .github/skills/similarity-and-contrast and .opencode/skills/similarity-and-contrast in your project.

What does Similarity And Contrast need to run?

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

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

Similarity And Contrast 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 Similarity And Contrast use?

About 2.4k tokens (SKILL.md is roughly 9.4k 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.2k tokens, read only when the agent opens those files.

What are the alternatives to Similarity And Contrast?

Skills that share tags, products or a category with Similarity And Contrast: Harness Similarity (ruvnet/ruflo, 74k stars), Decorative Elements (thedaviddias/Front-End-Checklist, 74k stars), Scaffold Element (remotion-dev/remotion, 63k stars) and High Contrast (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Similarity And Contrast?

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.