apple-hig-macos-window-layout

apple-hig-macos-window-layout is a skill for Claude Code, Codex from aka-kika/akakika-skills. It costs 45 tokens per session (1,304 once invoked), scanned A, original, MIT.

A design guide for the overall window structure of a macOS app. It covers the title bar, toolbar, sidebar, main content, inspector, panels, sheets, sizing, and companion windows.

In plain words
What is it for?
Use it when building a main window, utility window, menu-bar companion, split view, settings window, floating panel, or sheet.
Why use it?
It helps keep the app window stable and organized around the user's main task as the window is resized or different panels appear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building a main window, utility window, menu-bar companion, split view, settings window, floating panel, or sheet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aka-kika/akakika-skills/apple-hig-macos-window-layout
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 aka-kika/akakika-skills --skill apple-hig-macos-window-layout
Clone the repo
git clone --depth 1 https://github.com/aka-kika/akakika-skills

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 apple-hig-macos-window-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout/github.svg)](https://agentmods.dev/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout)
Your own site
<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout/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 apple-hig-macos-window-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/apple-hig-macos-window-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,304 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
  • 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.00045 $0.01304
Opus 5.5 $0.00018 $0.00522
Sonnet 5.5 $0.00009 $0.00261
Haiku 4.5 $0.00005 $0.00130

Measured 1mo ago against content hash 737cd7a7d8a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-hig-macos-window-layout 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.

skills/apple-hig/apple-hig-macos-window-layout/SKILL.md · 248 lines

How it starts

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

Apple HIG macOS Window Layout

Build a stable, resizable, native macOS window shell organized around the main task: titlebar, toolbar, sidebar, content, inspector, sizing, panels, sheets, and menu bar companions. Reach for it when shaping the overall window structure rather than one isolated component.

Purpose

Use this skill when designing or implementing the overall macOS app window shell: titlebar, toolbar, sidebar, content area, inspector, window sizing, panels, sheets, and menu bar companion windows.

Core rule

A macOS window should feel stable, resizable, native, and organized around the main task.

When to use this skill

Use for:

  • Main macOS app windows
  • Utility windows
  • Menu bar companion windows
  • Split view layout
  • Sidebar + detail + inspector
  • Toolbar placement
  • Window sizing
  • Settings window sizing
  • Floating panels
  • Sheets

When not to use this skill

Do not use for:

  • iPhone layout only
  • Typography only
  • Sidebar content only
  • Menu bar popover only

Standard productivity window

┌─────────────────────────────────────────────┐
│ Toolbar / titlebar                          │
├──────────────┬───────────────────┬──────────┤
│ Sidebar      │ Main Content      │ Inspector│
│              │                   │          │
└──────────────┴───────────────────┴──────────┘

Recommended widths:

Sidebar: 220–280 px
Main: flexible, dominant
Inspector: 280–360 px

Window size guidance

Small utility:       520 × 420
Medium productivity: 900 × 640
Large workspace:     1100 × 720+
Settings:            520–640 × 360–520
Menu bar popover:    320–420 wide

Use minimum sizes so layout does not break.

SwiftUI window setup

@main
struct MyApp: App {
    var body: some Scene {
        WindowGroup {
            RootWindowView()
                .frame(minWidth: 900, minHeight: 640)
        }

        Settings {
            SettingsView()
                .frame(width: 560, height: 420)
        }
    }
}

Read the full file on GitHub · 248 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. 1mo ago First seen · 248 lines · 45 tokens per session scan A 737cd7a7d8a1

Subscribe to this mod's changes

apple-hig-macos-window-layout is a skill published in the GitHub repository aka-kika/akakika-skills (11 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,304 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

sleek-design-mobile-apps

Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

sleekdotdesign/agent-skills · 30 tokens

compose-ui

Writes and reviews composables for Compose and CMP: the Route/Screen/leaf split, state-read placement and stability, loading/empty/error UX states, LazyColumn lists and grids, animation choice, accessibility and semantics, design-system tokens, CMP Res resources, Coil images, and keyboard/focus. Use when touching…

Meet-Miyani/compose-skill · 148 tokens

cometchat-flutter-v6-customization

Theme and brand the Flutter v6 UI Kit — light/dark mode, the CometChatColorPalette / CometChatTypography / CometChatSpacing theme extensions, per-widget style objects, and view slots. Triggers: 'change chat colors flutter', 'dark mode chat flutter', 'match my brand flutter', 'customize cometchat theme flutter'…

cometchat/cometchat-skills · 89 tokens

Audit Apple-platform UI work against Human Interface Guidelines with HIG Doctor

Run a repeatable HIG compliance audit over app code before shipping UI changes, then use the findings to guide remediation.

agentskillexchange/skills · 38 tokens

apple-design

Cross-platform UI/UX design reviewer grounded in Apple's Human Interface Guidelines (123 pages pulled from developer.apple.com, including 57 component pages) plus a design-craft lens for distinctive, non-templated work. Use it to audit, review, critique, or improve any mobile app (iOS, Flutter, React Native) or…

dickwu/apple-design-skill · 233 tokens

app-icon-studio

Apple app icons: create, generate, evaluate, export, install, or debug iOS AppIcon.appiconset and macOS .icns assets for small-size clarity.

Xopoko/build-swift-apps · 40 tokens