mac-app-ui

mac-app-ui is a skill for Claude Code, Codex from s3rgiosan/agent-smith. It costs 115 tokens per session (1,684 once invoked), scanned A, original, MIT.

A set of design rules and workflow steps for building or reviewing the user interface of a Mac application. It covers apps made with technologies such as SwiftUI, AppKit, Tauri, Electron, or a web view.

In plain words
What is it for?
Use it when creating or restyling a Mac app's windows, sidebars, lists, title bars, menus, status items, settings screens, or icons.
Why use it?
It gives Mac-specific guidance for window structure, typography, colours, dark mode, menus, trays, settings, and related interface details. This reduces the need to decide those conventions from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it when creating or restyling a Mac app's windows, sidebars, lists, title bars, menus, status items, settings screens, or icons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3rgiosan/agent-smith/mac-app-ui
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 s3rgiosan/agent-smith --skill mac-app-ui
Clone the repo
git clone --depth 1 https://github.com/s3rgiosan/agent-smith

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 mac-app-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3rgiosan/agent-smith/mac-app-ui/github.svg)](https://agentmods.dev/skills/s3rgiosan/agent-smith/mac-app-ui)
Your own site
<a href="https://agentmods.dev/skills/s3rgiosan/agent-smith/mac-app-ui"><img src="https://agentmods.dev/badge/skills/s3rgiosan/agent-smith/mac-app-ui/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 mac-app-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3rgiosan/agent-smith/mac-app-ui"><img src="https://agentmods.dev/badge/skills/s3rgiosan/agent-smith/mac-app-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,684 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 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.00115 $0.01684
Opus 5.5 $0.00046 $0.00674
Sonnet 5.5 $0.00023 $0.00337
Haiku 4.5 $0.00012 $0.00168

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

Security

Grade A, and why

mac-app-ui 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/native-window.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

claude/skills/mac-app-ui/SKILL.md · 74 lines

How it starts

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

Mac app UI

Step 1: platforms and shape

  1. If CLAUDE.md has a ## Mac app UI section, use it and go to Step 2.
  2. Read Tauri config, LSUIElement, ActivationPolicy, tray code, Package.swift, LICENSE (copyright holder), README (tagline).
  3. Ask only what the repo leaves open:
    • Platforms: macOS only (default), or also Linux and Windows?
    • Shape: windowed, menu-bar-only, or windowed with a status item? Recommend windowed, no status item, unless the app shows glanceable status.
  4. Record in CLAUDE.md, one value each:
## Mac app UI
- Platforms: macOS only|macOS, Linux, Windows
- Shape: windowed|menu-bar-only|windowed + status item

Step 2: apply the standard

Type. System font, macOS text styles (1px = 1pt):

Role Size / line Weight
Window or detail header 22/26 Title 1 700
Pane title 17/22 Title 2 700
Reading text, detail-pane section headers 15/20 Title 3 400
Row titles, controls, labels, sidebar items 13/16 Body 400 (row titles 600 when emphasised)
List group headers 13/16 Headline 700
Metadata 12/15 Callout 400, secondary label
Sidebar section headers, badges 11/14 Subheadline 600

A screen that reads like a terminal lacks hierarchy, not size. Fix it with four or more sizes per screen from the table, nothing below 11px, Title Case headers at default tracking, monospace only for code, and tabular figures. Zoom (references/menus-settings-about.md → Zoom) serves users who want larger text.

Windows. Each main window's minimum size comes from the app config: Tauri minWidth/minHeight, SwiftUI .frame(minWidth:minHeight:).

Colour. Semantic system colours as light/dark tokens. The user's accent drives selection, sidebar icons and primary buttons; an app accent shows only under Multicolor. Selected rows: selected-content background and white text while the list has focus; unemphasized background and label colour otherwise. Contrast: 4.5:1 for text under 18pt, 3:1 at 18pt+ or bold (HIG); 3:1 for icons and control borders (WCAG 1.4.11). grep -rnE '#[0-9a-fA-F]{3,8}\b' src/ hits only the token block.

Read the full file on GitHub · 74 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 · 74 lines · 115 tokens per session scan A 7d1a96418065

Subscribe to this mod's changes

mac-app-ui is a skill published in the GitHub repository s3rgiosan/agent-smith (5 stars, last pushed 19d ago), licensed MIT. It adds 115 tokens to every session and 1,684 once invoked, about $0.0005 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-10-29.

Related

mac-app-ui compared with skills from other repositories

mac-app-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mac-app-uis3rgiosan/agent-smithSkill519d agoMITA115Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k2d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.6ktodayMITA94Claude Code, Codex