real-world-metaphors

real-world-metaphors is a skill for Claude Code from dembrandt/dembrandt-skills. It costs 34 tokens per session (990 once invoked), scanned A, original, MIT.

A guide to using familiar real-world objects as models for interface design. For example, cards represent separate items, carousels resemble stacks that can be browsed, and drawers suggest content that slides out.

In plain words
What is it for?
It is for choosing layouts, navigation patterns, and gestures that feel familiar, such as cards for comparable items or drawers for secondary content.
Why use it?
It helps users understand controls more quickly because the visual pattern hints at how it behaves. It also explains when a metaphor fits the content and when it may confuse people.

Skill for Claude Code

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

Part of the dembrandt plugin — 45 skills shipped together

Good fit It is for choosing layouts, navigation patterns, and gestures that feel familiar, such as cards for comparable items or drawers for secondary content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dembrandt/dembrandt-skills/real-world-metaphors
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 dembrandt/dembrandt-skills --skill real-world-metaphors
Clone the repo
git clone --depth 1 https://github.com/dembrandt/dembrandt-skills

Made for: Claude Code.

Or install dembrandt, the plugin that ships this one along with the rest of its 45 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 real-world-metaphors

README.md
[![agentmods](https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/real-world-metaphors/github.svg)](https://agentmods.dev/skills/dembrandt/dembrandt-skills/real-world-metaphors)
Your own site
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/real-world-metaphors"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/real-world-metaphors/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 real-world-metaphors

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/real-world-metaphors"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/real-world-metaphors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 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. Third-party audits
  • Socket pass 2 Oct 2026
  • Snyk pass 2 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00034 $0.00990
Opus 5.5 $0.00014 $0.00396
Sonnet 5.5 $0.00007 $0.00198
Haiku 4.5 $0.00003 $0.00099

Measured 10d ago against content hash 70e140be9a51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

real-world-metaphors 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 10d 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.

directory/skills/real-world-metaphors/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Real-World Metaphors in UI

UI patterns borrowed from the physical world reduce the learning curve because users already know how they work. A card feels like something you can pick up. A carousel feels like flipping through a stack. A drawer feels like it slides out from the side. These metaphors carry affordance — the user knows what to do before reading any instructions.

Use them deliberately, not decoratively.

Common Metaphors and When to Use Them

Card

A card is a bounded, self-contained unit of content — like a physical index card or a product on a shelf.

Use when:

  • Content items are discrete and comparable (products, people, articles, tasks)
  • Each item needs to be scanned quickly and potentially acted on
  • Items benefit from a visual thumbnail, image, or icon

Key properties:

  • Cards should be graspable: elevation (--shadow-sm), border-radius, and clear boundary
  • All cards in a set should be the same width; height can vary with content
  • One primary action per card — secondary actions appear on hover or inside a detail view
  • Cards imply "I can pick this up and do something with it" — if nothing happens on click, use a list instead

Carousel / Horizontal Scroll

A carousel borrows from the physical act of flipping through a stack or sliding items along a rail.

Use when:

  • There are more items than fit the viewport and browsing is the primary mode
  • Items have a natural visual order (steps, featured content, media)
  • The user is expected to explore, not to find a specific item

Caution:

  • Carousels hide content — important items should not live only inside a carousel
  • Auto-advancing carousels reduce user control; prefer user-driven navigation
  • On mobile, a horizontal scroll without explicit navigation dots feels more natural than arrows

Drawer / Side Panel

A drawer slides in from an edge, like a physical desk drawer — it brings additional context without replacing the current view.

Use when:

  • Secondary detail is needed without losing context of the main view
  • Editing or configuring an item while keeping the list visible behind
  • Mobile navigation patterns (hamburger menu opens a side drawer)

Read the full file on GitHub · 95 lines

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. 10d ago Changed · -36 lines 70e140be9a51
  2. 1mo ago Changed · -30 tokens per session 73f12445e289
  3. 3mo ago First seen · 131 lines · 64 tokens per session scan A 017c471258e5

Subscribe to this mod's changes

real-world-metaphors is a skill published in the GitHub repository dembrandt/dembrandt-skills (245 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 990 once invoked, about $0.0001 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-08-30.

Related

real-world-metaphors compared with skills from other repositories

real-world-metaphors next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
real-world-metaphorsdembrandt/dembrandt-skillsSkill245yesterdayMITA34Claude Code
design-dnazanwei/design-dnaSkill2.2k3mo agoMITA192Claude Code, Codex
dbim-brand-identityYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA117Claude Code, Codex
indian-gov-web-uiYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA95Claude Code, Codex
ux4g-design-systemYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA147Claude Code, Codex
gov-service-patternsYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA115Claude Code, Codex
ui-ux-lawsAmirGhl/ui-ux-lawsSkill24mo agoMITA203Claude Code, Codex