macos

macos is a skill for Claude Code, Codex from ndisisnd/cook. It costs 75 tokens per session (1,671 once invoked), scanned A, original, MIT.

A set of development standards for macOS applications, with rules for platform support, app structure, Swift, and security references.

In plain words
What is it for?
Use it when building or reviewing macOS targets, including deployment versions, universal binaries, SwiftUI lifecycle, and related platform decisions.
Why use it?
It gives macOS projects consistent platform requirements while keeping changes to existing applications separate from new work.

Skill for Claude CodeCodex

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

Good fit Use it when building or reviewing macOS targets, including deployment versions, universal binaries, SwiftUI lifecycle, and related platform decisions.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ndisisnd/cook/macos"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/macos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,671 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.00075 $0.01671
Opus 5.5 $0.00030 $0.00668
Sonnet 5.5 $0.00015 $0.00334
Haiku 4.5 $0.00007 $0.00167

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

Security

Grade A, and why

macos 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 19d 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.

standards/macos/SKILL.md · 111 lines

How it starts

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

macOS Standards

Target: macOS 26+ deployment for new apps, built with Xcode 27 and the macOS 27 SDK. Default load: this file only.

Applies to macOS app targets only — never iOS/iPadOS/watchOS/visionOS, even when Info.plist/entitlements globs match; iOS/iPadOS → standards/ios/. Swift language rules → standards/swift/; universal rules → standards/global/; secret policy → global/refs/security.md.

Scope: full force for new targets. In existing code, match conventions; propose migrations (persistence stack, deployment target, architecture slices) as separate tasks.

P0 — Platform Correctness

Platform Baseline (Oct 2026)

  • Build with Xcode 27 / macOS 27 SDK. SDK version ≠ deployment target. App Store Connect has required Xcode 26+ for uploads since 2026-04-28.
  • New apps: deployment target macOS 26 (Liquid Glass APIs, Observations). Go lower (15, or 14 as the @Observable floor) only for a stated user-base reason. Never bump an existing target as a side effect.
  • Architectures: macOS 27 runs only on Apple silicon; macOS 26 is the last release for Intel Macs, and macOS 27 is the last with general Rosetta 2 support. Below a 27 deployment target $(ARCHS_STANDARD) is universal (arm64 + x86_64); at 27+ it is arm64-only — add x86_64 to ARCHS explicitly to stay universal. Verify with lipo -info → refs/distribution.md.
  • Ship a PrivacyInfo.xcprivacy, and require one from every third-party SDK.

App Structure & Lifecycle

  • SwiftUI lifecycle (@main struct App: App); never @NSApplicationMain, hand-written main.swift, or NSApplication.main() for new app code.
  • @NSApplicationDelegateAdaptor only for what SwiftUI can't do; keep it thin. Dock reopen, URL schemes → refs/windows-and-scenes.md.
  • AppKit bridging: SwiftUI-first; wrap only the missing control, never a whole screen; strict concurrency on (AppKit is @MainActor-only). Gaps → refs/architecture-and-state.md.

Sandbox & File Access

  • Sandbox on by default; narrowest entitlements (a missing entitlement means TCC never prompts).
  • User files only via user intent (NSOpenPanel/fileImporter, drag & drop); persist via security-scoped bookmarks, balancing every start/stop.
  • Secrets go in the Keychain — never UserDefaults, plists, or bundled files. Detail → refs/sandbox-and-tcc.md.

Read the full file on GitHub · 111 lines

Files

What ships with it

8 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. 19d ago Changed · -9 lines bb8377435be2
  2. 2mo ago First seen · 120 lines · 75 tokens per session scan A 7ef698d4da55

Subscribe to this mod's changes

macos is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 19d ago), licensed MIT. It adds 75 tokens to every session and 1,671 once invoked, about $0.0003 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-08-31.

Related

macos compared with skills from other repositories

macos next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
macosndisisnd/cookSkill219d agoMITA75Claude Code, Codex
ios-accessibility-validatorgygantskiyMatilyock/ios-developer-agentsSkill3110mo agoMITA0Claude Code
ios-security-auditorgygantskiyMatilyock/ios-developer-agentsSkill3110mo agoMITA0Claude Code
ios-app-store-validatorgygantskiyMatilyock/ios-developer-agentsSkill3110mo agoMITA0Claude Code
kotlin-specialistJeffallan/claude-skillsSkill12kyesterdayMITA86Claude Code
offensive-mobileSnailSploit/Claude-RedSkill11ktodayMITA185Claude Code, Codex
init-xcode-appglebis/claude-skillsSkill413yesterdayMITA88Claude Code, Codex