GroundRules: Skill for Claude Code

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

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

Apple Human Interface Guidelines for experiences that appear outside the main app, including widgets, Live Activities, notifications, complications, Home Screen quick actions, App Clips, and shortcuts. These surfaces provide information or actions without always opening the app.

In plain words
What is it for?
Use it when designing widgets, delivery or score tracking with Live Activities, notifications, watch complications, quick actions, App Clips, and app shortcuts.
Why use it?
It helps you choose what information belongs on each system surface and keep it timely, readable, and appropriate to the available space. It also covers sending users to relevant content when they tap.

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-system/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-system

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chama-x/groundrules/hig-components-system"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/hig-components-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,097 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.00162 $0.01097
Opus 5.5 $0.00065 $0.00439
Sonnet 5.5 $0.00032 $0.00219
Haiku 4.5 $0.00016 $0.00110

Measured 1mo ago against content hash c5e078abfb03, 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-system 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 1mo 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-system — 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-system/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: System Experiences

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

Key Principles

  1. Glanceable, immediate value. System experiences bring your app's most important content to surfaces the user sees without launching your app. Design for seconds of attention.

  2. Respect platform context. A Lock Screen widget has different constraints than a Home Screen widget. A complication is far smaller than a top shelf item.

  3. Widgets: show relevant information, not everything. Display the most useful subset, updated appropriately.

  4. Support multiple widget sizes with distinct layouts. Each size should be a thoughtful design, not a scaled version of another.

  5. Deep-link on tap. Take users to the relevant content, not the app's root screen.

  6. Live Activities: track events with a clear start and end. Deliveries, scores, timers, rides. Design for both Dynamic Island and Lock Screen.

  7. Stay updated and timely. Stale data undermines trust. End promptly when the event concludes.

  8. Respect user attention with notifications. Only send notifications for information users genuinely care about. No promotional or low-value notifications.

  9. Notifications: actionable and self-contained. Include enough context to understand and act without opening the app. Support notification actions. Use threading and grouping.

  10. Complications: focused data on the watch face. Design for the smallest useful representation. Support multiple families. Budget updates wisely.

  11. Home Screen quick actions: 3-4 most common tasks. Short titles, optional subtitles, relevant SF Symbol icons.

  12. Top Shelf: tvOS showcase. Feature content that entices: new episodes, featured items, recent content.

  13. App Clips: instant, focused functionality within a strict size budget. Load quickly without App Store download. Only what's needed for the immediate task, then offer full app install.

Read the full file on GitHub · 89 lines

Files

What ships with it

9 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.

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. 1mo ago First seen · 89 lines · 162 tokens per session scan A c5e078abfb03

Subscribe to this mod's changes

hig-components-system is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 2mo ago), licensed MIT. It adds 162 tokens to every session and 1,097 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-system, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

android-compose-patterns

Use when building native Android with Jetpack Compose - stateless composables, state hoisting, ViewModel-owned state, edge-to-edge, predictive back, adaptive layout, atomic components, and Material theming over hardcoded values.

makifbaysal/tasktrooper · 50 tokens

mobile-design-system-foundation

Use when the mobile repository has no theme tokens or component library yet (a new app, an "Apply design system" task, or a task that asks for one), before building any screen - writes the approved design system's generated files from getdesignsystem (files true) and builds the theme from them when there is one.

makifbaysal/tasktrooper · 72 tokens

mobile-ui-ux

Use when designing or building any mobile screen or component a user sees (Flutter, SwiftUI or Compose) - platform conventions, hierarchy, type that scales, colour roles and dark mode, safe areas and insets, forms and keyboard, states, feedback, and the generic-mobile anti-patterns.

makifbaysal/tasktrooper · 64 tokens

mobile-accessibility

Use when building or changing any interactive mobile UI - VoiceOver/TalkBack labels, grouping, headings, focus order, Dynamic Type/font scale, reduce motion, contrast, and the automated check for each stack.

makifbaysal/tasktrooper · 46 tokens

flutter-atomic-components

Use when adding or reusing Flutter UI - organize widgets as atoms, molecules, and organisms in a shared library and never hand-roll a component that already exists.

makifbaysal/tasktrooper · 36 tokens

mobile-ui

Use when a ticket builds or reworks UI in a React Native / Expo (or React + Capacitor) mobile app and it must feel like a real, store-credible native app — not a wrapped mobile website. Covers the native-feel bar, safe areas and edge-to-edge, gestures and back navigation, haptics, Dynamic Type and screen readers…

tmj-90/gaffer · 125 tokens