macos-development

macos-development is a skill for Claude Code, Codex from patrickserrano/lacquer. It costs 154 tokens per session (1,548 once invoked), scanned A, original, MIT.

A guide to the macOS platform APIs used to build apps with AppKit and SwiftUI. It covers macOS-specific behaviour such as multiple windows, menus, focus, sandbox permissions, and screen capture.

In plain words
What is it for?
Use it to build or debug macOS windows, menu bar commands, keyboard shortcuts, AppKit bridges, sandbox entitlements, and screen capture.
Why use it?
It helps explain why code that works on iOS or in Xcode can fail in a shipped macOS app, especially around window state, menu commands, and file access.

Skill for Claude CodeCodex

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

Good fit Use it to build or debug macOS windows, menu bar commands, keyboard shortcuts, AppKit bridges, sandbox entitlements, and screen capture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/patrickserrano/lacquer/macos-development
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 patrickserrano/lacquer --skill macos-development
Clone the repo
git clone --depth 1 https://github.com/patrickserrano/lacquer

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 macos-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrickserrano/lacquer/macos-development/github.svg)](https://agentmods.dev/skills/patrickserrano/lacquer/macos-development)
Your own site
<a href="https://agentmods.dev/skills/patrickserrano/lacquer/macos-development"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/macos-development/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 macos-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickserrano/lacquer/macos-development"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/macos-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,548 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.00154 $0.01548
Opus 5.5 $0.00062 $0.00619
Sonnet 5.5 $0.00031 $0.00310
Haiku 4.5 $0.00015 $0.00155

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

Security

Grade A, and why

macos-development 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 2mo 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.

profiles/ios/skills/macos-development/SKILL.md · 86 lines

How it starts

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

macOS Development

Platform mechanics for macOS apps — windows, menus, sandboxing, AppKit bridging, ScreenCaptureKit, and where SwiftUI on macOS diverges from iOS. This complements narrower macOS skills already in this profile: macos-ci-recipes (CI-only) and release-macos-spm-packaging (SwiftPM scaffolding/build/packaging, no Xcode project). For visual/HIG conventions ("does this look like a real Mac app"), see the third-party mac-assed-mac-app-skill — that skill covers appearance, this one covers the platform APIs underneath it.

Note the name collision with FlowDeck's own "macOS development" guide (resources/macos-development.md in the flowdeck skill): that one is about driving a running macOS app (clicks, keystrokes, accessibility automation — see flowdeck ui mac), not the platform APIs a macOS app is built from. Same name, different subject — for build/run/UI-automation tasks use flowdeck directly rather than this skill.

Agent behavior contract

  1. Identify which of macOS's three structural differences from iOS is in play before proposing a fix: multi-window (state is per-scene, not global), focus-driven (the menu bar routes through the focused window, not a singleton), keyboard-first (every action needs a menu-bar path, not just a toolbar button). Most "this doesn't feel like a real Mac app" bugs trace back to one of these three.
  2. Before recommending file access code, confirm whether the app is sandboxed (App Store) or Developer-ID direct-distributed — sandbox entitlements and security-scoped bookmarks only apply to the former, but debug builds don't sandbox by default either way, so "works in Xcode" proves nothing.
  3. When bridging AppKit and SwiftUI, determine the host/guest direction first (which framework owns the view hierarchy) — the bridging type differs by direction, not just by "which framework's API do I need."
  4. For distribution questions, first determine whether the project has an .xcodeproj/.xcworkspace or is pure SwiftPM — release-macos-spm-packaging already owns the SwiftPM scaffold/build/package/notarize pipeline end to end; only add net-new distribution guidance here (see references/direct-distribution.md) rather than duplicating it.
  5. Prefer this skill's references/ over recalling WWDC session content from memory — API availability and gotchas below are the source of truth.

Read the full file on GitHub · 86 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. 2mo ago First seen · 86 lines · 154 tokens per session scan A f5d1f34f60b5

Subscribe to this mod's changes

macos-development is a skill published in the GitHub repository patrickserrano/lacquer (5 stars, last pushed yesterday), licensed MIT. It adds 154 tokens to every session and 1,548 once invoked, about $0.0006 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-09-03.

Related

macos-development compared with skills from other repositories

macos-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
macos-developmentpatrickserrano/lacquerSkill5yesterdayMITA154Claude Code, Codex
baguettetddworks/baguetteSkill2.4ktodayApache-2.0A116Claude Code
baguette-test-apptddworks/baguetteSkill2.4ktodayApache-2.0A118Claude Code
sweetpadsweetpad-dev/sweetpadSkill1.9ktodayMITA90Claude Code, Codex
flutterericrisco/rsc-harnessSkill6916d agoMITA91Claude Code, Codex
scaffold-projectMarve10s/Better-FullstackSkill830yesterdayMITA80Claude Code
noqa-testingnoqa-ai/noqaSkill1913mo agoMITA47Claude Code, Codex