Agent skill

macOS Patterns

by fayazara in fayazara/macos-app-skills

Essential native macOS development patterns that web developers don't know about.

No licenceAuto-check passedMobile

Install macOS Patterns

skills CLI
$ npx skills add fayazara/macos-app-skills --skill macos-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fayazara/macos-app-skills macos-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fayazara/macos-app-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/macos-patterns .claude/skills/macos-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
macos-patterns
GitHub stars
675
Token cost
~4.6k tokens
SKILL.md length
809 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Essential native macOS development patterns that web developers don't know about.

  • The user is building a macOS app and needs guidance on native patterns
  • SKILL.md covers Menu Bar Apps, Activation Policy -- Dock Icon…, NSPanel vs NSWindow and Window Levels, plus 10 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • They ask about menu bar apps

What it does

macOS Patterns is an agent skill from fayazara/macos-app-skills. Essential native macOS development patterns that web developers don't know about. Use this skill whenever the user is building a macOS app and needs guidance on native patterns, or when they ask about menu bar apps, floating panels, window levels, keyboard shortcuts, file pickers, clipboard, drag and drop, screen capture, activation policy, Quick Look, launch at login, or any macOS-specific API. Also trigger when the user seems to be applying web development patterns to macOS (e.g., using z-index thinking for…

Its SKILL.md is about 4.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. It works with macOS and SwiftUI. The repository describes itself as: AI coding agent skills for building, shipping, and maintaining native macOS apps.

When your agent uses it

  • The user is building a macOS app and needs guidance on native patterns
  • They ask about menu bar apps
  • Floating panels
  • Keyboard shortcuts

Example prompts

  • “how things actually work on macOS”
  • “/macos-patterns”

What it can do on your machine

Read from SKILL.md and the folder at commit a60365a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

macOS Patterns loads about 4.6k tokens when it runs. Until then it costs about 200 tokens; SKILL.md has 809 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~200
When it runs · the whole SKILL.md, loaded when a task matches
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 809 words (~4,578 tokens).

“This is a reference guide for the macOS-specific patterns that have no web equivalent. When building a native macOS app, these are the things that trip up everyone coming from web development. The AI should consult this before generating macOS…”

— opening of SKILL.md by fayazara
name
macos-patterns

Read the full SKILL.md on GitHub

Files

Just SKILL.md in macos-patterns of fayazara/macos-app-skills.

Open the folder on GitHubat commit a60365a

Compare with similar skills

macOS Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

macOS Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
macOS Patterns this skillfayazara/macos-app-skills675—~4.6kAutomated safety check: PassNone
Hig Project Contextraintree-technology/hig-doctor1435 repos~1.2kAutomated safety check: PassMIT
Hig Components Contentraintree-technology/hig-doctor1435 repos~1.3kAutomated safety check: PassMIT
macOS App Designvaayne/mori303—~789Automated safety check: PassMIT
Liquid Glassrobinebers/openusage4.3k—~2.2kAutomated safety check: PassMIT
iOS Accessibilitydpearson2699/swift-ios-skills1.2k—~4.6kAutomated safety check: PassCustom licence

Similar skills

  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    143 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Hig Components Content

    raintree-technology/hig-doctor

    Apple Human Interface Guidelines for content display components.

    143 GitHub starsUsed in 5 repos~1.3k tokens
    MobileAuto-check passed
  • macOS App Design

    vaayne/mori

    A skill your agent uses when designing or building native macOS applications with SwiftUI or AppKit.

    303 GitHub stars~789 tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Liquid Glass

    robinebers/openusage

    Implement, refactor, or review modern macOS SwiftUI UI for the new design system and Liquid Glass.

    4.3k GitHub stars~2.2k tokensUpdated yesterday
    MobileAuto-check passed
  • iOS Accessibility

    dpearson2699/swift-ios-skills

    Build and audit SwiftUI, UIKit, and AppKit accessibility for VoiceOver, Voice Control, Switch Control, Full Keyboard Access, Dynamic Type, focus restoration, labels/traits/actions, traversal, custom…

    1.2k GitHub stars~4.6k tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Native App Designer

    curiositech/some_claude_skills

    Creates breathtaking iOS/Mac and web apps with organic, non-AI aesthetic.

    243 GitHub stars~1.9k tokensUpdated 1 mo ago
    MobileAuto-check: notes

More from fayazara/macos-app-skills

  • macOS Auto Update

    fayazara/macos-app-skills

    Add Sparkle auto-update support to a native macOS app. An agent skill from fayazara/macos-app-skills.

    675 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check passed
  • macOS Settings UI

    fayazara/macos-app-skills

    Build a proper macOS settings/preferences window with liquid glass support for macOS 26 (Tahoe).

    675 GitHub stars~2.2k tokensUpdated 4 mo ago
    Auto-check passed
  • macOS Release

    fayazara/macos-app-skills

    Release a native macOS app to GitHub with DMG packaging and Sparkle appcast updates.

    675 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about macOS Patterns

What does macOS Patterns do?

Essential native macOS development patterns that web developers don't know about. macOS Patterns is an agent skill from fayazara/macos-app-skills. Essential native macOS development patterns that web developers don't know about.

When should I use macOS Patterns?

macOS Patterns fits situations like: the user is building a macOS app and needs guidance on native patterns; they ask about menu bar apps; floating panels; keyboard shortcuts.

How do I install macOS Patterns in Claude Code?

Run `npx skills add fayazara/macos-app-skills --skill macos-patterns -a claude-code`. Or copy the skill folder (macos-patterns in fayazara/macos-app-skills) into .claude/skills/macos-patterns in your project. Claude Code loads it when a task matches its description.

How do I install macOS Patterns in Codex?

Run `npx skills add fayazara/macos-app-skills --skill macos-patterns -a codex`. Or copy the skill folder (macos-patterns in fayazara/macos-app-skills) into .agents/skills/macos-patterns in your project. Codex loads it when a task matches its description.

Can I use macOS Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fayazara/macos-app-skills --skill macos-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/macos-patterns, .gemini/skills/macos-patterns, .github/skills/macos-patterns and .opencode/skills/macos-patterns in your project.

What does macOS Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: macOS Patterns is instructions for the agent only.

Does macOS Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is macOS Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does macOS Patterns use?

No licence was found for macOS Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does macOS Patterns use?

About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to macOS Patterns?

Skills that share tags, products or a category with macOS Patterns: Hig Project Context (raintree-technology/hig-doctor, 143 stars), Hig Components Content (raintree-technology/hig-doctor, 143 stars), macOS App Design (vaayne/mori, 303 stars) and Liquid Glass (robinebers/openusage, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains macOS Patterns?

fayazara (a GitHub user) maintains it in fayazara/macos-app-skills, which has 675 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on May 27, 2026.

Source: fayazara/macos-app-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.