GroundRules: Skill for Claude Code

.agents/archive/v3/skill_hig-doctor/skills/hig-components-menus/SKILL.md

hig-components-menus is a skill for Claude Code, Codex from chama-x/GroundRules. It costs 156 tokens per session (979 once invoked), scanned A, a copy of hig-components-menus, MIT.

Apple Human Interface Guidelines for menus, buttons, toolbars, context menus, and related controls. It explains how these controls should organize commands and choices across Apple platforms.

In plain words
What is it for?
Use it when designing app menus, menu bars, toolbars, right-click menus, pop-up buttons, pull-down buttons, disclosure controls, and standard buttons.
Why use it?
It helps users find actions in expected places and understand whether a control chooses an option or starts an action. It also reduces reliance on custom controls that behave differently from platform conventions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is chama-x/GroundRules's own configuration. It tells Claude Code and Codex how to work on GroundRules itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GroundRules configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chama-x/GroundRules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chama-x/GroundRules/master/.agents/archive/v3/skill_hig-doctor/skills/hig-components-menus/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chama-x/GroundRules

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 hig-components-menus

README.md
[![agentmods](https://agentmods.dev/badge/skills/chama-x/groundrules/hig-components-menus.svg)](https://agentmods.dev/skills/chama-x/groundrules/hig-components-menus)
Your own site
<a href="https://agentmods.dev/skills/chama-x/groundrules/hig-components-menus"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/hig-components-menus.svg" alt="Measured on agentmods" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 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 100% copy Near-identical to another mod 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.00156 $0.00979
Opus 5 $0.00078 $0.00490
Sonnet 5 $0.00031 $0.00196
Haiku 4.5 $0.00016 $0.00098

Measured 7d ago against content hash 8587f6eb574b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

hig-components-menus 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 7d 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.

Origin

This is a copy

100% identical to hig-components-menus — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/archive/v3/skill_hig-doctor/skills/hig-components-menus/SKILL.md · 82 lines

How it starts

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

Apple HIG: Menus and Buttons

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

  1. Menus should be contextual and predictable. Standard items in standard locations. Follow platform conventions for ordering and grouping.

  2. Use standard button styles. System-defined styles communicate affordance and maintain visual consistency. Prefer them over custom designs.

  3. Toolbars for frequent actions. Most commonly used commands in the toolbar. Rarely used actions belong in menus.

  4. Menu bar is the primary command interface on macOS. Every command reachable from the menu bar. Toolbars and context menus supplement, not replace.

  5. Context menus for secondary actions. Right-click or long-press, relevant to the item under the pointer. Never put a command only in a context menu.

  6. Pop-up buttons for mutually exclusive choices. Select exactly one option from a set.

  7. Pull-down buttons for action lists. No current selection; they offer a set of commands.

  8. Action buttons consolidate related actions behind a single icon in toolbars or title bars.

  9. Disclosure controls for progressive disclosure. Show or hide additional content.

  10. Dock menus: short and focused on the most useful actions when the app is running.

Reference Index

Reference Topic Key content
menus.md General menu design Item ordering, grouping, shortcuts
context-menus.md Context menus Right-click, long press, secondary actions
dock-menus.md Dock menus macOS app-level actions, running state
edit-menus.md Edit menus Undo, copy, paste, standard items
the-menu-bar.md Menu bar macOS primary command interface, structure
toolbars.md Toolbars Frequent actions, customization, placement
buttons.md Buttons System styles, sizing, affordance
action-button.md Action button Grouped secondary actions, toolbar use
pop-up-buttons.md Pop-up buttons Mutually exclusive choice selection
pull-down-buttons.md Pull-down buttons Action lists, no current selection
disclosure-controls.md Disclosure controls Progressive disclosure, show/hide

Read the full file on GitHub · 82 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. 7d ago First seen · 82 lines · 156 tokens per session scan A 8587f6eb574b

Subscribe to this mod's changes

hig-components-menus is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 24d ago), licensed MIT. It adds 156 tokens to every session and 979 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to hig-components-menus, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens

b2b-desktop-design-system

Generate modern B2B desktop design system specs — tokens, layout, information hierarchy — for Near delivery POC.

DemonDamon/AgenticX · 31 tokens

design

Create a doc-as-code design package from a PRD or SPEC. Conditionally generates C4 diagrams (Context/Container/Component), sequence diagrams, ER diagram + Data Dictionary, OpenAPI 3.0, AsyncAPI 3.0, ADRs, domain glossary, state diagrams, and deployment view as Mermaid-rendered Markdown files. Use when PM mentions…

cryndoc/polisade-orchestrator · 162 tokens

design-system

Use when a ticket needs a systematic token + component foundation for a frontend — the three-layer token architecture (primitive → semantic → component), component specs with full state coverage, or a recommendation for which design system a product should have. Invoke for "set up design tokens", "define the component…

tmj-90/gaffer · 106 tokens

brand

Use to establish or audit a product's brand so the factory's output looks intentional, not template — when a ticket asks to "create a brand", "define the design system / visual identity / palette / typography", or when delivered UI looks generic and needs a deliberate direction. Detects existing brand and extends it…

tmj-90/gaffer · 102 tokens