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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00062 $0.00392
Sonnet 5.5 $0.00031 $0.00196
Haiku 4.5 $0.00016 $0.00098

Measured 2mo ago against content hash 8587f6eb574b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 2mo 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. 2mo 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 2mo ago), licensed MIT. It adds 156 tokens to every session and 979 once invoked, about $0.0006 per session on Opus 5.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

hig-components-menus compared with skills from other repositories

hig-components-menus next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hig-components-menuschama-x/GroundRulesSkill52mo agoMITA156Claude Code, Codex
wireframepaperclipai/paperclipSkill111kyesterdayMITA47Claude Code, Codex
design-critiquepaperclipai/paperclipSkill111kyesterdayMITA42Claude Code, Codex
paperclip-capsulespaperclipai/paperclipSkill111kyesterdayMITA41Claude Code, Codex
skin-creatornetease-youdao/LobsterAISkill6.2kyesterdayMITA48Claude Code, Codex
canvas-designnetease-youdao/LobsterAISkill6.2kyesterdayMITA59Claude Code, Codex
screenshot-critiquedzhng/skillsSkill1.4k2d agoMITA52Claude Code, Codex