Skip to main content
skill CX Codex

macos-patterns — Claude Code skill: install and use

Guides native macOS app work with menu bar UI, windows, focus behaviour and platform-specific APIs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add fayazara/macos-app-skills --skill macos-patterns -a claude-code
Open on GitHub

What macos-patterns does

macos-patterns gives the agent native macOS guidance for application code across SwiftUI and AppKit. It covers MenuBarExtra, NSStatusItem, NSPopover, application activation policy, NSPanel, window levels and Spaces behaviour.

The skill addresses cases where web assumptions produce incorrect macOS code: window ordering is not just z-index, and screen coordinates start at the bottom left. It also covers focus settings, click-through floating panels and screen-capture exclusion with sharingType. If your design starts from a web window model, that is a reason to check it before writing the implementation.

What it helps with

  • build a menu bar app with MenuBarExtra
  • configure NSStatusItem for a custom menu
  • show a floating panel without taking focus
  • toggle Dock visibility for an app
  • keep a window visible over full-screen apps

Example prompts for the agent

  • “Create a macOS menu bar app with a settings window.”
  • “Add a floating macOS panel that does not take focus and lets clicks pass through.”
  • “Explain how to set window levels and show a window across all Spaces on macOS.”

How to install macos-patterns

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/macos-patterns/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/macos-patterns/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about macos-patterns

How do I install macos-patterns in Claude Code?

Run npx skills add fayazara/macos-app-skills --skill macos-patterns -a claude-code, then run npx skills add fayazara/macos-app-skills --skill macos-patterns -a claude-code again. The skill is placed at ~/.claude/skills/macos-patterns/SKILL.md.

What does macos-patterns do?

It gives an agent a reference for native macOS development patterns. The material covers menu bar UI, panels, windows, app activation and selected system APIs.

When should I use NSPanel instead of NSWindow?

NSPanel is suited to auxiliary UI that can remain above other windows without taking focus. The skill uses it for overlays, palettes and indicators.

Similar skills

Everything for Frontend and UI →

From the same set6

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor