contextual-menu

contextual-menu is a skill for Claude Code from Dragoon0x/everything-design-taste. It costs 19 tokens per session (284 once invoked), scanned A, original, MIT.

A guide to designing menus that appear after a right-click, button press, or overflow icon. It covers action grouping, positioning, keyboard use, and accessibility.

In plain words
What is it for?
Use it when building context menus, dropdowns, command menus, file actions, and item-level controls.
Why use it?
It helps users find relevant actions without cluttering the main interface. It also prevents menus from opening off-screen or becoming difficult to use with a keyboard.

Skill for Claude Code

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

Part of the edt plugin — 117 skills, 80 agents shipped together

Good fit Use it when building context menus, dropdowns, command menus, file actions, and item-level controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dragoon0x/everything-design-taste/contextual-menu
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 Dragoon0x/everything-design-taste --skill contextual-menu
Clone the repo
git clone --depth 1 https://github.com/Dragoon0x/everything-design-taste

Made for: Claude Code.

Or install edt, the plugin that ships this one along with the rest of its 117 skills, 80 agents.

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 contextual-menu

README.md
[![agentmods](https://agentmods.dev/badge/skills/dragoon0x/everything-design-taste/contextual-menu.svg)](https://agentmods.dev/skills/dragoon0x/everything-design-taste/contextual-menu)
Your own site
<a href="https://agentmods.dev/skills/dragoon0x/everything-design-taste/contextual-menu"><img src="https://agentmods.dev/badge/skills/dragoon0x/everything-design-taste/contextual-menu.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 284 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.
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.00019 $0.00284
Opus 5 $0.00010 $0.00142
Sonnet 5 $0.00004 $0.00057
Haiku 4.5 $0.00002 $0.00028

Measured 4d ago against content hash 194bfa84e224, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

contextual-menu 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 4d 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/contextual-menu/SKILL.md · 37 lines

What it actually says

Contextual Menus

Types

Type Trigger Use
Context menu Right-click (desktop) File operations, editing actions
Action menu Click on ⋮ or ⋯ icon Item-level actions
Dropdown menu Click on button Navigation, options
Command menu Keyboard shortcut (Cmd+K) Global search and actions

Design Rules

  1. Group related actions with dividers
  2. Show keyboard shortcuts aligned right
  3. Destructive actions at bottom, visually distinct (red text)
  4. Max 10-12 items before grouping or restructuring
  5. Disabled items: show but gray out (don't hide)
  6. Icons optional but helpful for scanning

Positioning

  • Open near the trigger, within viewport
  • Flip if near edge of screen
  • Submenu: opens to the right (or left if at right edge)

Accessibility

  • role="menu" on container
  • role="menuitem" on each item
  • Arrow keys to navigate
  • Enter/Space to select
  • Escape to close
  • Focus returns to trigger on close
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. 4d ago First seen · 37 lines · 19 tokens per session scan A 194bfa84e224

Subscribe to this mod's changes

contextual-menu is a skill published in the GitHub repository Dragoon0x/everything-design-taste (11 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 284 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

loading-states-and-perceived-performance

Manage user expectations during wait times with appropriate loading states — from simple spinners to complex skeleton screens and staggered animations. Perceived performance is often more important than actual load time. Use when designing data-heavy components, handling API calls, building hero sections, or improving…

dembrandt/dembrandt-skills · 68 tokens

micro-interactions

Micro-interactions are small, purposeful animations and responses that reward the user and make the interface feel alive — an animated icon, a satisfying toggle, a subtle reveal. Borrowed from the natural world, they add delight without distraction. Use when designing interactive components, success states, toggles…

dembrandt/dembrandt-skills · 70 tokens

motion-and-storytelling

Disney's 12 animation principles, cinematic storytelling techniques, and comic book conventions apply to web UI — used subtly, they make interfaces feel alive, intentional, and emotionally resonant. Use when designing transitions, micro-interactions, onboarding flows, scroll animations, or any motion in the UI.

dembrandt/dembrandt-skills · 63 tokens