macos-notch-ui — Claude Code skill for a Mac notch UI
Build a macOS panel that opens from the screen notch. Use it for a recording indicator or another compact status display.
npx skills add fayazara/macos-app-skills --skill macos-notch-ui -a claude-code
npx skills add fayazara/macos-app-skills --skill notch-ui -a claude-codeWhat macos-notch-ui does
This skill outlines a Dynamic Island-style interface for a macOS app. It uses an NSPanel for the window and a SwiftUI NotchShape for a silhouette with inward-curving upper corners. The content can hold a brief label or icon, while its width expands and contracts with a spring animation.
The included reference files are references/NotchWindow.swift and references/NotchShape.swift; the guide also covers screen positioning and the show/hide sequence. Position the panel against the full screen.frame, since visibleFrame leaves out the menu bar and notch area. For displays without a notch, the guide suggests placing a floating panel at the bottom instead, so the notch layout is not used unchanged on every screen.
What it helps with
- show a recording indicator beside the MacBook notch
- build a panel that expands from the screen cutout
- animate the panel opening and closing
- center a window along the top edge of the display
Example prompts for the agent
- Add a macOS panel beside the notch for a recording indicator.
- Create a compact Dynamic Island-style status display on my MacBook.
- Animate the notch panel as it opens and closes.
How to install macos-notch-ui
1Skills CLI (Vercel)
npx skills add fayazara/macos-app-skills --skill macos-notch-ui -a claude-codenpx skills add fayazara/macos-app-skills --skill notch-ui -a claude-code2Manually: put the files in place
~/.claude/skills/notch-ui/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/notch-ui/
1Skills CLI (Vercel)
npx skills add fayazara/macos-app-skills --skill notch-ui -a codex2Manually: put the files in place
.agents/skills/notch-ui/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add fayazara/macos-app-skills --skill notch-ui -a cursor2Manually: put the files in place
.cursor/skills/notch-ui/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install fayazara/macos-app-skills notch-ui2Manually: put the files in place
.github/skills/notch-ui/SKILL.md1Skills CLI (Vercel)
npx skills add fayazara/macos-app-skills --skill notch-ui -a gemini-cli2Platform CLI
gemini skills install https://github.com/fayazara/macos-app-skills --path notch-uiManually: put the files in place
.devin/skills/notch-ui/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add fayazara/macos-app-skills --skill notch-ui -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about macos-notch-ui
How do I install macos-notch-ui in Claude Code?
Run npx skills add fayazara/macos-app-skills --skill macos-notch-ui -a claude-code.
What does macos-notch-ui do?
It guides you through building a macOS panel aligned with the screen notch, shaping it in SwiftUI, and animating its width.
Which screen frame should I use to position the panel?
Use screen.frame rather than screen.visibleFrame; the latter excludes the menu bar and notch area.