hig-components-controls

hig-components-controls is a skill for Claude Code from raintree-technology/hig-doctor. It costs 154 tokens per session (1,164 once invoked), scanned A, original, MIT.

Design guidance for controls that let users choose options or enter information in Apple apps. It covers controls such as toggles, pickers, sliders, steppers, text fields, and segmented controls.

In plain words
What is it for?
Designing forms, settings screens, filters, ratings, numeric inputs, and other selection or data-entry interfaces.
Why use it?
It helps choose controls that clearly show the current state and match the number and type of choices users need to make.

Skill for Claude Code

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

Part of the apple-hig-skills plugin — 14 skills shipped together

not rated 151repo +3 4d ago A scan Socket: passSnyk: passSkillSpector: pass 154 tokens original MIT

Good fit Designing forms, settings screens, filters, ratings, numeric inputs, and other selection or data-entry interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raintree-technology/hig-doctor/hig-components-controls
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 raintree-technology/hig-doctor --skill hig-components-controls
Clone the repo
git clone --depth 1 https://github.com/raintree-technology/hig-doctor

Made for: Claude Code.

Or install apple-hig-skills, the plugin that ships this one along with the rest of its 14 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 hig-components-controls

README.md
[![agentmods](https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-controls/github.svg)](https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-controls)
Your own site
<a href="https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-controls"><img src="https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-controls/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-controls

Your own site · 80×15
<a href="https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-controls"><img src="https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-controls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,164 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 14 Sept 2026
  • Snyk pass 14 Sept 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.00154 $0.01164
Opus 5.5 $0.00062 $0.00466
Sonnet 5.5 $0.00031 $0.00233
Haiku 4.5 $0.00015 $0.00116

Measured 2mo ago against content hash 38bda7acf172, 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-controls 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/hig-components-controls/SKILL.md · 89 lines

How it starts

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

Apple HIG: Selection and Input Controls

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

Key Principles

  1. Clear current state. Users must always see what is selected. Toggles show on/off, segmented controls highlight the active segment, pickers display the current selection.

  2. Prefer standard system controls. Built-in controls provide consistency and accessibility. Custom controls introduce a learning curve and may break assistive features.

  3. Toggles for binary states. On or off. In Settings-style screens, changes take effect immediately. In modal forms, changes commit on confirmation.

  4. Segmented controls for mutually exclusive options. 2-5 items, roughly equal importance, short labels.

  5. Sliders for continuous values. When precise numeric input is not critical. Provide min/max labels or icons for range endpoints.

  6. Pickers for long option lists. Too many options for a segmented control. Works well for dates, times, structured data.

  7. Steppers for small, precise adjustments. Increment/decrement in fixed steps. Display current value next to the stepper with reasonable min/max bounds.

  8. Text fields for short, single-line input. Text views for multi-line. Configure keyboard type to match expected input (email, URL, number).

  9. Combo boxes: text input + selection list. macOS. Type a value or choose from a predefined list when custom values are valid.

  10. Token fields: discrete values as visual tokens. macOS. For email recipients, tags, or collections of discrete items.

  11. Gauges and rating indicators display values. Gauges show a value within a range. Rating indicators show ratings (often stars). Display-only; use interactive variants for input.

Reference Index

Reference Topic Key content
controls.md General controls States, affordance, system controls
toggles.md Toggles On/off, immediate effect
segmented-controls.md Segmented controls 2-5 options, equal weight
sliders.md Sliders Continuous range, min/max labels
steppers.md Steppers Fixed steps, bounded values
pickers.md Pickers Dates, times, long option sets
combo-boxes.md Combo boxes macOS, type or select, custom values
text-fields.md Text fields Short input, keyboard types, validation
text-views.md Text views Multi-line, comments, descriptions
labels.md Labels Placement, VoiceOver support
token-fields.md Token fields macOS, chips, tags, recipients
virtual-keyboards.md Virtual keyboards Email, URL, number keyboard types
rating-indicators.md Rating indicators Star ratings, display-only
gauges.md Gauges Level indicators, range display

Read the full file on GitHub · 89 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 · 89 lines · 154 tokens per session scan A 38bda7acf172

Subscribe to this mod's changes

hig-components-controls is a skill published in the GitHub repository raintree-technology/hig-doctor (151 stars, last pushed 4d ago), licensed MIT. It adds 154 tokens to every session and 1,164 once invoked, about $0.0006 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

hig-components-controls compared with skills from other repositories

hig-components-controls next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hig-components-controlsraintree-technology/hig-doctorSkill1514d agoMITA154Claude Code
apple-designbillythekidz/apple-design-skillSkill52mo agoMITA55Claude Code, Codex
apple-design-foundationss1gmamale1/apple-design-skillsSkill345mo agononeA136Claude Code, Codex
apple-design-oss1gmamale1/apple-design-skillsSkill345mo agononeA176Claude Code, Codex
apple-design-materialss1gmamale1/apple-design-skillsSkill345mo agononeA117Claude Code, Codex
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill10kyesterdayApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code