elevation-and-depth

elevation-and-depth is a skill for Claude Code, Codex from dembrandt/dembrandt-skills. It costs 62 tokens per session (2,136 once invoked), scanned A, original, MIT.

A guide to using shadows and layers to show which interface elements sit above others. It covers visual depth for surfaces such as cards, dropdowns, tooltips, and dialogs.

In plain words
What is it for?
Use it when designing cards, dropdown menus, popovers, modals, dialogs, side drawers, command palettes, or other floating elements.
Why use it?
It makes floating or interactive elements easier to distinguish from the page behind them. Consistent levels of shadow also prevent the interface from looking flat or visually harsh.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 54repo +2 2d ago A scan Socket: passSnyk: passSkillSpector: pass 62 tokens original MIT

Good fit Use it when designing cards, dropdown menus, popovers, modals, dialogs, side drawers, command palettes, or other floating elements.

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

Made for: Claude Code, Codex.

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 elevation-and-depth

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/elevation-and-depth"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/elevation-and-depth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,136 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 20 Apr 2026
  • Snyk pass 20 Apr 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.00062 $0.02136
Opus 5 $0.00031 $0.01068
Sonnet 5 $0.00012 $0.00427
Haiku 4.5 $0.00006 $0.00214

Measured 13d ago against content hash 8dd6122e7bf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

elevation-and-depth 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 13d 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.

skills/elevation-and-depth/SKILL.md · 161 lines

How it starts

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

Elevation and Depth

Elevation uses shadow and layering to communicate that an element sits above the base surface — giving UI a sense of physical depth. Combined with border-radius, it creates the tactile quality that makes cards graspable, modals clearly floating, and dropdowns feel like they've appeared on top of content.

The Elevation Scale

Define a small set of elevation levels as tokens. Each level maps to a specific UI role.

Level Token Shadow Role
0 --shadow-none none Flat surface, inline elements
1 --shadow-xs 0 1px 2px rgba(0,0,0,0.06) Subtle card, table row hover
2 --shadow-sm 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06) Card, input focus ring area
3 --shadow-md 0 4px 6px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06) Dropdown, popover
4 --shadow-lg 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05) Modal, dialog, side drawer
5 --shadow-xl 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04) Command palette, full-screen overlay

Keep shadows subtle. Dark, heavy shadows feel dated and visually aggressive. Light, diffuse shadows feel modern and material.

The "Shadow + Border" Rule

A subtle shadow on a white surface can sometimes "wash out," making the edge of a card feel fuzzy or indistinct.

  • Rule: For elevated white cards or sections, pair the shadow with a 1px border that is slightly darker (1.5x to 2x) than the shadow's core tone (e.g., a medium grey like #E2E8F0 or grey-200).
  • Effect: The border defines the physical boundary of the card, while the shadow provides the depth. Together, they make the component "pop" with much higher clarity than using either alone.

Hover Needs a Defined Edge

A card that shifts background colour on hover must have a defined edge — a border, shadow, or clear radius boundary. Without one, the shift has no shape and reads as a stray fill, not a highlighted card. On a borderless, flat card, a background-change hover is forbidden — use a border or a shadow (elevation) on hover instead.

Read the full file on GitHub · 161 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. 13d ago First seen · 161 lines · 62 tokens per session scan A 8dd6122e7bf7

Subscribe to this mod's changes

elevation-and-depth is a skill published in the GitHub repository dembrandt/dembrandt-skills (54 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 2,136 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

indian-gov-web-ui

A set of design and accessibility rules for Indian government websites, portals, and administrative panels, including required standards such as GIGW and WCAG.

Yashraj00700/indian-gov-ui-skills · 95 tokens

ux4g-design-system

Use when building or reviewing UI with UX4G — India's official government design system (ux4g.gov.in, cdn.ux4g.gov.in, ux4g-web-components). Covers the v3.0.18 token API, the 52 components, install paths for HTML/React/Angular/Flutter, and the interop hazards. Triggers include "UX4G", "ux4g-web-components"…

Yashraj00700/indian-gov-ui-skills · 147 tokens

extract-design-system

Extract design primitives from a public website and generate starter token files for your project.

arvindrk/extract-design-system · 20 tokens

vois-tokens

Rules and patterns for building UI with shadcn/ui, Tailwind v4 or StyleX, and Motion against a Vois design token set. Use when building components, pages, or any UI that should conform to the workspace design system. Covers spacing, typography, color tokens, component architecture, animation, accessibility, and modern…

ommakes/Skills · 77 tokens

absolute-ui

Build polished, intentional UIs with concrete CSS/Tailwind values — typography, color, layout, spacing, dark mode, accessibility, animations, components. Encodes specific, opinionated rules with exact values, not vague advice. Covers buttons, cards, forms, tables, navigation, dashboards, landing pages, onboarding, and…

maddhruv/absolute · 121 tokens

html-to-bricks

Use when the user says 'convert this html to bricks' or 'paste html into bricks', or has a Webflow, Framer, CodePen, or old static export to bring into a Bricks site. Converts raw HTML and CSS into native Bricks elements, mapping colors, type, and spacing to design tokens, plus ACSS classes when installed.

respira-press/agent-skills-wordpress · 77 tokens