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.
npx skills add raintree-technology/hig-doctor --skill hig-components-controlsgit clone --depth 1 https://github.com/raintree-technology/hig-doctorWrote 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.
[](https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-controls)<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.
<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>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- hig-components-controls — 100% identical, 0 lines differ
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
-
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.
-
Prefer standard system controls. Built-in controls provide consistency and accessibility. Custom controls introduce a learning curve and may break assistive features.
-
Toggles for binary states. On or off. In Settings-style screens, changes take effect immediately. In modal forms, changes commit on confirmation.
-
Segmented controls for mutually exclusive options. 2-5 items, roughly equal importance, short labels.
-
Sliders for continuous values. When precise numeric input is not critical. Provide min/max labels or icons for range endpoints.
-
Pickers for long option lists. Too many options for a segmented control. Works well for dates, times, structured data.
-
Steppers for small, precise adjustments. Increment/decrement in fixed steps. Display current value next to the stepper with reasonable min/max bounds.
-
Text fields for short, single-line input. Text views for multi-line. Configure keyboard type to match expected input (email, URL, number).
-
Combo boxes: text input + selection list. macOS. Type a value or choose from a predefined list when custom values are valid.
-
Token fields: discrete values as visual tokens. macOS. For email recipients, tags, or collections of discrete items.
-
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 |
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/combo-boxes.md 1001 B
- references/controls.md 1.9 KB
- references/gauges.md 1.1 KB
- references/labels.md 1.3 KB
- references/pickers.md 1.9 KB
- references/rating-indicators.md 912 B
- references/segmented-controls.md 1.9 KB
- references/sliders.md 1.4 KB
- references/steppers.md 1009 B
- references/text-fields.md 1.9 KB
- references/text-views.md 995 B
- references/toggles.md 2.3 KB
- references/token-fields.md 951 B
- references/virtual-keyboards.md 1.7 KB
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.
- 2mo ago First seen · 89 lines · 154 tokens per session scan A 38bda7acf172
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.
hig-components-controls compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hig-components-controlsraintree-technology/hig-doctor | Skill | 151 | 4d ago | MIT | A | 154 | Claude Code |
| apple-designbillythekidz/apple-design-skill | Skill | 5 | 2mo ago | MIT | A | 55 | Claude Code, Codex |
| apple-design-foundationss1gmamale1/apple-design-skills | Skill | 34 | 5mo ago | none | A | 136 | Claude Code, Codex |
| apple-design-oss1gmamale1/apple-design-skills | Skill | 34 | 5mo ago | none | A | 176 | Claude Code, Codex |
| apple-design-materialss1gmamale1/apple-design-skills | Skill | 34 | 5mo ago | none | A | 117 | Claude Code, Codex |
| display-glasses-with-jetpack-compose-glimmerandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 112 | Claude Code |
| glance-canonical-layoutsandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 56 | Claude Code |